plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

lpd (209B)


      1 #!/usr/local/plan9/bin/rc
      2 
      3 if (! ~ $DEBUG '') flag x +
      4 
      5 echo transmission log:
      6 if (test -r $LPLIB/log/$LPDEST^.st) {
      7 	tail -3 $LPLIB/log/$LPDEST^.st
      8 	echo
      9 }
     10 echo printer queue:
     11 lpdsend -q -d$OUTDEV $DEST_HOST