Bug 88089
Summary: | Text-mode configurator doesn't allow for cups browsing, sharing, etc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Krider <david> |
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | orion, redhat, ted, tmus |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-06 10:04:50 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
David Krider
2003-04-05 14:59:03 UTC
(Remote administration part split off to bug #88090.) If you hand edit /etc/alchemist/namespace/printconf.adl to put the share option in, printconf-tui doesn't remove them, and printconf-backend will still use them to generate cupsd.conf correctly. See post on shrike-list for format. For that matter you can use 'printconf-tui --Ximport' too.. *** Bug 115930 has been marked as a duplicate of this bug. *** Should this functionality not be put into the -tui tool ? for reasons why this might be a good idea, see Bug 115930 The printconf tui tool still does not seem to allow one to configure printer shares like the gui tool does. This is true as of system-config-printer-0.6.119-1. *** Bug 156952 has been marked as a duplicate of this bug. *** I have a headless server that automatically configures USB printers when they are attached. However, the generated printer configurations do not share the printers. It would be nice if a global configuration could activate sharing. The following command: printconf --Xadd-local --model="XXX" --device="/dev/usb/lp0" --make="YYY" --name="ZZZ" world work as it currently does except that "Listen x.x.x.x" and "Allow From y.y.y.y." would be included in the cupsd.conf that is generated. I can see that system-config-printer's backend.py writes out the printer configuration. Could it first read, for example, /etc/sysconfig/printconf, and look for a "share" flag? Or perhaps printconf_tui.py could do something similar? See comment #3 -- you can import the XML configuration directly. First, set up the queue as you would like them to appear using the graphical tool; then save the configuration using 'printconf-tui --Xexport'. Later, you can restore the configuration using 'printconf-tui --Ximport'. In comment #8, I am talking about being able to plug a printer into a printer server and have it work and share without any user intervention. Setting up the printer by hand and exporting / importing the configuration does not meet my criteria. In the next-generation printer administration tool, this will be possible with a global setting I think. In /etc/cups/cupsd.conf, having a '<Location /printers>' will affect all newly created queues formed by connecting a printer. That's exactly what I am looking for. Thanks, Tim. Can anyone confirm or deny that this "global setting" feature is in system-config-printer-0.7.19? If not, is anyone aware of plans for it? This is now controlled by the CUPS 'DefaultShared' configuration directive in /etc/cups/cupsd.conf. The default is for new printers to be shared. |