From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
When using redhat-config-printer-tui, there are no options for allowing the
printers to be printed-to over the network or browsed, as in the -gui version.
This ability should be added for people who don't use X on their print servers.
Also, it would be nice to put in the ability -- in both versions -- to allow for
remote administration (by adding a "Listen" directive to open it up to more than
just the localhost).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Run redhat-config-printer-tui, or redhat-config-printer in the absence of X.
(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
*** 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"
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
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.