-
Due to my ignorance in regards of where to ask, I wrongly asked this as an "issue" in CUPS. At office I deal with both fairly recent and ancient printers. The later ones can only work with old PPDs; this is, by being added with lpadmin -i or -P option. Aside of this, for cancelling failed print jobs, there are (or were?) the commands "lprm" and "cancel". In both cases, what is or was the difference? Which one to use when? And by quoting from the answer in the issue: Thanks beforehand for your attention. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Hi,
-i was for System V interface scripts (scripts which were run at the end of job) and its usage with PPD was a side-effect. -P is for providing PPD files only. This is described in
Each of them are based on a different Unix version -
Your quote is missing a important part from the original issue - Brian speaks there about -i and -P, which are going to be removed in the future.
To put it simple, printer application is new generation of driver - another project/package separated from CUPS, which gives user support for old printers (retrofitting printer applications) or enhanced support for current printers, if common standards (IPP Everywhere, Airprint, Mopria...) do not support all capabilities of the printer (native printer applications). The printer application is capable to communicate with CUPS via standardized protocol and can report itself via mDNS, so CUPS picks it up automatically without any installation.
|
Beta Was this translation helpful? Give feedback.
-
Thanks sir for your explanation. I searched documentation about "Printer Application", and all coincided that, in the end, it's a sandbox (snap) application actually provided by the manufacturers themselves through their respective websites. But what if manufacturer stopped supporting some models for good? For example, for a Canon IR-ADV 4245 (NOT the 4245i !), I couldn't find any "snap" package last time I checked the website... Thanks again. |
Beta Was this translation helpful? Give feedback.
-
So for the aforementioned 4245, I found PostScript snapshot at OpenPrinting website. Called the technician and after inspecting the printer's settings, found that seemingly this particular model does not have {Ghost,Post}Script at all, only UFR II and PCL 5e/6, and that the one actually having support was the 'i' variant, the 4245i (which also has the IPP support). So, 2 questions: ---What do I normally do with these printer cases? ---When working with other old printers with working Printer Application snap, how do I actually use it? |
Beta Was this translation helpful? Give feedback.
-
Perhaps I can offer this Debian wiki page as a gentle (and hopefully accurate) introduction to the topics raised here. @bfg01 What OS are you using? It is important to appreciate that, as Zdenek has said, almost all free classic PPDs and drivers are available in the ps-printer-app, hplip-printer-app, gutenprint-printer-app and ghostscript-printer-app Printer Applications and Debian will presumably deliver them to users in the usual .deb format. For non-free classic drivers there is the Legacy Printer Application. It cannot be snapped as it requires access to things outside the snap package. pappl-retrofit would require compilation to experience it. I am rubbish at compiling, so haven't tested it. Whether vendors such as Brother and Canon will contribute to the snap store remains to be seen. It's up to them; we have all bases covered. |
Beta Was this translation helpful? Give feedback.
-
@debiantriage More than complete answer aside that of the maintainer. Thanks very much sirs. I think I finally learned about the whole topic about upcoming CUPS 3. |
Beta Was this translation helpful? Give feedback.
Hi,
-i was for System V interface scripts (scripts which were run at the end of job) and its usage with PPD was a side-effect. -P is for providing PPD files only. This is described in
man lpadmin
- to sum it up, both are meant for a different file types.