13 lines
353 B
Plaintext
13 lines
353 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
# enable "set -x" for debug info in /var/log/cups/error_log
|
||
|
#set -x
|
||
|
|
||
|
# set inputfile to where the input comes from
|
||
|
inputfile="-"
|
||
|
[ -n "$6" ] && inputfile="$6"
|
||
|
|
||
|
# output PostScript level 1 (for PostScript level 2 use -dLanguageLevel=2)
|
||
|
gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=pswrite -dLanguageLevel=1 -sOutputFile=- $inputfile
|
||
|
|