[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
automating printer configuration
- From: Scott Melnyk <scott sbc su se>
- To: kickstart-list redhat com
- Subject: automating printer configuration
- Date: 13 Jan 2003 14:36:59 +0100
Thanks in advance for all help.
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
ssh to new machine
check permissions match those on original machine
restart lpd - it uses /etc/printcap.local to generate a new
/etc/printcap
test with lpr -P testprinter testfile
nothing comes out
lpq -P testprinter
shows the file removed right after being sent:
Printer: testprinter newmachine
Queue: no printable jobs in queue
Status: job 'cfA556newmachine' removed at 14:18:53.596
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.
Sincerely,
Scott
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]