shithub: riscv

ref: 435a0f18d5a5f372b4d5a30953e8d6bfd9cf6d17
dir: /sys/lib/lp/daemon/hp/

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