Em Quarta, 14 de Maio de 2003 14:56, escreveste: > It's sounding like the answer to my original question is NO. > > I don't want to use any tool except command line (like lpadmin in > Solaris, which exists on RH7.3, but doesn't seem to work the same) to > add over 100 printers on any host even once, but unless anyone can tell > me what that is, I guess that's exactly what I'll have to do. Then > export/tar/import/whatever that config to new hosts on build. > > I'm still holding out hope that someone knows how to do this on a > command line (btw, redhat-config-printer-tui --help is useless for this > purpose). Configure one printer on the GUI redhat-config-printer; the do the -Xexport stuff; look at the generated XML file. It's simple enough to hack some script to generate it and feed it to redhat-config-printer-tui -Ximport. > > Thanks. > > Eric Lambert > > > > -----Original Message----- > From: John [mailto:red@xxxxxxxxxxxxxxxxxxxxxxx] > Sent: Tuesday, May 13, 2003 5:50 PM > To: kickstart-list@xxxxxxxxxx > Subject: Re: adding printers in kickstart > > On Tue, 13 May 2003, Lambert, Eric wrote: > > Does someone know the correct command line to use in kickstart (or in > > a running OS for that matter) to use to add an LPD network printer? > > You create the definition using printconf{t,g}ui on an installed system, > then export it using printconf-tui. > > In your kickstart file, you import it with printconf-tui. Read the man > pages for more. > > Don't overlook the possibility of serving up your configuration, once > you have it, with your webserver. You can fetch it on your client with > either lynx or wget. > > > I'm looking for accomplishing the same thing as what happens when I > > run the "printconf-gui" tool and do the following: > > > > Select "New" > > enter a queue name > > select "Unix Printer" (LPD) as the queue type > > enter a print-server name and queue name on the server > > select Postscript Printer as the print driver type > > Finish > > > > Thanks in advance, and please let me know if there is another list I > > can > > Cc: which may have more specific printer expertise. > > > > Eric Lambert > > CIG