- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Transfer Print Queue Entries
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
10-09-2006 06:36 AM
10-09-2006 06:36 AM
Transfer Print Queue Entries
Old Server: N4000 HP/UX 11.11
New Server: rp4440 HP/UX 11i
Unfortunately some of the oldest entries were made using JetAdmin and the TCP/IP address - with the name changed from the address to a proper name during the process. Now I need to find the address the queue was created with. The printers were not added into DNS or QIP. I cannot do a ping or nslookup on the name to obtain the address.
Question-1: Is there a file that keeps the original configuration as print queues are created - that would have the TCP/IP addresses the queue was created with?
Question-2: What files need to be transferred to duplicate the full print queue from the old server to the new one?
Question-3: What files need to be transferred to duplicate a single print queue from the old server to the new one?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:46 AM
10-09-2006 06:46 AM
Re: Transfer Print Queue Entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 06:50 AM
10-09-2006 06:50 AM
Re: Transfer Print Queue Entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 07:59 AM
10-09-2006 07:59 AM
Re: Transfer Print Queue Entries
Question-2: What files need to be transferred to duplicate the full print queue from the old server to the new one?
Question-3: What files need to be transferred to duplicate a single print queue from the old server to the new one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 08:30 AM
10-09-2006 08:30 AM
Re: Transfer Print Queue Entries
1) Install JetDirect (NOT JetAdmin) software on the new box.
2) Make DNS, NIS, and/or hosts file entries on the new box so that printer hostnames can be resolved.
3) On the old box, do an lpstat and look for any old or hung printjobs and cancel them.
4) lpshut
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio
5) Transfer using rcp, ftp, ... /var/tmp/lp.cpio from the old box to the new.
6) On the new box:
lpshut
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio.safe (just in case)
cpio -icvdum < /var/tmp/lp.cpio
7) Now edit your /var/spool/lp/interface/myprinter files to fix any bogus "PERIPH=xx.xx.xx.xx" entries possibly changing IP addresses to hostnames while you are at it.
8) "/opt/hpnpl/bin/transferqueue local"
and answer "all" when prompted. This will convert any existing JetAdmin interface files to use JetDirect.
9) lpsched
All should be well.
It's not possible to transfer a single printer merely by copying files. Yopu have to run addqueue or lpadmin commands to accomplish this task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2006 08:51 AM
10-09-2006 08:51 AM
Re: Transfer Print Queue Entries
SAM does not show the TCP/IP addresses the individual queues were setup with.