Operating System - HP-UX
1850718 Members
3307 Online
104055 Solutions
New Discussion

Re: Can I move 10.2 printers to 11.0?

 
Dan Rosen
Frequent Advisor

Can I move 10.2 printers to 11.0?

Hi everyone,

I had to move accounts from a 10.2 server to a 11.0 server. The servers were identical except for the O/S. I wanted to do the same with printers, but I seem to be stuck.

I followed the other excellent threads about how to migrate a printer configuration between machines - that all seems to work just fine. I can see the new printers in SAM, and in the HP Jetadmin utility.

But, If I send something to print, it just hangs in the queue, and if I try to use Jetadmin to administer one of the printers, that hangs as well.

Is it possible to move the lp files from a 10.2 machine to an 11.0, or should I start from scratch?

TIA
4 REPLIES 4
Tommy Brown
Respected Contributor

Re: Can I move 10.2 printers to 11.0?

Dan, can you ping the printers?? I migrated from 10.20, but it was more than 30 minutes ago, and I cant remember if I used the old jetadmin transferqueue or SAM to do it..
Tommy
I may be slow, but I get there !
A. Clay Stephenson
Acclaimed Contributor

Re: Can I move 10.2 printers to 11.0?

The transfer should work BUT you should not be using the old, obsolete Jetadmin software. I would do this:

On your 10.20 box, do an lpstat -t and cancel any old, hung jobs. There's no since moving them. Next lpshut.

cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio.

Now rcp or ftp your /var/tmp/lp.cpio to the new box.

One the new box:

lpshut
Now let's make a backup of your existing printers on the 11.X box.


cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio.save

Next, use swremove to remove the Jetadmin software on your 11.x box.

Next, download and swinstall the newer Jetdirect software from: http://h20180.www2.hp.com/apps/Lookup?h_query=jet+direct+printer+installer&h_tool=software&h_lang=en

Do another lpshut in case the swinstall start lpsched --- although I don't think it does.

Next make sure that your hostname resolution for the printers is working --- please tell me you didn't use IP addresses in your interace files -- although they will continue to work.

Next execute "/opt/hpnp/bin/transferqueue local" and answer "all". This will convert your Detadmin inerface files to use the newer Jetdirect utilities.

lpsched

Now everything, including default printer, should be as it was.

(You now use the "hppi" command rather than "jetadmin" to administer Network printers).
If it ain't broke, I can fix that.
Dan Rosen
Frequent Advisor

Re: Can I move 10.2 printers to 11.0?

Wow, I don't know what I did to deserve a response from the great A Clay Stephenson, but it was worth it!!!

Thanks, everything is up and running now.
Dan Rosen
Frequent Advisor

Re: Can I move 10.2 printers to 11.0?

closed