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