duplex printing problem (ps file)
ekkard gerlach
jack at aiai.de
Mon May 31 10:15:27 PDT 2004
you have a real postscript-printer?
Then try to stick top the top to each ps-file:
insert_simplex_duplex_cmd()
# add the simplex/duplex printing command and copy stdin to stdout
{
[ $DUPLEX = NO ] && DUPLEX_VAL=false
[ $DUPLEX = YES ] && DUPLEX_VAL=true
[ $DUPLEX_BORDER = short ] && TUMBLE_VAL=true
[ $DUPLEX_BORDER = long ] && TUMBLE_VAL=false
echo "%!PS-Adobe-3.0"
echo "<<"
echo "/Duplex $DUPLEX_VAL"
echo "/Tumble $TUMBLE_VAL"
echo ">> setpagedevice"
cat -
}
Ekkard
More information about the cups
mailing list