Originally posted by: Imad77
Hi,
I tried to migrate a server, I installed AIX on a new server and I
want to configure the printer queues. I copied all of files from the
old server where the printer queues are working fine. I followed these
steps:
1. copy the /etc/qconfig
2. Copy the following files:
/var/spool/lpd/pio/@local/custom/*
/var/spool/lpd/pio/@local/dev/*
/var/spool/lpd/pio/@local/ddi/*
3. change the permissions on the copied files to 664
chmod 664 filename
chgrp printq filename
4. cycle the printer subsystem
stopsrc -s qdaemon
startsrc -s qdaemon
When I check the services, I get this result:
#lssrc -s qdaemon
Subsystem Group PID Status
qdaemon spooler 494536 active
#lpstat
Queue Dev Status
-----
trav1 hp@lp UNKNOWN
WHen I check in this directory "ls /var/spool/lpd/stat/", I got this
result:
"s.trav1."
It should be "s.trav1.hp@lptrav", the device name is missing.
Here is the part of the configuration in /etc/qconfig:
trav1:
device = hp@lptrav
hp@lptrav:
file = /var/spool/lpd/pio/@local/dev/
hp@lptrav#hpJetDirect#9100
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piojetd lptrav 9100
I can ping lptrav printer. I have this issue for all queues.
How can I resolve this issue to be able to associate the queue name to
the device name and how can I get the READY status instead UNKNOWN
status in lpstat command?
Thanks,
Haydar