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