- 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-07-2006 07:39 PM
08-07-2006 07:39 PM
moving printers
I am migrating my HP-UX 11.00 system to a new HP-UX11i system. I have 30 or 40 remote and network printers that I need to move.
Is there any file I can copy over or so I need to recreate them all in SAM,
regards,
Shane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 08:36 PM
08-07-2006 08:36 PM
Re: moving printers
e.g.
# cd /var/sam && tar cf - lp|remsh newbox 'cd /var/sam tar xf -'
there start sam and go to the printers section.
But be careful if you already have defined printers on newbox, they will be lost!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 08:44 PM
08-07-2006 08:44 PM
Re: moving printers
However, there is no /var/sam/lp directory on my old box.
Any other ideas anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 08:49 PM
08-07-2006 08:49 PM
Re: moving printers
Also on oldbox you first need to save your current print queues with sam if you haven't administered them with that tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2006 09:32 PM
08-07-2006 09:32 PM
Re: moving printers
I have used SAM to save the printer configuration on the old box and un-tarred it to the new server.
Then in SAM I select can see my 132 printers and try to restore them. However, even thought it says that they were successfully restored I do not see them in the Printers/Plotters.
lpstat does not show any printers
root@nquinch:/root # lpstat
no entries
regards,
Shane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 09:35 PM
08-08-2006 09:35 PM
Re: moving printers
Save Spooler Configuration
On the source system using SAM --> Printers & Plotters --> LP Spooler --> Save/Restore Spooler Configuration.
Select Actions --> Save Spooler Configuration to save the configuration to /var/sam/lp
On the source system excute "tar cvf /var/tmp/printers.tar /var/sam/lp and transfer to target system.
Restore Spooler Configuration
On the target system excute "tar xvf printers.tar"
On the target system excute "chmod 755 /var/sam/lp"
Ensure the following is installed:-
root@nquinch:/var/sam/lp # swlist | grep -i direct
J4189-11001C E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
On the target system using SAM --> Printers & Plotters --> LP Spooler --> Save/Restore Spooler Configuration.
Select Actions --> Restore Spooler Configuration to restore the configuration to /var/sam/lp
Run the following command after restoring the printer/spooler configuration through SAM:
# /opt/hpnpl/bin/transferqueue local
Enter the queue name or all to modify all the queues : all
Thanks to all for your help
Shane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2006 09:36 PM
08-08-2006 09:36 PM