[cups.bugs] [LOW] STR #4176: adding more than one printer to a class doesn't yield expected results

Jack jax at nwmt.us
Thu Aug 30 06:32:26 PDT 2012


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Michael Sweet "I think the scheduler is thinking that you have a remote
printer and won't let you add it to a static class (but that assumption is
no longer valid...)"

Operating System: FreeBSD 9
So, I marked this as "Applies to all machines and O/Ss" because this
doesn't seem to be OS specific. However, i've NOT tested this beyone
FreeBSD 9 (Release and Stable).

Problem:
 Using CUPS 1.5.2, I'm having a bit of a tough time getting classes to
work as expected.

I'm using lpadmin:
lpadmin -p fc1_hitsharp -m raw -o printer-error-policy=retry-job -o
printer-is-shared=false -v ipp://172.29.107.71/printers/HITSHARP -E -L
"HIT Main" -D "Sharp MX4111N" -c HITSHARP

now, what I'm expecting to happen here is that the printer is built, and
added to the class HITSHARP.  This works as expected.

when I attempt to build another printer and added it to the class as such:
lpadmin -p fc2_hitsharp -m raw -o printer-error-policy=retry-job -o
printer-is-shared=false -v ipp://172.29.107.81/printers/HITSHARP -E -L
"HIT Main" -D "Sharp MX4111N" -c HITSHARP

I get an error message
lpadmin: Nested classes are not allowed

This is unexpected - I was thinking that there would be 2 printers in the
class.

Link: http://www.cups.org/str.php?L4176
Version: 1.5.2





More information about the cups-devel mailing list