Sign in
plan9port
/
plan9
/
1d2c3c3945a229f896640b615b84f3d9a78e8b5a
/
.
/
lp
/
stat
/
lpd
blob: 3bea23e134082e3111821fbc6a3137dfaaba7f72 [
file
] [
log
] [
blame
]
#!/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