tcppost 288 B

123456
  1. #!/bin/rc
  2. # daemon/tcppost
  3. generic 'aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ <$LPDEST/$FILE(1) |
  4. aux/tcpostio -b$SPEED $OUTDEV >[2]$PRINTLOG' \
  5. '{cat <{echo -d$LPDEST -pnoproc -M$SCHEDLINE(1) -u$SCHEDLINE(2)} \
  6. $LPDEST/$FILE(1); sleep 5} | lpsend.rc $DEST_HOST' ''