shithub: riscv

ref: 0c2a74d5309f03f87e24b827bacee0ed58d37202
dir: /sys/lib/lp/daemon/lpd-tek/

View raw version
#!/bin/rc
# The destination is set to PS for the Tektronix printer, no other printer cares
generic 'aux/download -f -H/sys/lib/postscript/font -mfontmap -ptekphaser350 < $LPDEST/$FILE(1) | aux/lpdsend -d$LPDEST -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' ''