LPRng Reference Manual: 24 Sep 2004 (For LPRng-3.8.28) | ||
---|---|---|
Prev | Chapter 11. Printer Communication and Protocols | Next |
The netatalk package comes with the pap program that can be used to transfer jobs using the AppleTalk protocol. A printcap entry for a network printer looks like the following:
atalk: :lp=| -$ /usr/local/atalk/bin/pap -e -p "npbname" :sd=/var/spool/lpd/atalk :ifhp=model=ps,status@ :filter=/usr/local/libexec/filters/ifhp
The -$ suppress the addition of extra parameters to the pap command line. The pap program must be SETUID root and executable only by root or group daemon. This can be done by using the following script: