Re: move printer configuration (one more time!) (161 Views)
Reply
Trusted Contributor
donna hofmeister
Posts: 191
Registered: ‎08-29-2008
Message 1 of 9 (161 Views)
Accepted Solution

move printer configuration (one more time!)

hi all!

i've been asked to move the printer configuration from one system to another.

i've duly consulted the itrc and have found threads like this:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1264087200322+28353475&...

i think i've been thru every iteration of how to do this. regardless of the method, i am consistently getting error messages like this on the destination machine (for each printer):

chmod: can't access /etc/lp/interface/model.orig/*
cp: cannot create /var/spool/Xerox/xpxx/printer.foo.com/.49xxprinter: No such file or directory
/var/spool/Xerox/xpxx/printer.foo.com/.49xxprinter: No such file or directory

(just be clear i *am* root!)

to add a bit more to the story....the source system is 11.11, the destination box is 11.23. is that the real problem? if so, is there a way to do this?

thanks!
Acclaimed Contributor
Dennis Handly
Posts: 25,094
Registered: ‎03-06-2006
Message 2 of 9 (161 Views)

Re: move printer configuration (one more time!)

>regardless of the method

It would help if you showed which method you used. Using SAM directly and tar? Or lpmgr?

>the source system is 11.11, the destination box is 11.23.

I thought the problem was going to 11.31?
Trusted Contributor
donna hofmeister
Posts: 191
Registered: ‎08-29-2008
Message 3 of 9 (161 Views)

Re: move printer configuration (one more time!)

i did the lpmgr...tar...ftp...lpmgr dance.
i did a variation on the above four-step that involved using cpio.
finally i did the sam....ftp...sam waltz.

doesn't matter -- in every case i got the same errors.
Acclaimed Contributor
Dennis Handly
Posts: 25,094
Registered: ‎03-06-2006
Message 4 of 9 (161 Views)

Re: move printer configuration (one more time!)

>in every case I got the same errors.

I had no problems going from 11.11 to 11.23.
But I only have remote printers, no network ones, like it seems you have.

What type of printers and how many do you have?
Trusted Contributor
donna hofmeister
Posts: 191
Registered: ‎08-29-2008
Message 5 of 9 (161 Views)

Re: move printer configuration (one more time!)

xerox -- but they're configured via hppi (JetDirect).
Respected Contributor
Robert Salter
Posts: 235
Registered: ‎09-30-1998
Message 6 of 9 (161 Views)

Re: move printer configuration (one more time!)

New dance; transferqueue

To copy the Jet Direct printer queues from one server to another.

Remove any â oldâ unused queues from /etc/lp/interface.

Change directory to /etc/lp/interface and tar up the queues, the tarfile name must be â queues.tarâ
cd /etc/lp/interface
tar /tmp/queues.tar *

Copy the tar file to the other server.
scp /tmp/queues.tar srvrX:/tmp/

On srvrX run â transferqueueâ . This server must have Jet Direct installed on it.
/opt/hpnpl/bin/transferqueue


Try it... you like it!

Beers,

robert
Time to smoke and joke
Respected Contributor
Robert Salter
Posts: 235
Registered: ‎09-30-1998
Message 7 of 9 (161 Views)

Re: move printer configuration (one more time!)

That was ugly wasn't it?

Cleaned it up

To copy the Jet Direct printer queues from one server to another.

Remove any "old" unused queues from /etc/lp/interface.

Change directory to /etc/lp/interface and tar up the queues, the tarfile name must be "queues.tar"
cd /etc/lp/interface
tar /tmp/queues.tar *

Copy the tar file to the other server.
scp /tmp/queues.tar srvrX:/tmp/

On srvrX run "transferqueue". This server must have Jet Direct installed on it.
/opt/hpnpl/bin/transferqueue
Time to smoke and joke
Trusted Contributor
donna hofmeister
Posts: 191
Registered: ‎08-29-2008
Message 8 of 9 (161 Views)

Re: move printer configuration (one more time!)

thank you - d
Trusted Contributor
donna hofmeister
Posts: 191
Registered: ‎08-29-2008
Message 9 of 9 (161 Views)

Re: move printer configuration (one more time!)

...and thanks to dennis too!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.