Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy printer definitions from 4.2 to 5.2

Status
Not open for further replies.

bernie01

MIS
Mar 18, 2003
10
0
0
AU
Hi all,
is there a documented procedure to migrate (copy) print queues defined on one system to another?
1. Target system is AIX 5.2.0 ML01
2. Source system is AIX 4.2.1.0
3. Of many printers defined we only need about ten.

At them moment I have advised the customer that they will need to gather info about these ten printers and we will define them from scratch. He is not thrilled, as the printers are scattered around a large steel mill.
Regards, Bernie.
 
hi

you can try the following :-

Note :- Make a backup of the 5.2 and 4.3 system of the following files
before continuing :-

# /var/spool/lpd/pio/@local/custom
# /var/spool/lpd/pio/@local/dev
# /var/spool/lpd/pio/@local/ddi
# /etc/qconfig
# /etc/hosts if there are lots of network printers


# make sure you don't have any print jobs queued for any printer on AIX 5.2

stop lpd on AIX 5.2
stopsrc -s lpd AIX 5.2

On the 4.3 system
( if you only have 10 printers you want copying over)
then copy the files from the following directories to the
remote directories on AIX 5.2

files are of format QNAME:DEVICE


# /var/spool/lpd/pio/@local/custom =defines specific paramters for printers
# /var/spool/lpd/pio/@local/dev =printer pseudo files
# /var/spool/lpd/pio/@local/ddi = virtual printer definitions

Also edit hosts files if network printers with ip addresses
on AIX 5.2 server

You will also need the qconfig entries from AIX 4.3 of the printers you want creating on AIX 5.2 , in AIX 5.2 qconfig


Once all files are copied/amended to AIX 5.2


for each printer you want to add listed in

# /var/spool/lpd/pio/@local/custom

run

/usr/lib/lpd/pio/etc/piodigest QNAME:DEVICE
print1:mad:device


Then start lpd

startsrc -s lpd


you may need to refresh or start qdaemon

then try lpstat see if queues are listed
go via smit spooler , check printer configs and try prints

HTH


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top