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/dest.c: Look for default printer on network as well #455

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

zdohnal
Copy link
Member

@zdohnal zdohnal commented Aug 15, 2022

The current code of cupsGetNamedDest() doesn't look up on network for
a default printer. The result is a temporary queue cannot be set as a
default printer.

Fixes #452

The current code of `cupsGetNamedDest()` doesn't look up on network for
a default printer. The result is a temporary queue cannot be set as a
default printer.

Fixes OpenPrinting#452
@zdohnal zdohnal requested review from michaelrsweet and tillkamppeter and removed request for michaelrsweet August 15, 2022 14:08
@zdohnal
Copy link
Member Author

zdohnal commented Aug 15, 2022

@tillkamppeter I wouldn't want to disturb Mike more than it is necessary (my guess he's on vacation), would you mind reviewing the PR?

@tillkamppeter tillkamppeter merged commit bf629d8 into OpenPrinting:master Aug 15, 2022
@tillkamppeter
Copy link
Member

For me it fully makes sense so that virtual/temporary queues can be used like physical/permanent ones, especially if the latter will not exist any more in CUPS 3.x. Also for the user experience and transparency it is important to have the same behavior. #452 is really a bug.
Michael is actually on vacation and I have no return date.

@michaelrsweet
Copy link
Member

@zdonal @tillkamppeter I am not on vacation now, but I will be in PWG meetings the next three days.

@zdohnal
Copy link
Member Author

zdohnal commented Aug 16, 2022

@tillkamppeter OT: permanent queues will be in CUPS Sharing server module, thus libcups will have to support them as well AFAIK.

Thank you for the review!

@michaelrsweet I took your new avatar and 'busy' in nickname as you are out of the office and enjoying some free time, so I didn't want to disturb :)

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

Successfully merging this pull request may close these issues.

How do I set a cups-shared printer as the default printer using lpadmin?
3 participants