plan9fox/sys/lib/lp/daemon/lps

3 lines
259 B
Plaintext
Raw Normal View History

#!/bin/rc
generic '/lib/postscript/bin/$cputype/lpif -T -P$LPDEST -N$LPDEST -h$SCHEDLINE(1) -n$SCHEDLINE(2) < $LPDEST/$FILE(1) >[2]/dev/null' '{cat <{echo -d$LPDEST -pnoproc -M$SCHEDLINE(1) -u$SCHEDLINE(2)} $LPDEST/$FILE(1);sleep 5}| lpsend.rc $DEST_HOST' ''