- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving printers from a system to another ( printer...
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
07-04-2002 01:05 AM
07-04-2002 01:05 AM
moving printers from a system to another ( printer mirror)
I need to define many many printers ( actually defined on a 10.20 machine) to a 11.00 machine. Is there the possibility to perform this task rapidly? I did like this ( following some suggestions):
into SAM -> printer and plotters -> lp spooler -> save/restore spooler configuration. Then, Actions -> Save spooler configuration. This will write all your printer defs to /var/sam/lp. Tar/copy this directory to the new server's /var/sam/lp directory. Go into the new server's SAM -> printers and plotters -> lp spooler -save/restore configuration. Select Actions -> restore spooler configuration. Doing like this the directory /etc/lp/interface is empty....
How can i proceed on to have the printers defined an functioning on the new server
Federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:17 AM
07-04-2002 01:17 AM
Re: moving printers from a system to another ( printer mirror)
do you have the following ??
cd /var/spool/lp
ll | grep interface
lrwxrwxrwt 1 root sys 17 Aug 6 2001 interface -> /etc/lp/interface
if you dont't have this symbolic link but a regular directory interface then /etc/lp/interface will of course be empty
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:19 AM
07-04-2002 01:19 AM
Re: moving printers from a system to another ( printer mirror)
Check /var/sam/lp on the 10.20 server. Does this area have interface file ?
If not, make a copy of that and move across also. I suppose it does defeat the object of a 'quick' move though
Will be interested to see how this is resolved if the above does not help
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:21 AM
07-04-2002 01:21 AM
Re: moving printers from a system to another ( printer mirror)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:25 AM
07-04-2002 01:25 AM
Re: moving printers from a system to another ( printer mirror)
the interface directory under /var/sam/lp on the 10.20 server is empty....Is it normal??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 02:06 AM
07-04-2002 02:06 AM
Re: moving printers from a system to another ( printer mirror)
when the printer is added, the kernel will be modified and the machine reboots, when you are moving/copying the /var/lp file to another machine only the files will be copied, but the kernel of that machine is unaware of the printers. I think you need to add those printers to machines one by one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 02:20 AM
07-04-2002 02:20 AM
Re: moving printers from a system to another ( printer mirror)
We don't actually use lp in our environment, so can't give you experienced knowledge. But
according to our man rafeeq ( i'm at home studying)
/etc/lp/interfaces
This direcory contains programs that are used to format printed data of a particular type of printer.
Here is the key :-
The printer Model/Interface is the name of the program that will be used with the printer. The model or interface names are present in the /usr/lib/lp/model directory. If there is no interface programme for your printer you can use a dumb model, but in this case you will not be able to use all of the printers capabilites
When you add a printer, the appropriate program is copied from /usr/lib/lp/model to the dir /etc/lp/interfaces. While copying, the program is renamed to match the printer name.
So
When you add a printer , you can give whatever name you like
lpadmin -pfederico1 -mhplj4 -v/dev/lp
The command adds a printer named laser on the device file /dev/lp. The INTERFACE programme used for this printer is hplj4 (HP LASERJET4)
I/You would presume that all this is done when you initially used sam to copy the spooler details from save spooler configuration option.
I can't remeber where the scripts are held for sam utilites - haven't got a workstation at home just a PC. Find it and have a look to see what it actually does. Yu will then have your answer as per what actions are taken
Hope this helps
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 10:27 PM
07-04-2002 10:27 PM
Re: moving printers from a system to another ( printer mirror)
try transferqueue script found in: /opt/hpnp/bin/
Read document: TRANSFER.UNX in same directory for more details.
Worked for me when i moved from HP-UX10.20 to HP-UX11.0
hope this helps
Cheers
Yogeeraj