Re: pnm-files

Stephan Skrodzki (skrodzki@stevekist.rhein-neckar.de)
Mon, 31 May 1999 12:08:44 +0200

> 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