|
Whole document tree 12.8. Remote Printer Using Socket APIIf the spool queue destination is a remote printer supporting the Socket API, then you can have LPRng open a connection directly to the printer. These include the older Apple printers with TCP/IP support and the HP JetDirect supported printers.
While this is the simplest printcap, it is also the most dangerous as there is nothing to prevent a malformed job from being sent to the printer. The next printcap example is much more robust:
# Simplest
remote
:lp=10.24.2.3%9100
:of=/usr/local/libexec/filters/ifhp
:filter=/usr/local/libexec/filters/ifhp
|