-
Notifications
You must be signed in to change notification settings - Fork 181
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
How do I set a cups-shared printer as the default printer using lpadmin? #452
Comments
Use the
|
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
@michaelrsweet unfortunately it doesn't work - meaning you can set the temp queue pointing to a shared remote queue:
but printing to it doesn't work:
It happens because we use To sum it up, we don't look on network when using default printer... |
…nPrinting#719) Fixes regression created by OpenPrinting#452 - in case there is no default destination and `cupsGetNamedDest()` is called to get one (by calling it with argument `name` as NULL), the function crashes. It happens because we try to look for the default printer on the network (where we access `data.name`, which is NULL, in callback), but we never found out the printer's name. Original fix by Emilio Cobos Alvarez.
I have an old HP1100 (parallel-connect!) connected to an old laptop that I am using as a printer server. I have the drivers installed on that printer server and when I ssh into the printer server, I can print to that printer perfectly. All is good:
I set cups on that printer server to share the printer, and from my main computer I can see it and print to it perfectly too. All is still good:
On my main computer, I have no default printer:
So I try to add the network-detected printer as the default:
Ok, let's try by specifying its local name (to the print server) along with the name of the print server:
Should I specify a username with sufficient authority?:
How do other people achieve this?
FWIW, both printer server and main computer are running Debian stable with cups version 2.3.3op2-3+deb11u2. (I understand that debian stable has a comparatively old version, but surely this must still be achieveable, no?)
The text was updated successfully, but these errors were encountered: