- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How do I copy 2000 printers from one server to ano...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:54 PM
02-27-2004 01:54 PM
an HPUX 10.20 system for an old ugly
application. We need to setup all the same
printers on another similarly configured
system. lpmgr is limited to 1024 printers.
How can I get all these printers setup on
the other system without setting them up
one at a time? PLEASE HELP!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 01:58 PM
02-27-2004 01:58 PM
Re: How do I copy 2000 printers from one server to another
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=182001
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2004 04:39 PM
02-27-2004 04:39 PM
SolutionNext, on the new box make sure that your hostnames are setup (DNS,NIS,NIS+, and/or /etc/hosts).
Now on the new box, let's backup your current configuration just so we won't ever need it.
lpshut (The scheduler may not be running ut can't hurt.)
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /somedir/newlp.cpio
Now on the old box, do an lpstat -t. Note any hung/old jobs and issue cancels for them. There is no point in transferring old print jobs to the new box.
Next, issue an lpshut to stop the scheduler.
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio
Next using rcp,ftp,tar, or whatever cp /var/tmp/lp.cpio to the new box.
Now back on the new box:
cd /
cpio -icvdum < /var/tmp/lp.cpio
Now we are going to convert the interface files on any of your old JetAdmin network printers.
/opt/hpnpl/bin/transferqueue local
and respond "all" when prompted. This will take a little while.
Now do an lpsched and everything including the default printer should be good to go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2004 01:13 PM
02-28-2004 01:13 PM
Re: How do I copy 2000 printers from one server to another
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
Tar up the lp.new dir - ftp it to other server, then:
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
You can also just do it in SAM....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2004 12:30 PM
02-29-2004 12:30 PM
Re: How do I copy 2000 printers from one server to another
Geoff Wild's reply only works if there are fewer than 1024 printers. I tried that one already.
I used A. Clay Stevenson's reply and with a little extra, it worked! I could not find my old HP10d615.SD JetAdmin software and HP tech support said JetAdmin was no longer supported so they didn't have it either. So I also had to copy over the JetAdmin software from my old system to my new system using:
cd /
find ./opt/hpnp -print | cpio -ocv > /somedir/jetadmin.cpio
The copy of the printers appear to be working on my new system.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 02:04 AM
03-01-2004 02:04 AM
Re: How do I copy 2000 printers from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 03:24 AM
03-01-2004 03:24 AM
Re: How do I copy 2000 printers from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 03:42 AM
03-01-2004 03:42 AM
Re: How do I copy 2000 printers from one server to another
The only feature lost using JetDirect is the xjdm (The Motif printer monitor) is no longer available. Bear in mind, that it's only a matter of time before a new printer is purchased that your present software can't cope with because no suitable interface exists in JetAdmin. Because you did not install JetAdmin via swinstall, you will not be able to remove it via swremove.