- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving printers
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
08-08-2007 04:38 AM
08-08-2007 04:38 AM
I am migrating printers from my K-380 under 11iv1 to my rp-3410 running 11iv2. I copied everything under /etc/lp and /var/spool/lp but now nothing works. How do I fix this?
Thanks,
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 04:49 AM
08-08-2007 04:49 AM
Re: Moving printers
Printer management:
http://docs.hp.com/en/438861-003/438861-003.pdf
This might be a job for sam.
If the printer worked under 11.11 it should work under 11.23.
I think running through configuration is the way to go here.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 04:52 AM
08-08-2007 04:52 AM
Solution1) Get your hostname resolution working on the new box (/etc/hosts, NIS, NIS+, DNS, LDAP) as it does on the old so that printer hostnames can be resolved.
2) Install the JetDirect software on the new box.
3) On the old box:
/usr/sam/lpbin/lpmgr -S -xsavedir=/var/sam/lp
cd /var/sam
chown -R lp:lp lp # this prevent problems later
find lp -print | cpio -ocv > /var/tmp/samlp.cpio
4) Copy /var/tmp/samlp.cpio from the old box to the new using rcp, sftp, ftp, ...
5) On the new box:
cd /
lpshut
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /var/tmp/lp.cpio #just in case
6) cd /var/sp
cpio -icvdum < /var/tmp/samlp.cpio
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/p
7) lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 06:20 AM
08-08-2007 06:20 AM
Re: Moving printers
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/ ; cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
tar -cvf lp.tar /var/sam/lp
scp that to remote server
on remote, lpshut
tar xvf lp.tar
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
lpsched -v
Note: this will work for Jet Direct printers - remote's are hit and miss and usually need to be re-created.
Make sure you have HPPI on your rp3410.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2007 10:16 AM
08-08-2007 10:16 AM
Re: Moving printers
1) Get your hostname resolution working on the new box (/etc/hosts, NIS, NIS+, DNS, LDAP) as it does on the old so that printer hostnames can be resolved.
2) Install the JetDirect software on the new box.
3) On the old box:
lpshut
/usr/sam/lpbin/lpmgr -S -xsavedir=/var/sam/lp
cd /var/sam
chown -R lp:lp lp # this prevents problems later when we restore
find lp -print | cpio -ocv > /var/tmp/samlp.cpio
lpsched
4) Copy /var/tmp/samlp.cpio from the old box to the new using rcp, sftp, ftp, ...
5) On the new box:
cd /
lpshut
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /var/tmp/lp.cpio # just in case
6) cd /var/sam
cpio -icvdum < /var/tmp/samlp.cpio
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
7) lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 07:53 AM
08-09-2007 07:53 AM
Re: Moving printers
The first time I did this following A. Clay's steps it didn't work. All of the model scripts in /vap/spool/lp/interface were missing. I checked all of my steps and I missed these.
cd /var/sam
chown -R lp:lp lp
I ran all the steps again and this time it worked! All of my jetdirect and remote printers are working.
Thank you,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 08:13 AM
08-09-2007 08:13 AM