07-18-2008 07:31 AM
My question: How can a copy the definitions for all the remote printers we have defined for the application? I'm not averse to just re-creating them on the new server, BUT we do not know the IP numbers.. (they were added LONG ago).
So, is there a file somewhere that i can just copy to new machine or at least shows the ip numbers for the remote printers so i can recreate them manually?
I did find the /etc/lp/interface scripts but don't know if that helps or not.
Solved! Go to Solution.
07-18-2008 12:58 PM
tar up /var/sam/lp
ftp it to new server
untar it to /var/sam/lp
/usr/sam/lbin/lpmgr -R -v -xsavedir=/var/sam/lp
If you use hostnames for network based printers then make sure you /etc/hosts file is up to date.
07-19-2008 10:45 AM
Are these hpnp or hpnpl printer definitions?
Last year I had a similiar issue when moving from hpnp (old JetAdmin) to Jet Direct, 2000 plus printers. The process in the previous will work, but I found that if you tarred the /var/sam/lp files from the old host and untarred on the new host, changed permissions, and then did /opt/hpnpl/transferqueue ( see man pages for examples), all printers, remote and ip worked just fine.
Hope this helps,
07-21-2008 08:35 AM
Shheesh, i tried moving printers and copying and all kinds of stuff.
Thank you both so much for pointing me in the right direction. Got all my printers "migrated", and users will be happy :)