[cups-devel] Removing deprecated PPD API with new CUPS API in Cups Filter Programming

Sahil Arora sahilarora.535 at gmail.com
Thu Jun 15 14:02:53 PDT 2017


Hi there,
In cups filter programming, the currently implemented filters use the
"Deprecated" CUPS PPD API to get the PPD file of the current printer using
the environment variable "PPD" which is set by the printing system.
However, in the new CUPS API, the PPD API has been dropped, and so are
functions such as `cupsMarkOptions` which mark options parsed from the
command line. Also, there are some special keywords in the printer PPD
which hold printer capabilities (like max size of a band). What do you
recommend in that case? Should the old PPD API in the filter be removed? If
yes, then how, keeping in mind all these keywords, and functions such as
`cupsMarkOptions`? Or is it safe to go on with the old PPD API?

Thanks.
-- 
Sahil Arora
3rd year B.Tech Undergrad | Indian Institute of Technology Mandi
Web: http://sahilarora535.me
LinkedIn: sahilarora535 <https://www.linkedin.com/in/sahilarora535/>
Ph: +91-8130506047 <+91%2081305%2006047>


More information about the cups-devel mailing list