HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer migration
Operating System - HP-UX
1834601
Members
3585
Online
110069
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
Go to solution
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
02-04-2004 02:33 AM
02-04-2004 02:33 AM
I am currently upgrading a number of HPUX 10.20 systems to HPUX 11.00 on new hardware. I've been able figure out what I need to tarball on each system to retain their 'settings' for everything EXCEPT the PRINTERS. Making an ignite image for each system is impractical. I've created a standard HPUX 11 ignite image which is installed first, then the 'system personality' tarball is installed next. This tarball includes system specific configuration info (host, dns, netconf, senmail, etc . . . ) along with application specific directory trees.
Is there a list of files and/or directories that I can tar up and copy over that will migrate the printers without having to re-configure them on the new machine?
Is there a list of files and/or directories that I can tar up and copy over that will migrate the printers without having to re-configure them on the new machine?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:40 AM
02-04-2004 02:40 AM
Re: Printer migration
I've used SAM to move printer configs to other servers, all in vers. 11.0. It works great,
save spooler config==> makes a file in the one of the SAM subdirs. Move that file over to new system, run sam resore spooler config, and you're there.
or I imagine you could copy all of the files under /var/spool/lp to the new system...
save spooler config==> makes a file in the one of the SAM subdirs. Move that file over to new system, run sam resore spooler config, and you're there.
or I imagine you could copy all of the files under /var/spool/lp to the new system...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:40 AM
02-04-2004 02:40 AM
Re: Printer migration
Hi Russell,
If you have JetDirect Printer Installer or the newer named products, they have a command named
transferqueue
that is specifically for this task.
command would be something like:
/opt/hpnpl/bin/transferqueue backup
that will create a tarball named
/tmp/queues.tar
that can be used to "import" the queues onto the newly loaded system.
See
/opt/hpnpl/TRANSFER.UNX
for details.
HTH,
Jeff
If you have JetDirect Printer Installer or the newer named products, they have a command named
transferqueue
that is specifically for this task.
command would be something like:
/opt/hpnpl/bin/transferqueue backup
that will create a tarball named
/tmp/queues.tar
that can be used to "import" the queues onto the newly loaded system.
See
/opt/hpnpl/TRANSFER.UNX
for details.
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:50 AM
02-04-2004 02:50 AM
Solution
It's rather easy.
1) Go ahead and install the newer JetDirect (as opposed to JetAdmin) software on your 11.0 box. Make sure all your printer hostnames are defined in /etc/hosts, DNS, and/or NIS(+).
2) On your 11.0 box, do an lpshut.
3) Now, we will save the 11.0 stuff -- just in case.
cd /
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /mydir/lp1100.cpio
4) Now on your 10.20 box:
lpstat -t and look for any hund/old print jobs. Cancel them -- no point in moving them.
lpshut
5) cd /
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /mydir/lp1020.cpio
rcp/ftp /mydir/lp1020.cpio to your 11.0 box
6) Now back on the 11.0 box,
cd /
cpio -icvdum < /mydir/lp1020.cpio
7) If your old Network printers used JetAdmin, we need to convert them to the newer JetDirect software:
cd /opt/hpnpl/bin
./transferqueue local
when prompted, respond 'all'.
8) lpsched
At this point, everything, including default printer, should be "good to go".
1) Go ahead and install the newer JetDirect (as opposed to JetAdmin) software on your 11.0 box. Make sure all your printer hostnames are defined in /etc/hosts, DNS, and/or NIS(+).
2) On your 11.0 box, do an lpshut.
3) Now, we will save the 11.0 stuff -- just in case.
cd /
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /mydir/lp1100.cpio
4) Now on your 10.20 box:
lpstat -t and look for any hund/old print jobs. Cancel them -- no point in moving them.
lpshut
5) cd /
find ./etc/lp ./var/spool/lp -print | cpio -ocv > /mydir/lp1020.cpio
rcp/ftp /mydir/lp1020.cpio to your 11.0 box
6) Now back on the 11.0 box,
cd /
cpio -icvdum < /mydir/lp1020.cpio
7) If your old Network printers used JetAdmin, we need to convert them to the newer JetDirect software:
cd /opt/hpnpl/bin
./transferqueue local
when prompted, respond 'all'.
8) lpsched
At this point, everything, including default printer, should be "good to go".
If it ain't broke, I can fix that.
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