shithub: riscv

ref: d68f4adeba6ef0db7590cf7c4e1518f4d4bdedff
dir: /sys/lib/lp/daemon/lpddaemon/

View raw version
#!/bin/rc
# The destination is set to PS for the Tektronix printer, no other printer cares
generic '/sys/lib/postscript/bin/$cputype/download -f -H/sys/lib/postscript/font -mfontmap -plw+ < $LPDEST/$FILE(1) | /$cputype/bin/aux/lpdsend -dPS -H$LPMACHID -P$LPUSERID  $OUTDEV >[2] $PRINTLOG' '{cat <{echo -d$LPDEST -pnoproc -M$SCHEDLINE(1) -u$SCHEDLINE(2)} $LPDEST/$FILE(1);sleep 5} | lpsend.rc $DEST_HOST' ''