Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUPS should not create temporary queues if there is already a permanet queue for the printer #5546

Closed
tillkamppeter opened this issue Mar 22, 2019 · 1 comment
Assignees
Labels
wontfix This will not be worked on

Comments

@tillkamppeter
Copy link

If there is a printer in the network which does driverless IPP printing (or a remote CUPS queue) CUPS creates a temporary print queue when one tries to access the printer (the printers listed by lpstat -e and not by lpstat -v).
This also happens if for the printer there is already a queue set up manually, with ipp, dnssd, socket, ... backend. In this case the temporary queue could confuse the user.
If CUPS discovers an IPP printer, before listing it internally as a candidate for a temporary queue, it could determine its IP, host name, and IPP service name, and check these against the URIs of the existing permanent queues and skip it if the printer is already served with one of the permanent queues.

@michaelrsweet
Copy link
Collaborator

If we see a printer already configured with the same device URI, then we use the permanent queue.

For any other usage, it is impossible to reliably determine whether a printer is a duplicate.

@michaelrsweet michaelrsweet self-assigned this Mar 22, 2019
@michaelrsweet michaelrsweet added the wontfix This will not be worked on label Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants