Precedence of OpPolicy in Class and Printer

Vince McIntyre vincent.mcintyre at gmail.com
Wed May 30 22:21:52 PDT 2012


Hi,

I would like to define some classes and apply different OpPolicy settings to them.

I notice that both <Class> and <Printer> can take an OpPolicy directive but I can't figure out from the documentation which would take precedence.
The usual usage of these printers is people print to the specific printer queue
rather than a class queue.

If the <Class> has an OpPolicy 'foo' but the <Printer> does not have an explicit OpPolicy directive, what does the policy end up being - 'foo' or 'default'? I'm expecting the Printer inherits from the Class.

What happens if a printer (again no OpPolicy) is in _two_ classes?
Mm. Maybe there's no inheritance?

The subtext here is that I would like to be able to set/modify OpPolicy for a heap of printers at once instead of each individually. But I'm still expecting users to print to individual printers.

version: cups 1.4.4 (debian 6/squeeze)

kind regards




More information about the cups mailing list