Printing, tuning cups.conf
Dear List, I wanted to make use cups in our network with BrowseProtocol=slp in /etc/cups/cups.conf on the clients. I made a small printing section in my script which looks as follows and worked fine to those host which i can broadcast directly with ipp. <printer> <cups_installation config:type="symbol">server</cups_installation> <default></default> <printcap config:type="list"/> <server_hostname></server_hostname> <spooler>cups</spooler> </printer> Now I can imagine of three ways of accomplishing the wished a) Let the printer section as before and modify /etc/cups/cups.conf via <files> afterwards b) Let the printer section as before and modify /etc/cups/cups.conf via <scripts> afterwards c) Let the printer section as before and modify /etc/cups/cups.conf via <sysconfig> afterwards d) Do my own printer-setup with <files> and/or <scripts> Maybe there are more possibilities or even I missed some trick with makes it possible to have all configuration in <printer>. But for a)-c) is the order of execution relevant, i.e. whether <printer> gets done before <files>. Can anybody say something about it? I'm not really used to DTDs now. Greetings, David
Hi! Dne pondělí 07 únor 2005 16:54 David Werner napsal(a):
Dear List,
I wanted to make use cups in our network with BrowseProtocol=slp in /etc/cups/cups.conf on the clients. I made a small printing section in my script which looks as follows and worked fine to those host which i can broadcast directly with ipp.
<printer> <cups_installation config:type="symbol">server</cups_installation> <default></default> <printcap config:type="list"/> <server_hostname></server_hostname> <spooler>cups</spooler> </printer>
Now I can imagine of three ways of accomplishing the wished a) Let the printer section as before and modify /etc/cups/cups.conf via <files> afterwards b) Let the printer section as before and modify /etc/cups/cups.conf via <scripts> afterwards c) Let the printer section as before and modify /etc/cups/cups.conf via <sysconfig> afterwards
Maybe I missed something, but cupsd.conf is independent on /etc/sysconfig...
d) Do my own printer-setup with <files> and/or <scripts>
Maybe there are more possibilities or even I missed some trick with makes it possible to have all configuration in <printer>.
No, at the moment, configuring CUPS server options isn't possible for AutoYaST at all. Even if this part of configuration wasn't disabled for AutoYaST, it is not possible to set the 'BrowseProtocol' option via YaST at all. You must find another solution (for SLES9 incl. SP1).
But for a)-c) is the order of execution relevant, i.e. whether <printer> gets done before <files>. Can anybody say something about it? I'm not really used to DTDs now.
Sorry for not helping :-( -- Regards, Jiri Srain YaST2 developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: jsrain@suse.cz Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz
On Mon, Feb 07, 2005 at 05:08:30PM +0100, Jiri Srain wrote:
Hi!
No, at the moment, configuring CUPS server options isn't possible for AutoYaST at all.
What I do now is just basic setup for printing with autoyast (the one the configuration-generator gives me). Then in the script section I modify the setup (cupsd.conf). It seems that at least <scripts> came later then <printers> :). Thank you, David
Even if this part of configuration wasn't disabled for AutoYaST, it is not possible to set the 'BrowseProtocol' option via YaST at all.
You must find another solution (for SLES9 incl. SP1).
But for a)-c) is the order of execution relevant, i.e. whether <printer> gets done before <files>. Can anybody say something about it? I'm not really used to DTDs now.
Sorry for not helping :-(
-- Regards,
Jiri Srain YaST2 developer --------------------------------------------------------------------- SuSE CR, s.r.o. e-mail: jsrain@suse.cz Drahobejlova 27 tel: +420 2 9654 2373 190 00 Praha 9 fax: +420 2 9654 2374 Czech Republic http://www.suse.cz
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
David Werner
-
Jiri Srain