Codebase list pnm2ppa / dffeb995-9e9d-4559-b5af-95a00c562c16/main lpd / bweco.if
dffeb995-9e9d-4559-b5af-95a00c562c16/main

Tree @dffeb995-9e9d-4559-b5af-95a00c562c16/main (Download .tar.gz)

bweco.if @dffeb995-9e9d-4559-b5af-95a00c562c16/main

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