shithub: riscv

ref: 4526b1a5dd7f9ecb5b0b472cc4bd6a41b05effcc
dir: /sys/lib/lp/stat/lpd/

View raw version
#!/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