[cups] PPD being deprecated and Resolution attribute

Helge Blischke HelgeBlischke at web.de
Mon Jul 7 08:59:01 PDT 2014


Am 07.07.2014 um 17:45 schrieb Pascal Obry:

>
> Hello!
>
> I was using the Resolution attribute from PPD:
>
>   ppd_file_t *ppd = ppdOpenFile(PPDFile);
>   ppd_option_t *opt = ppdFindOption(ppd, "Resolution");
>
> And was indeed able to list supported resolutions for the printer.
>
> Since PPD API is deprecated I have been looking for a replacement but
> can't find one.
>
> Any idea?
>
> Thanks,
>
> --  
>  Pascal Obry /  Magny Les Hameaux (78)
>
>  The best way to travel is by means of imagination
>
>  http://v2p.fr.eu.org
>  http://www.obry.net
>
>  gpg --keyserver keys.gnupg.net --recv-key F949BD3B
>
>

Look at the ipptool manpage and into the ipp-1.1-test and ipp- 
everywhere.test.
But I think you safely may use the PPD API until a sufficiently large  
number of printers
supports ipp everywhere.

Helge




More information about the cups mailing list