- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The correct syntax for adding a printer in HP-...
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
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
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
тАО08-08-2005 08:49 AM
тАО08-08-2005 08:49 AM
The correct syntax for adding a printer in HP-UX using lpadmin...
lpadmin -ppr41137 -vlpd://rcb00003.dearborn.ford.com -drcb00003
What am I doing wrong?
Thanks in advance...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 08:53 AM
тАО08-08-2005 08:53 AM
Re: The correct syntax for adding a printer in HP-UX using lpadmin...
The command to install a network printer using JetAdmin is
addqueue -h
The hostname can be the IP address (if no name resolution is available) or can be a name (if name resolution is available). The queuename is what you want to call it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2005 09:21 AM
тАО08-08-2005 09:21 AM
Re: The correct syntax for adding a printer in HP-UX using lpadmin...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 02:03 AM
тАО08-09-2005 02:03 AM
Re: The correct syntax for adding a printer in HP-UX using lpadmin...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 02:14 AM
тАО08-09-2005 02:14 AM
Re: The correct syntax for adding a printer in HP-UX using lpadmin...
Here is the command line for lpadmin
lpadmin -p$PRNTR -v/dev/null -mrmodel -g0 -ocmrcmodel -osmrsmodel -orm$LOC.holst
ein.com -orp$PRNTR"
Another way is to use SAM:Printer and Plotters --> LP Spooler --> Printer and Plotters
from the Actions tab on menu bar, Add Remote Printer/Plotter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2005 02:16 AM
тАО08-09-2005 02:16 AM
Re: The correct syntax for adding a printer in HP-UX using lpadmin...
This is how I do it:
# shut down the print spooler
#############################
/usr/lib/lpshut
for PRNTR in `cat printer_list`
do
case $PRNTR in
crlzr2) OPRNTR=cr8100dn2
;;
crlzr3) OPRNTR=cr8100dn
;;
*) OPRNTR=$PRNTR
;;
esac
LPADMIN="lpadmin -p$PRNTR -ormNET1.holstein.com -orp$OPRNTR -mrmodel -v/dev/n
ull -ob3 -ocmrcmodel -osmrsmodel"
#############################
# ... 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
Pete
Pete