[cups-devel] [UNKN] STR #4323: Add raw remote printer with class fails
berend.de.schouwer at gmail.com
berend.de.schouwer at gmail.com
Fri Dec 27 03:29:02 PST 2013
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Update:
If the last current member of the class is a raw printer, this triggers.
I've enabled debugging. I've found that cupsdValidate() gets called with
the class name, and the list of printers that currently form part of that
class, eg.
cupsdValidateDest(uri="ipp://localhost:631/classes/DEMO", dtype=...,
printer=...)
cupsdValidateDest(uri="ipp://localhost:631/printers/ONE", dtype=...,
printer=...)
cupsdValidateDest(uri="ipp://localhost:631/printers/TWO", dtype=...,
printer=...)
when it breaks, it uses the *remote* URI, eg.
cupsdValidateDest(uri="ipp://1.2.3.20:631/printers/PRINTER",
dtype=0x7fff155c9588, printer=0x7fff155c9580)
when it works, it uses the *local* URI, eg.
cupsdValidateDest(uri="ipp://localhost/printers/TWENTYONE",
dtype=0x7fff155c9588, printer=0x7fff155c9580)
Link: https://www.cups.org/str.php?L4323
Version: 1.7-current
More information about the cups-devel
mailing list