CUPS driver program

Michael Sweet mike at easysw.com
Wed May 28 07:29:14 PDT 2008


Dmitry Sharov wrote:
> Hi CUPS dev team,
> 
> Could you please help me to find out how can I correctly report from CUPS driver program a PPD file which supports multiple models?
> 
> According to man cups-driverd, driver program should report each PPD supported one per line in the following format:
> "drivername:ppdname" language "make" "make and model" "1284 device id"
> where "make and model"is the *NickName from the corresponding PPD file.
> 
> I guess I just need to additionally output a line per product supported with "make and model" replaced with corresponding *Product from PPD.
> Is that correct?

Yes.

> If yes, should *Product value be reported as is, i.e. enclosed in parentheses, or should I strip parentheses out?

Strip the parenthesis.

> Is there a requirement for "drivername:ppdname" to be reported only once (to be unique among PPD names reported)?

No, but the drivername:ppdname should be a valid URI constructed with
httpAssembleURI or httpAssembleURIf.

> I also assume that it will be enough to report just 'en' language for globalized PPD files, is that correct too?

We'd actually like you to list all of the supported languages
separated by commas, for example:

     en,fr,es,de,it,jp

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups-devel mailing list