Operating System - HP-UX
1855192 Members
4115 Online
104109 Solutions
New Discussion

Re: save & restoring printer configuration

 
Jeff Hagstrom
Regular Advisor

save & restoring printer configuration

I have 2 hpk460/9000 machines and want the printers that are one box to be on the other box. In sam there is a save and restore, can I use that function(where does it save to?) or is there a better way of moving all the printers from one box to the other?
3 REPLIES 3
Elmar P. Kolkman
Honored Contributor

Re: save & restoring printer configuration

If you use the default printer configuration from HP, you could copy /etc/lp and all its subdirectories from one server to the next.
Make sure that the printer packages (hpnp, jetadmin or anything else) is the same level or at least installed on both servers before doing that.
Every problem has at least one solution. Only some solutions are harder to find.
Cheryl Griffin
Honored Contributor

Re: save & restoring printer configuration

You can do so with SAM. Under Printer & Plotters, save the spooler configuration. Use tar to save the contents of /var/sam/lp. Copy the tar file to the other system and untar the directory. Go into SAM and retore the spooler configuration.
"Downtime is a Crime."
Geoff Wild
Honored Contributor

Re: save & restoring printer configuration

You can also back up the spooler from the command line:

echo Backing up the spooler configuration to /var/sam/lp/lp.new....please wait...; /usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ ; cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.