aboutsummaryrefslogtreecommitdiff
path: root/lp/stat/lpd
blob: 3bea23e134082e3111821fbc6a3137dfaaba7f72 (plain)
1
2
3
4
5
6
7
8
9
10
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