- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shell script for adding multiple printers
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-03-2002 02:41 AM
07-03-2002 02:41 AM
I am trying to write a shell script, (of which I have very little knowledge - the course is booked !)to add printer queues to multiple unix servers. The reason behind it is so anyone with limited knowledge of unix can add a queue. My manager has asked for it to be menu driven, if possible, ie a couple of questions to be asked from the command line, with minimal interaction (IP address, queue name etc).
Any help would be much appreciated.
Regards
Wayne Kiernan
wayne.kiernan@hse.gsi.gov.uk
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 02:51 AM
07-03-2002 02:51 AM
Re: Shell script for adding multiple printers
Have you given SAM a try?
# /usr/sbin/sam
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:40 AM
07-03-2002 03:40 AM
Re: Shell script for adding multiple printers
sam will certainlt work and you can give users limited sam access.
Since you mention IP address I assume you have network printers.
Then Jetadmin or a similar program
This is menu driven.
Please indicate type of and connection of printers.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 03:45 AM
07-03-2002 03:45 AM
Re: Shell script for adding multiple printers
I'm using this one for adding remote printers.
regards,
Ilan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 05:31 AM
07-03-2002 05:31 AM
Solutionaddqueue -h HOST-or-IPaddr -q queue-name
This assumes you have the latest HP Printer Installer software installed and /etc/PATH has been updated to include /usr/hpnpl/bin. If you have the directory: /opt/hpnp then you have the older JetAdmin software which will work the same way. Uou can download the latest JetDirect Printer Installer software from:
http://h20000.www2.hp.com/bizsupport/TechSupport/Product.jsp%3Flocale%3Den_US%26prodTypeId%3D13037%26prodSubCatId%3D28674
Note that using remote printers (printers connected to some server) can be a big management problem, especially when the printers are PC-based. Try to switch all your printers to JetDirect connections.
Bill Hassell, sysadmin