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

Re: automating printer configuration



> I have a current working kickstart (always room for improvement) for
> redhat 7.3 that requires me to manually configure the printer queues
> after the machine has finished installing.
> 
> I would like to automate this process but my current attempts are
> failing.
> What I have tried:
> 
> set up a queue called testprinter using printtool on master machine and
> test with lpr -P testprinter testfile works
> 
> copy the information in /etc/printcap to newmachine:/etc/printcap.local
> use rsync (-Carve ssh) to create and copy /var/spool/lpr to
> newmachine:/var/spool/lpr 
> 
[snip]
> 
> Once I get it right I can learn what directories to tar up and add it to
> my %post install.
> 
> All thoughts, ideas and suggestions welcome.

On your working machine use 

printconf-tui --Xexport > somefile

and then in %post use

printconf-tui --Ximport < somefile

Regards,

Chris







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