HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restoring printer configuration
Operating System - HP-UX
1836270
Members
2120
Online
110097
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-14-2007 04:04 PM
05-14-2007 04:04 PM
restoring printer configuration
Hi,
I have followed the following steps to resore the printer configuration. But it is not restoring the printers. Please go through this and let me know the error in the method what i have followed.
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:-
# swlist | grep -i direct
J4189-11001C E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
On the target system
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
Thank you in advance
Vijila
I have followed the following steps to resore the printer configuration. But it is not restoring the printers. Please go through this and let me know the error in the method what i have followed.
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:-
# swlist | grep -i direct
J4189-11001C E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
On the target system
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
Thank you in advance
Vijila
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 01:03 AM
05-15-2007 01:03 AM
Re: restoring printer configuration
THis is how I've done it:
echo "Backing up the spooler configuration to /var/sam/lp/lp.new....please wait..." ; /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 tarbal to new server.
tar xvf lp.tar
echo "Restoring the spooler configuration....please wait..."; /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
Rgds...Geoff
echo "Backing up the spooler configuration to /var/sam/lp/lp.new....please wait..." ; /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 tarbal to new server.
tar xvf lp.tar
echo "Restoring the spooler configuration....please wait..."; /usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 07:42 AM
05-15-2007 07:42 AM
Re: restoring printer configuration
I have always done this with success with the same method you have mentioned.
execute "backup spooler config" in sam
tar up /var/sam/lp
untar on destination server
execute "recover spooler config"
Have not needed the transferqueue command
What is actually happening ? Errors ? Missing ?
execute "backup spooler config" in sam
tar up /var/sam/lp
untar on destination server
execute "recover spooler config"
Have not needed the transferqueue command
What is actually happening ? Errors ? Missing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 09:38 AM
05-18-2007 09:38 AM
Re: restoring printer configuration
Do you have same version of HP-UX ?
I've done this many times with success, but mainly used same method as Geoff describe (as this is what sam actually does, but it's just faster than entering sam :-)
The only times I've experienced it failed was when copying printers from PA-Risc to Itanium.
This is due to a difference in the file structure for the software, but can be overcome by creating some links.
Remember that the scheduler should not run while you're restoring printers... and remember to start it again when you're finished ;-)
/Tor-Arne
I've done this many times with success, but mainly used same method as Geoff describe (as this is what sam actually does, but it's just faster than entering sam :-)
The only times I've experienced it failed was when copying printers from PA-Risc to Itanium.
This is due to a difference in the file structure for the software, but can be overcome by creating some links.
Remember that the scheduler should not run while you're restoring printers... and remember to start it again when you're finished ;-)
/Tor-Arne
I'm trying to become President of the state I'm in...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP