Bug 103224
Summary: | local printer must be the default | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Bob T. <rdtennent> |
Component: | cups | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | aleksey, john |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.6.83-1 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-11-18 12:40:54 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Bob T.
2003-08-27 21:37:42 UTC
Yes, this is a CUPS limitation. There is no mechanism for either a) setting a system's default printer to be a remote queue name, or b) making a system's default printer override local defaults when browsed Perhaps I did not completely understand the question, but I believe I have successfully configured a remote (browsed) printer as default. It took a lot of experimentation and it may not work for you and may not continue to work for me. The easiest way is to run gnome-print-manager as root and select the desired (remote browsed) printer and then under the "Printer" menu select "Set as Default". This must be done as root and then affects all users on that computer. As near as I can tell what this does is alter the file /etc/cups/lpoptions and adds a line like Default browsed_queue where browsed_queue is the name of the cups browsed printer. If you re-run gnome-print-manager and set loc_printer as the default the effect on this file will be to change Default browsed_queue Dest loc_printer <whatever> to Default loc_printer <whatever> Aha. That's worth knowing. Thanks. "I believe I have successfully configured a remote (browsed) printer as default." But is there a *local* printer as well? My complaint was that I couldn't set a networked printer as the default if there was *also* a local printer. > But is there a *local* printer as well? My complaint was that I couldn't set a
> networked printer as the default if there was *also* a local printer.
Yes, this works when there are both local and browsed printers. I have not
tested it extensively, but I just tried it and it worked fine. You need to be
careful that no PRINTER environment variable is set since that will override
everything.
BTW if modifying /etc/cups/lpoptions and setting "Default" is indeed the correct and intended way to notify cups of the default printer, then there is a bug in lpadmin as "lpadmin -d print_queue" does NOT do this. I think this should be fixed in 0.6.83-1 in the Fedora 'development' tree. I have not checked it in a recent distro, but in FC3, with both local and remote printers: 1) system-config-printer is happy to let me mark a remote printer as a default (and on subsequent invocations it remembers that I did it), but this does not seem to have any effect 2) lpadmin -d foo does not have any effect either! I had to edit /etc/cups/lpoptions manually. |