plan9fox/sys/lib/lp/stat/lpd

12 lines
211 B
Bash
Executable file

#!/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