[cups-devel] Removing deprecated PPD API with new CUPS API in Cups Filter Programming
Sahil Arora <[email protected]> Thu, 15 Jun 2017 21:02:53 +0000
| Newsgroups | gmane.comp.printing.cups.devel |
|---|---|
| Message-ID | <CA+3yCNLfEU7eupkCah3NgDbRnvc+C+muXOd1Js-NhbvJz58Ukw@mail.gmail.com> |
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>