[cups.development] How to read all groups mentioned in PPD file?
Michael R Sweet
msweet at apple.com
Tue May 26 09:02:15 PDT 2009
Mangesh Kute wrote:
> Hi,
>
> How to read all groups mentioned in PPD file?
> I am trying to create user interface showing all configurable options
> in PPD file.
> ppdOpenFIle reads PPD file in memory. But it only reads first group.
> How to read subsequent groups in PPD file ?
All groups are read. The ppd_file_t structure contains "groups" and
"num_groups" members which contain the options in each group.
Sub-groups are *not* currently supported due to abuse by certain
vendors (where there was one option per sub-group...)
--
______________________________________________________________________
Michael R Sweet Senior Printing System Engineer
More information about the cups
mailing list