OpenPrinting / libcups

OpenPrinting CUPS Library Sources
https://openprinting.github.io/cups/cups3.html
Apache License 2.0
37 stars 18 forks source link

Converting old printer driver to IPP Everywhere? #89

Closed plvlnisse closed 2 months ago

plvlnisse commented 2 months ago

Discussed in https://github.com/OpenPrinting/libcups/discussions/88

Originally posted by **plvlnisse** September 19, 2024 Hi, I have a Brother HL-4150CDN that I intend to use for many more years (touch wood) as it has at least 90000 pages worth of lifetime left :smile: I have access to software from the manufacturer (openly available) that clearly shows how the current filter/PPD based interaction is handled. So I guess this is a perfect little project to implement a IPP/Everywhere-ish interface using ippeveprinter and I intend to do so and share. I can not see any licensing issues (so far at least) wit this approach and chances that the manufacturer will do this are slim, I think. If anyone here has pointers to documentation on how this can be made, preferably in a way that is easily incorporated into distributions of Cups for users and package maintainers, it would be much appreciated. I will of course RTFM my self and continue to search the interweb, but if there are lessons to learn and I can skip their trial-and-error phase I don't see that as cheating. Thanks in advance!
michaelrsweet commented 2 months ago

So generally the best advice is to develop a printer application using PAPPL. But Till Kamppeter has done good things with the pappl-retrofit printer application, which will run the existing driver as-is. A "native" printer application will provide the best capabilities (and you have the opportunity to report more printer status/configuration info if supported by the printer) but if you are happy with the current functionality the retrofit approach is quick and easy.