Codebase list pnm2ppa / e78cc952-7500-4472-91ea-8d3d48eb2fed/main lpd / bweco.if
e78cc952-7500-4472-91ea-8d3d48eb2fed/main

Tree @e78cc952-7500-4472-91ea-8d3d48eb2fed/main (Download .tar.gz)

bweco.if @e78cc952-7500-4472-91ea-8d3d48eb2fed/mainraw · history · blame

#!/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 -