- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP 11.00: Printer Definitions Printer Configuratio...
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
05-24-2004 01:34 AM
05-24-2004 01:34 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 01:38 AM
05-24-2004 01:38 AM
Re: HP 11.00: Printer Definitions Printer Configuration
For some peculiar reason /etc/lp/* too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 01:40 AM
05-24-2004 01:40 AM
Re: HP 11.00: Printer Definitions Printer Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 01:52 AM
05-24-2004 01:52 AM
Solutionif the mean to move your configuration of the printer from one server to another :
Execute
-> SAM
-> Printers and Plotters
-> Lp Spooler
-> Save/Restore Spooler Configuration
Choose
-> Actions
-> Save Spooler Configuration
This will save all the information necessary to rebuild the spooler into the
directory /var/sam/lp.
Tar this directory (/var/sam/lp) :
# tar cvf /tmp/lp.tar /var/sam/lp
Copy the resulting tar file, lp.tar, onto the target system.
Unpack the lp.tar file on the target system :
# tar xvf lp.tar
Execute
-> SAM
-> Printers and Plotters
-> Lp Spooler
-> Save/Restore Spooler Configuration
Choose
-> Actions
-> Restore Spooler Configuration
This will build the lp spooler configuration on the target system using the
information from the source system, creating a "clone" of the old system.
If any source system print queues are network printers originally configured
using HP JetAdmin or HP JetDirect Printer Installer, then the
following must also be performed.
HP JetDirect Printer Installer must be installed on the destination
system.
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
NOTE: transferqueue changes several paths in the JetAdmin model scripts in
/etc/lp/interface/ and /etc/lp/interface/model.orig/ to point to the location
of the HP JetDirect Printer Installer product.
An error may occur when restoring the spooler if the root umask is set to
something other than 022. The permission on /var/sam/lp and all file
under it could be changed from their defaults, with the result that SAM cannot
access the files to perform the restore. The permissions on /var/sam/lp should
be 755 or rwxr-xr-x. The error received in SAMlog would be something like:
ERROR A problem occurred doing "lpadmin -ptrec_stor
-i/var/sam/lp/interface/trec_st or -v/dev/null ". Stderr from this command is
"/usr/sbin/lpadmin: can't access file "/var/sam/lp/interface/trec_stor"".
* Failed to restore trec_stor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 02:23 AM
05-24-2004 02:23 AM
Re: HP 11.00: Printer Definitions Printer Configuration
or /usr/lib/lp/model or
/etc/lp/interface/model.orig
Regards
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 02:35 AM
05-24-2004 02:35 AM
Re: HP 11.00: Printer Definitions Printer Configuration
Bill Hassell, sysadmin