- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Batch network printer installation
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
01-15-2002 01:02 PM
01-15-2002 01:02 PM
Batch network printer installation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:10 PM
01-15-2002 01:10 PM
Re: Batch network printer installation
# enable
Look for the model script in /usr/lib/lp/model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:34 PM
01-15-2002 01:34 PM
Re: Batch network printer installation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:46 PM
01-15-2002 01:46 PM
Re: Batch network printer installation
# addqueue [-c class] [-d] [-i printerID] -h hostname -q queuename -p port
Do a "man addqueue" for details. You could probably write a simple script to loop the above to all the printers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:52 PM
01-15-2002 01:52 PM
Re: Batch network printer installation
First collect all the printer names and put them in a file (p-queues)
#!/bin/ksh
> added.log
for i in `cat p-queues`
do
echo $i
addqueue -q$i -h$i >> added.log 2>&1
done
Run that a few times and see if it gets all of your printers.
It is not guranteed to work but it has worked for me in the past.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 01:55 PM
01-15-2002 01:55 PM
Re: Batch network printer installation
/opt/hpnp/bin/hpnpadmin -A
It will either say:
*** Receive NO snmp response!
*** (printer down, cable off, or wrong Get community name?)
or
The first reply indicates that the IP-address is not an HP JetDirect network card, so it can't be configured in batch mode.
So the command line is:
/usr/hpnp/bin/addqueue -h
Repeat as many times as needed...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2002 02:53 PM
01-15-2002 02:53 PM