- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPPI config files.
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-01-2003 03:56 AM
05-01-2003 03:56 AM
I'am about to install 20 printers on 6 new servers and I don't want enter all the names and IP addresses in HPPI on all the servers.
Is there a way to enter the printers once in HPPI on a node and than copy the printer configuration files to the remaining nodes ?
TIA,
Willy Schriemer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 04:24 AM
05-01-2003 04:24 AM
Re: HPPI config files.
Sam will let you do it.
sam - printers &plotters.
But my suggestion is to configure 20 printers in one server and setup these 20 as a remote printer on another 5 servers. This way you will have more centerl control over your printer.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 04:35 AM
05-01-2003 04:35 AM
Re: HPPI config files.
If you follow Sachin's suggestion, you can use a script to add the printers on all the "other" servers. Something like this:
#!/bin/ksh
###############################################################################
# add_printers Script to add remote, lan attached
# printers to a server.
###############################################################################
# shut down the print spooler
#############################
/usr/lib/lpshut
#############################
# for each printer listed , ...
#############################
for PRNTR in `cat /nfs/yukon/usr/local/bin/printer_list`
do
LOC=ORION
LPADMIN="lpadmin -p$PRNTR -v/dev/null -mrmodel -g0 -ocmrcmodel -osmrsmodel -orm$LOC.holstein.com -orp$OPR
NTR"
#############################
# ... do the following
#############################
# 1st - remove it, then add it, using defaults, placing it on NET1
#############################
lpadmin -x$PRNTR
$LPADMIN
#############################
# 2nd - begin accepting requests to it
#############################
/usr/lib/accept $PRNTR
#############################
# 3rd - enable it
#############################
/usr/bin/enable $PRNTR
done
#############################
# after the last printer is added, restart the spooler
#############################
/usr/lib/lpsched
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 06:21 AM
05-01-2003 06:21 AM
SolutionAlternatively, you could write a little script that does the printer adds, and copy it to each box.
The format would be:
/opt/hpnpl/bin/addqueue -h iporhostname -q queuename
/opt/hpnpl/bin/addqueue -h myprinter1.willy.com -q queue1
Add all the printer defines here, then run the script.
(I just thought I'd throw it out there before Bill H. gets on later and does it...)
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 07:11 AM
05-01-2003 07:11 AM
Re: HPPI config files.
Note that addqueue only works with HP's JetDirect LAN interface (internal to printer or the JetDirect External adapter). Many sysadmins are confused with the term 'network printer' as there are several non-HP network printer solutions that are not compatible with HPPI. In those cases, you must add the printer using lpadmin and a bunch of options (or use sam interactively). This includes print servers on PCs or other Unix boxes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2003 11:46 PM
05-01-2003 11:46 PM
Re: HPPI config files.
Thanks for the input. I know it were only 20 printers but a good sysadmin is lazy and if its scripted once you can you is in the future again.
Best regards,
Willy Schriemer
Philips Semiconductors
The Netherlands