Sign in
plan9port
/
plan9
/
9e52ea8a29db42f37188fd8fa35d641724c3d015
/
.
/
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