Re: adding printers in kickstart

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

 



Eric -

We are in a network consisting of Sun and Linux machines.  When I first
started
installing Linux, I found that I could copy the /etc/printers.conf file
into
the kickstart file and use cat to place it into the /etc/printcap.local
file
on the new linux machine:
cat >> /etc/printcap.local <<EOF
contents of file goes here
EOF


Even though RedHat changed their printer system, this still works for
me.

- Mark

"Lambert, Eric" wrote:
> 
> Thanks for these suggestions, but we have close to 100 printers and I'm
> working to avoid the manual addition of all of them to any system, even
> once.  If this is the ONLY way, I'll give in, but there must be a
> command line out there that the GUI uses on the back end (I hope).
> 
> So, if anyone has a command line method to do what I've detailed below,
> I'd love to hear it.  FYI, this is RH7.3
> 
> Eric Lambert
> 

> -----Original Message-----
> From: Mehmet Soysal [mailto:soysal@xxxxxxxxxx]
> Sent: Tuesday, May 13, 2003 1:06 PM
> To: kickstart-list@xxxxxxxxxx
> Subject: Re: adding printers in kickstart
> 
> 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?
> >
> > 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
> >
> 
> hi,
> you can use "redhat-config-printer-tui". First you configure all your
> printers on a installed computer.
> Then you export you current setting "redhat-config-printer-tui --Xexport
> 
>  > filename.xml".
> Put the "filename.xml" somewhere you can access during the Installation
> for example :
> wget -c http://your.server/filename.xml
> 
> and import the settings:
> 
> "redhat-config-printer-tui --Ximport < filename.xml"
> 
> Mfg
> M.SOYSAL
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
> --------------------------------------------------------------------------------------------------------------------------
> 
> CONFIDENTIALITY AND SECURITY NOTICE
> 
> This e-mail contains information that may be confidential and proprietary. It is to be read and used solely by the intended recipient(s). Citadel and its affiliates retain all proprietary rights they may have in the information. If you are not an intended recipient, please notify us immediately either by reply e-mail or by telephone at 312-696-2100 and delete this e-mail (including any attachments hereto) immediately without reading, disseminating, distributing or copying. We cannot give any assurances that this e-mail and any attachments are free of viruses and other harmful code. Citadel reserves the right to monitor, intercept and block all communications involving its computer systems.
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list




[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux