- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installation of Printer's on Multiple Server's
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
02-11-2005 07:27 PM
02-11-2005 07:27 PM
We have more than 20 server’s. For printing purpose we are using TCP/IP Printing. To configure all the printer’s we are using HPJET Direct software to configure to configure the printers.
Each time we have to add / (remove) a new printer on all the server’s. Time consuming job.
Is there any other way to manage this problem? Is there any third party software which can configure the printer on Unix Level as well as in the Oracle application. Please advise.
H
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2005 04:56 AM
02-12-2005 04:56 AM
Re: Installation of Printer's on Multiple Server's
12.34.56.78 prn37
23.45.67.89 prn38
...etc..
Then the script to read this file would be:
#!/usr/bin/sh
set -u
export PATH=/usr/bin:/opt/hpnpl/bin
cat /var/tmp/my_printer_list | while read IP PRNQUEUE
do
addqueue -q $IP $PRNQUEUE
done
and that's it. NOTE: the printers must be connected to the network and powered up, and they must be HP LaserJets. Non-HP printers and most HP DeskJets are not compatible with the JetDirect system. Remote print servers such as Windows and other Unix systems are not compatible with JetDirect software. Now you can script the adding of remote printers (in Windows terms, TCP/IP or Unix printers) using lpadmin, but with remote printers, all -o options (like -olandscape or -oduplex) are disabled.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2005 12:52 AM
02-13-2005 12:52 AM
Solutionif bill hassell told to run a script , that need to be the answer , just to remind you that you can do all your job in one computer and then export the printer config. to a file , and then import it with another computer .
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2005 12:02 PM
02-13-2005 12:02 PM
Re: Installation of Printer's on Multiple Server's
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 01:37 AM
02-14-2005 01:37 AM
Re: Installation of Printer's on Multiple Server's
/usr/sam/lbin/lpmgr -S -v -xsavedir=/var/sam/lp/
cp -r -p /var/sam/lp/lp.new/* /var/sam/lp/
tar cvf /tmp/lp.tar /var/sam/lp/
rcp /tmp/lp.tar serverB
On serverB:
lpshut
tar xvf /tmp/lp.tar
/usr/sam/lbin/lpmgr -R -xsavedir=/var/sam/lp/
lpsched -v
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2005 02:47 PM
02-18-2005 02:47 PM
Re: Installation of Printer's on Multiple Server's
Thanks a lot for your efforts and valuable answer. It has solved my big problem.
Regards
Harry.