- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copy network printer definition
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-12-2005 07:58 AM
10-12-2005 07:58 AM
I need to copy a printer definition from host A to B.
A and B belong to the same WAN but are not on the same LAN.
From B I am able to ping the ip-address.
Host A is an HP-UX 11 PA-RISC.
Host B is an HP-UX 11i ia64 Itanium.
The printer is an SATO M80400 printer.
At least that was what the local IT responsable told me. It is connect through JetDirect.
How can I copy the definition ?
Regards,
Franky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 09:48 AM
10-12-2005 09:48 AM
Re: copy network printer definition
You are right. Unfortunately, when adding the printer in SAM ( network printer ), I get prompted for an HP model and I have not the clue what I should choose. It is not an HP printer but a 'thermo printer' for printing barcodes on sticky labels.
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 10:04 AM
10-12-2005 10:04 AM
Re: copy network printer definition
Check what the driver is on sysA. I believe this is /etc/lp/interface/model.orig
Add the printer via JetDirect as normal. Choose the 'dumb' printer/plotter for the model. Copy 2 files from sysA to sysB. /etc/lp/interface/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2005 10:20 AM
10-12-2005 10:20 AM
Re: copy network printer definition
I followed your last suggestions.
I am remote and the site is closed, so I can only test in the morning.
Regards,
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 04:01 AM
10-13-2005 04:01 AM
Re: copy network printer definition
Install JetDirect software on the new box. I'll assume that you have hostname resultion (DNS,NIS(+),LDAP, and/or /etc/hosts) already setup.
On the old box, do an lpstat -t and cancel any hung/old print jobs. There's no point in moving them. Next do an lpshut.
As root (on the old box):
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/lp.cpio
Now ftp/rcp /var/tmp/lp.cpio from the old box to the new box.
On the new box:
lpshut
Now we'll save the current configuration (just in case).
cd /
find ./var/spool/lp ./etc/lp -print | cpio -ocv > /var/tmp/newlp.cpio
cd /var/spool
rm -r lp
cd /etc
rm -r lp
cd /
cpio -icvdum < /var/tmp/lp.cpio
Now, if your old box was running JetAdmin instead of JetDirect, we need to update your interface files. This is done by running /opt/hpnpl/bin/transferqueue local;
respond with all.
Finally, lpsched and everything including the default printer is setup.