Operating System - HP-UX
1855771 Members
2368 Online
104103 Solutions
New Discussion

Re: Reinstalling HP-UX and quick install of the 'old' printers.

 
SOLVED
Go to solution
Michael Hemmingsen
Occasional Advisor

Reinstalling HP-UX and quick install of the 'old' printers.

Hi:

Does anyone have a good procedure for exporting all the printers on a HP-UX B10.20 machine (also running HP Jetadmin) to e.g. a tape?

The idear is to do a cold reinstall of the machine with HP-UX 11i, and then somehow import all the printer settings from the tape. Installing all the printers manually would be quiet time consuming!

Your help is appreciated.
Why take your-/myself so seriously?
6 REPLIES 6
Ravi_8
Honored Contributor

Re: Reinstalling HP-UX and quick install of the 'old' printers.

Hi,
when the printer is installed kernel has been build to drive the printer driver.(remember system will shutdown after installing the printer to build kernel)
when you shift from 10.2 to 11i, you can't extract only printer parameters from 10.2 backup. You need to re-install the printer
never give up
Ian Dennison_1
Honored Contributor

Re: Reinstalling HP-UX and quick install of the 'old' printers.

Check out the 'addqueue' command. If you can get a listing of the printers, and are happy that the device files for JetAdmin or lp on the new server are consistent with the previous server, you can script the recreation of the printers.

Share and enjoy! Ian
Building a dumber user
Ian Dennison_1
Honored Contributor

Re: Reinstalling HP-UX and quick install of the 'old' printers.

have you checked out the 'addqueue' command. if you are happy that the printer definitions and drivers are the same on both servers (within levels and enhancements), you can script the creation of the printers.

Share and enjoy! Ian
Building a dumber user
Michael Hemmingsen
Occasional Advisor

Re: Reinstalling HP-UX and quick install of the 'old' printers.

I can't find any 'addqueue' command anywhere! Is it supposed to be standard HP-UX?
Why take your-/myself so seriously?
Solution

Re: Reinstalling HP-UX and quick install of the 'old' printers.

This thread posted earlier today might provide some help...

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf32f7b8d1de3d5118ff40090279cd0f9,00.html

If it works between two nodes in a cluster, it could also work in your case - would have to be tested though...

HTH

Duncan


I am an HPE Employee
Accept or Kudo
Roger Baptiste
Honored Contributor

Re: Reinstalling HP-UX and quick install of the 'old' printers.

hi,

SAM has a option to save/restore LP spooler.
You can use the save option to save your spooler configuration and then restore it after reinstall.


You can find addqueue in /opt/hpnp/bin

HTH
raj
Take it easy.