Re: pnm-files

Joachim Kunze (joachim.kunze@metronet.de)
Mon, 21 Jun 1999 14:52:40 +0100

Hi Stephan,

thanks a lot for your help. Your script works fine. I think I write a
little tcl/tk-script for changing colour/grey, resolution and the
scanner-modul.

ciao,

Joachim

Stephan Skrodzki schrieb:
>
> > does anybody kow a command-line converter, which converts .pnm-files to
> > .ps-files. I want to write a copy - tool, which takes the pnm-files
> > pipes them though the converter i'm searching for through gs and to my
> > printer.
>
> stevekist:~ > more /usr/local/bin/copyA4
> #!/bin/sh
> scanimage -d mustek:/dev/scanner --mode lineart -t 10 -y 280 -l 5 -x 205
> --resol
> ution 300 | pnmtops -dpi 300 -scale 0.25 -width 8.26 -height 11.73 | lpr
>
> works fine for me... pnmtops is part of the netpbm package.
>
> Regards
> Steve
>
> --------------------------------------------------------------------
> | Stephan Skrodzki Phone: +49-621-1565435 "Nobody expects the |
> | Mannheim, Germany Fax: +49-621-1565083 Spanish Inquisition!" |
> | Mobile: +49-173-2003491 |
> --------------------------------------------------------------------
>
> --
> Source code, list archive, and docs: http://www.mostang.com/sane/
> To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com