Moving JetDirect Print Queues Between Solaris Hosts
NOTE: THIS DOESN'T SEEM TO WORKEventually you'll be replacing your Sun superserver with a new, better, faster superserver. Odds are you have a whack of JetDirect Print Queues set up on the old server and will want to move them to the new server.
HP-JetDirect comes with a script
/opt/hpnp/bin/transferqueues which can be used in this case.
On the source host:
- cd /opt/lp/interfaces
- tar -cvf /tmp/queues.tar *
On the destination host:
- Install the JetDirect software if it isn't already installed and you are not running Solaris 9.
- Start lp if it isn't running:
- Copy the queues.tar file you created above to /tmp:
# scp source:/tmp/queues.tar /tmp
- Run transferqueues
- Check that the queues got created properly, and test them as appropriate.
Notes:
- Even though Solaris 9 has JetDirect included in it, it does not include transferqueues. However, you can copy it from a host which does have it, as there are no dependancies on /opt/hpnp.
- According to the web, newer versions of transferqueues than I have here can be manipulated into creating the sourcefile /tmp/queues.tar for you. Read your documentation, ususally /opt/hpnp/TRANSFER.UNX
- I assume (but have no solid documentational basis supporting) that what goes for Solaris 9 will also go for Solaris 10 ie that JetDirect will be included in the OS install.