plan9fox/sys/lib/lp/daemon/dkcat

3 lines
210 B
Bash
Executable file

#!/bin/rc
generic '/lib/postscript/bin/$cputype/dkcat -s$PRINTLOG $OUTDEV $LPDEST/$FILE(1)' '{cat <{echo -d$LPDEST -pnoproc -M$SCHEDLINE(1) -u$SCHEDLINE(2)} $LPDEST/$FILE(1);sleep 5} | lpsend.rc $DEST_HOST' ''