[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: setting up print queues in RH 7.2 kickstart "post" section?



On Tue, 2002-01-08 at 22:02, Michael Hannon wrote:
> Greetings.  I would like to be able to define print queues as part of a RH 
> 7.2 kickstart installation.  I've never been able to find a command-line 
> utility to do that.  I.e., it would be nice to have a utility that does 
> something like:
> 
> printconf-non-gui --type JetDirect --remote some-networked-printer ...
> 
> that would do all of the necessary bookkeeping, etc., as printconf-gui does 
> when used interactively.  I'm looking for something in the spirit of the 
> useradd/usermod/userdel utilities, which are all distinct improvements over 
> their GUI-based successors, so far as I can tell.
> 
> I THOUGHT I had solved this problem at one time, probably in Redhat 6.2, by 
> just downloading a printcap file and then creating the appropriate 
> directories, as:

It's somewhat possible. You need to set you your printers on a running
system, then export the config file with:

# printconf-tui --Xexport > printers.txt

Then use shell trickery to make the ks.cfg  write this file (or get it
from a server if networking is up during the install) then during post
install or on first boot run the command:

# printconf-tui --Ximport  < printers.txt


 
-- 
Chris Kloiber
Enterprise Support
Red Hat, Inc.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]