plan9fox/sys/lib/lp/stat/lpd

12 lines
211 B
Text
Raw Normal View History

#!/bin/rc
if (! ~ $DEBUG '') flag x +
echo transmission log:
if (test -r $LPLIB/log/$LPDEST^.st) {
tail -3 $LPLIB/log/$LPDEST^.st
echo
}
echo printer queue:
/$cputype/bin/aux/lpdsend -q -d$OUTDEV $DEST_HOST