- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Duplicating Printers From Existing 10.20 Serve...
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
Discussions
Discussions
Forums
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
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
тАО06-25-2001 12:47 PM
тАО06-25-2001 12:47 PM
I'm in the middle of configuring a new server (11.0) to replace an existing server (10.20). I need to duplicate the 44 printers currently being used, onto the new server. Rather than manually inputing each printer, can I simply copy over the configuration files from the old server? If so which (and where) files would I need to copy?
Many thanks.
Jon.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 01:11 PM
тАО06-25-2001 01:11 PM
Re: Duplicating Printers From Existing 10.20 Server to New 11.0 Server
Now may be a good time to re-evaluate your printing solution. Here, we found that the majority of our LaserJets networked with Emulex cards (long story involving VMS and LAT) print just fine using the native HPUX rlp in 10.20 and 11.00, so we didn't need to install the unsupported Emulex printing software on the new 11.00 box. After the initial duplication of printers using /usr/sam/lbin/lpmgr, we manually recreated each Emulex printer.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd588e7e60861d511abcd0090277a778c,00.html
- Tags:
- lpmgr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 01:28 PM
тАО06-25-2001 01:28 PM
Re: Duplicating Printers From Existing 10.20 Server to New 11.0 Server
1- On the HP-UX 10.2,
Go to SAM -> Printers and Plotters -> LP spooler -> Save/Restore spooler configuration
2. Choose Actions -> Save Spooler Configuration
3. From the UNIX prompt> Tar (/var/sam/lp)
tar cvf /tmp/lpqueues.tar /var/sam/lp
4. Copy the tar file to the target system (store until after the upgrade to 11.0) back to /var/sam/lp
5. Untar the file in /var/sam/lp directory
tar xvf lpqueues.tar
6.Go to SAM -> Printers and Plotters -> LP spooler -> Save/Restore spooler configuration
7. Choose Actions -> Restore Spooler Configuration
8. Check lp daemon is running
#ps ?ef|grep lpsched
If daemon is not running, run
#lpsched
Worked on six servers!
Hope this helps
Haitham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 02:38 PM
тАО06-25-2001 02:38 PM
Re: Duplicating Printers From Existing 10.20 Server to New 11.0 Server
JJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 09:25 PM
тАО06-25-2001 09:25 PM
SolutionHaitham is right, the easiest way to do this task is through sam.
Instead of using the sam gui you could also use the corresponding sam commands from your shell. I'm using this to synchronize the spoolers on multiple boxes.
first export the spooler information
lpshut 2>&1
/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp > /dev/null
then transfer /var/sam/lp to the other machine(nsf,cpio,tar)
and there import information to spooler
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp
lpsched 2>&1