[cups.development] To obtain list for Make/Model boxes ?
mike at easysw.com
Thu Aug 25 04:28:21 PDT 2005
Markus.Grunwald at pruftechnik.com wrote:
> I have to write a gui frontend for creating a new cups printer. It seems
> to be the easiest way to use the lpadmin program to create the printer,
> but I have one problem:
> Where can I get the lists that the cups "add printer" cgi presents to the
> user (Make and Model) ? Do I have to parse ppd files or is there an easier
> way to obtain that info ?
Use the CUPS_GET_PPDS request - see the system/lpinfo.c source for
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups