This commit is contained in:
rsc 2006-09-17 20:49:33 +00:00
parent 999a81d3ac
commit f3435ec58b
2 changed files with 38 additions and 0 deletions

11
lp/stat/lpd Executable file
View file

@ -0,0 +1,11 @@
#!/usr/local/plan9/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:
lpdsend -q -d$OUTDEV $DEST_HOST