AIX Printers moved to anothere AIX system

AIX Printers need to be moved to another system

Guy's

We have two servers old AIX 5.2 and new AIX 6.1

the old server has more than 300 printers installed with different configurations

I'd like to move all the printers from the old server to the new server with fast steps

it's possible to export the printers from the old server and import them to the new server . if yes .. how can we do that ?

I haven't tried doing this procedure on a 6.1 system but it worked great for copying queues from AIX Ver 4.X to 5.X.

  1. Copy the /etc/qconfig file over to new system
  2. Refresh the qconfig file by on new system, "enq -d"
  3. Copy /var/spool/lpd/pio/@local/custom files to new system
  4. Copy /var/spool/lpd/pio/@local/dev files to new system
  5. Copy /var/spool/lpd/pio/@local/ddi files to new system
  6. Copy /etc/hosts file to new system
  7. vi newq.sh on new system and paste in the following
      #!/bin/ksh

      cp /usr/lpp/printers.rte/inst_root/var/spool/lpd/pio/@local/smit/* \
         /var/spool/lpd/pio/@local/smit
         
      cd /var/spool/lpd/pio/@local/custom
      chmod 775 /var/spool/lpd/pio/@local/custom
      for FILE in `ls`
      do
          chmod 664 $FILE
          QNAME=`echo $FILE | cut -d':' -f1`
          DEVICE=`echo $FILE | cut -d':' -f2`
          chvirprt -q $QNAME -d $DEVICE
      done
  1. chmod 700 newq.sh
  2. ./newq.sh
  3. Test
  4. rm newq.sh