]> git.ipfire.org Git - thirdparty/cups.git/commit
libcups: Don't overwrite permanent queue with network during discovery
authorZdenek Dohnal <zdohnal@redhat.com>
Thu, 19 Dec 2024 11:55:53 +0000 (12:55 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Thu, 19 Dec 2024 11:55:53 +0000 (12:55 +0100)
commit36006d92509d93de807b4b6298d96165181b33a9
tree4096deae43a4de9b8598c4acb54003bda627d4d1
parentc76b026e54a3f95d56d20c36d42c8bb4d4e23029
libcups: Don't overwrite permanent queue with network during discovery

Currently, if there is a permanent queue of the same name as network
discovered printer, the network one is written in `lpstat -l -e` output.
This is confusing to users and maintainers, because if print job is
sent, it comes to the permanent one instead of listed network/temporary,
which can have a different connection or PPD.

This behavior happens when user creates manually a queue with the same
name as the temporary one, or when the permanent queue is created by
cups-browsed. In both cases user realizes he prints into a different
queue once he enables debugging and see printer-uri in logs.
CHANGES.md
cups/dest.c