home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / pnm2ppa / examples / lpd / bweco.if < prev    next >
Encoding:
Text File  |  2000-10-28  |  413 b   |  13 lines

  1. #!/bin/sh  
  2. # ink economy mode black and white printing using pbm BitMap format.
  3. # uncomment or change  these options as necessary
  4. #PAPER=letter
  5. #PAPER=legal
  6. #PAPER=a4
  7. #PAPER=a3
  8. #PPAOPTS="-B 2"
  9. PNM2PPA="/usr/local/bin/pnm2ppa"
  10. #------------------dont change below this line----------------------
  11. gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
  12. $PNM2PPA --bw --eco $PPAOPTS -i - -o -
  13.