[cups] Raw queues (Was: CUPS 2.2.7)

Michael Sweet msweet at apple.com
Tue Mar 27 11:49:59 PDT 2018


Alex,

> On Mar 27, 2018, at 2:40 PM, Alex Korobkin <korobkin+cups at gmail.com> wrote:
> 
> I have a few questions about raw that were deprecated in this release (
> https://github.com/apple/cups/issues/5269).
> 
> 1. Will it affect Samba printing? Samba submits raw data to non-raw queues.

No, that usage (and all raw printing) continue to work.

> My environment prints thousands of labels per day to raw queues of label
> printers for precisely the reason listed in the bug: to hardcode proper ZPL
> parameters into the label and avoid any misconfiguration issues on the
> printer or printserver. So,
> 
> 2. if I revert the commits linked to the bug, will it restore raw queues
> functionality, or are there any other commits not listed in the bug?

RAW PRINTING CONTINUES TO WORK.  Deprecation is not the same as removal - lots of stuff in CUPS is deprecated but hasn't (yet) been removed.  I will post an article about this shortly to forestall any panic, but basically we deprecate something years before we remove it.  In the case of raw printing, it will continue to work through CUPS 2.3.x.

All that the commits do is add a warning message when you add or modify a queue to use the "raw driver".  The raw queue is still created and still works.

> 3. Developers want to be sure that the label they are printing is printed
> the same way on the slightly different label printers. What is the
> recommended way to handle it? Hardcode any possible PPD default into the
> job arguments?

Yes, if you depend on a particular behavior/print intent, you have to explicitly ask for it since defaults can be changed.  As for ensuring the same output is produced on different printers, that isn't something that CUPS can guarantee.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer



More information about the cups mailing list