Re: Tool zum Fotokopieren
Sebastian Niehaus <killedbythoughts@mindcrime.net> writes:
[...]
> Sowas wie
>
> | scanimage -$DEVICE --format=tiff > lpr
,----
| niehaus@narcotic:~$ cat /usr/local/bin/fotokopie
| #!/bin/sh
| #
|
| # Macht eine "Fotokopie" per Scanner und Drucker
|
|
| PAPERSIZE="a4"
| PRINTER="LaserS"
| RESOLUTION=600
| SCANDEVICE="hp:/dev/sg2"
|
| /usr/bin/scanimage -d $SCANDEVICE -l 0 -t 0 -x 210 -y 290 --resolution $RESOLUTION | /usr/bin/pnmtops | /usr/bin/psresize -p $PAPERSIZE | /usr/bin/lpr -P$PRINTER
|
`----
Reply to: