[cups] PPD being deprecated and Resolution attribute

Pascal Obry pascal at obry.net
Mon Jul 7 08:45:43 PDT 2014


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




More information about the cups mailing list