> Well, specifying 'lp' instead of 'rm' does make it run filters, but the job
p is not sent to the printer, even when I use the port@host format from
> the man page. As soon as I set 'rm', filters are no longer executed.

It's all documented in /usr/local/share/doc/pkg-readmes/cups-filters-*

Extract:

lpd(8): network printer printcap(5) example
-------------------------------------------
rp|samsung|Samsung-ML-2850D:\
        :[email protected]:\
        :if=/path/to/script.sh:\
        :sd=/var/spool/output:\
        :lf=/var/log/lpd-errs:\
        :sh:
(where 1.2.3.4 is the printer IP address and 9100 the printer stream port)

foomatic-rip(1) does *not* speak LPD (port 515).
If the printer does not support raw printing over port 9100, it must be
setup locally on a print server (see above for an example using USB)
then accessed over LPD by the clients (there is no need to setup any
print filter on the clients since it will run on the print server).

-- 
Antoine

Reply via email to