- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script to create printer in jetadmin
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
Discussions
Discussions
Forums
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
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
тАО06-22-2001 11:06 AM
тАО06-22-2001 11:06 AM
We are using the jetdirect Printer Installer vE.10.18.
Thanks,
Donna Yedziniak
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2001 11:26 AM
тАО06-22-2001 11:26 AM
Re: script to create printer in jetadmin
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x99fca12d6d27d5118fef0090279cd0f9,00.html
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 03:26 PM
тАО06-25-2001 03:26 PM
Re: script to create printer in jetadmin
Thanks,
Donna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2001 06:50 PM
тАО06-25-2001 06:50 PM
Re: script to create printer in jetadmin
Then for the list of printers, run addqueue to add each one. For a scripted method, create a data file with the IP addr followed by the desired queue-name. Then run this script:
#!/usr/bin/sh
# specify the datafile name as first param
cat $1 | while read IPADDR QUEUENAME
do
/opt/hpnp/bin/addqueue -h $IPADDR -q $QUEUENAME
done
Note that each printer must be powered on, connected to the network and have a reachable IP address configured as addqueue queries each printer as to model to pick the correct printer script. The lp spooler will be stopped and started for each addqueue command.
In cases where the printer is not yet connected or powered on, you can use addqueue -l to list the printer ID numbers then use addqueue with the -i option to specify the printer model and addqueue will add the printer even though it is not reachable. There will be a short timeout as addqueue tries to reach the printer. Without the -i option, the printer must be online or addqueue will report that it could not contact the printer.
Bill Hassell, sysadmin