OT: CUPS and Print Drivers
Bill Campbell
bill at celestial.com
Fri Apr 25 11:48:07 PDT 2008
On Fri, Apr 25, 2008, Doug Luurs wrote:
>This is a tad off topic .. No being real familiar with CUPS ..
>
>On SCO, we have a printer called FAX1, and it calls a script down in
>/usr/spool/lp/admins/lp/interfaces and
>"PRINTS" the report to the fax machine.
>
>Does anyone know if CUPS has a similar feature, that I can write a script
>that it calls ?
Recent versions of CUPS support the standard SYSV printer
commands including lpadmin, enable, disable, etc.
Before you can use direct devices (e.g. /dev/lp0), you will have
to add a line to /etc/cups/cupsd.conf, and restart CUPS.
FileDevice Yes
Something like this will create a printer using a standard SYSV
printer interface script under /etc/cups/interfaces (this
directory has wrong owner on some versions of SuSE).
lpadmin -pfaxprn -v /dev/ttyS0 -i path_to_interface
You will then have to run ``accept'' and ``enable'' (I think
there's an option to lpadmin that will do this automatically but
I never remember to look it up).
Bill
--
INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
Anyone who thinks Microsoft never does anything truly innovative isn't
paying attention to the part of the company that pushes the state of
its art: Microsoft's legal department.
--Ed Foster, InfoWorld Gripe Line columnist
More information about the Filepro-list
mailing list