HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help w/ installing printers (other than using SAM ...
Operating System - HP-UX
1834447
Members
2319
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-27-2001 01:39 PM
11-27-2001 01:39 PM
I have a large number of printers that need to be added to about 18 HP-UX 11.0 servers. Does anybody know a way (other than SAM or Jetadmin) to add all of the printers at one time? Jetadmin and SAM are both too slow and tedious.
Too ugly to live, too weird to die, too stupid to know the difference.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 01:44 PM
11-27-2001 01:44 PM
Re: Help w/ installing printers (other than using SAM or Jetadmin).
This is the "command line" way of adding remote printers. I suppose you can write a simple script to go through all your printers in a for loop and ran the script on the server you want the printer to be configured.
1. Shut down the printer spooler
# /usr/sbin/lpshut
2. Add a remote printer with lpadmin command.
# lpadmin -premlaser -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormpsd1 -orplaser
In the command lpadmin you must specify the following options:
-p Name of the remote printer in the local spooler
-v No serial/parallel device file for the printer is needed
-m Model script that runs the command /usr/sbin/rlp [10.x]
-ocm What should be done if a job is to be cancelled
=> contains /usr/sbin/rcancel [10.x]
-osm What is to be done on the command lpstat
=> contains /usr/sbin/rlpstat [10.x]
-orm Name of remote print server
-orp Name of printer on the remote print server
Additional options from lpadmin under:
# man lpadmin
3. Activate printer at the spooler input
# /usr/sbin/accept remlaser
4. Activate printer at the spooler output
# /usr/bin/enable remlaser
5. Start spooler
# /usr/sbin/lpsched
6. The rlpdaemon on the printer server on which the printer is configured locally, must be active!
1. Shut down the printer spooler
# /usr/sbin/lpshut
2. Add a remote printer with lpadmin command.
# lpadmin -premlaser -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormpsd1 -orplaser
In the command lpadmin you must specify the following options:
-p Name of the remote printer in the local spooler
-v No serial/parallel device file for the printer is needed
-m Model script that runs the command /usr/sbin/rlp [10.x]
-ocm What should be done if a job is to be cancelled
=> contains /usr/sbin/rcancel [10.x]
-osm What is to be done on the command lpstat
=> contains /usr/sbin/rlpstat [10.x]
-orm Name of remote print server
-orp Name of printer on the remote print server
Additional options from lpadmin under:
# man lpadmin
3. Activate printer at the spooler input
# /usr/sbin/accept remlaser
4. Activate printer at the spooler output
# /usr/bin/enable remlaser
5. Start spooler
# /usr/sbin/lpsched
6. The rlpdaemon on the printer server on which the printer is configured locally, must be active!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 01:45 PM
11-27-2001 01:45 PM
Re: Help w/ installing printers (other than using SAM or Jetadmin).
Hello Scott,
Try lpadmin! You can create printers using the command line.
Then, make 17 hosts equivalent to a 'master' host and use a loop with remsh to do the creation.
For more details, consult the lpadmin man page.
Regards,
Paga
Try lpadmin! You can create printers using the command line.
Then, make 17 hosts equivalent to a 'master' host and use a loop with remsh to do the creation.
For more details, consult the lpadmin man page.
Regards,
Paga
Keeping alive, until I die.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 01:59 PM
11-27-2001 01:59 PM
Solution
HI
If you have jetadmin software installed on all machines command "addqueue" will help you creating printerqueues connected with jetdirect interface cards.
#/opt/hpnp/bin/addqueue -q -h
Thanks.
Prashant.
If you have jetadmin software installed on all machines command "addqueue" will help you creating printerqueues connected with jetdirect interface cards.
#/opt/hpnp/bin/addqueue -q
Thanks.
Prashant.
Take it as it comes.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP