ref: 21622cb6b9d0d169f1b87c20d5efe129e6e4e85d
dir: /sys/lib/lp/spooler/pcclone/
#!/bin/rc
if (! ~ $DEBUG '') flag x +
if (~ $OUTDEV -) OUTDEV=/fd/1
if (~ $#* 0) {
@{bind -b $LPLIB/process /bin; $LPPROC} | aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ > $OUTDEV
if (! ~ $LPDEST stdout) echo -n `{ascii -t 4} > $OUTDEV
}
if not {
for (i in $*) {
@{bind -b $LPLIB/process /bin; $LPPROC} < $i | aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ > $OUTDEV
if (! ~ $LPDEST stdout) echo -n `{ascii -t 4} > $OUTDEV
}
}
exit ''