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

cupsEnumDests(): Add printer-is-temporary attribute to the destination options #5028

Closed
tillkamppeter opened this issue Jun 10, 2017 · 1 comment
Assignees

Comments

@tillkamppeter
Copy link

I want to perform an operation only on the permanent queues (the ones manually set up) of the local CUPS daemon, not on temporary queues (the ones CUPS auto-creates when one accesses a driverless remote printer advertised by DNS-SD).
I can call cupsEnumDests() with flags so that only queues of the local CUPS daemon and not remote printers without local CUPS queues are shown), but the queues of the local CUPS daemon which I get listed then are both the permanent queues and temporary queues. Problem is that one cannot distinguish which of these are permanent and which are temporary. There is also no way to call cupsEnumDests() in a way that on gets only permanent or only temporary queues.
Adding a printer-is-temporary attribute to the options of the destination records would easily solve this problem.
See also the thread "cupsEnumDests(): Suppress listing temporary CUPS queues or distinguish temporary queues in resulting queue list" on the cups-devel mailing list.

@michaelrsweet
Copy link
Collaborator

[master 12b798a] Report the value of the printer-is-temporary attribute (Issue #5028)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants