Codebase list pnm2ppa / 0aec2baf-db07-477e-bf51-2ea2d3a73af4/main lpd / bw.if
0aec2baf-db07-477e-bf51-2ea2d3a73af4/main

Tree @0aec2baf-db07-477e-bf51-2ea2d3a73af4/main (Download .tar.gz)

bw.if @0aec2baf-db07-477e-bf51-2ea2d3a73af4/mainraw · history · blame

#!/bin/sh  
# high quality 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 $PPAOPTS -i - -o -