- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding/printing in HP-UX 11.0
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
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
тАО12-12-2005 03:22 AM
тАО12-12-2005 03:22 AM
Adding/printing in HP-UX 11.0
I'm working on a test box trying to become familiar with this OS (I'm a newbie). I'm trying to add/print to a network printer.
I cannot find a printer installed, looked in /etc/lp/member.
Tried adding with command
lpadmin -pPRINTER_NAME -mLASERJET4 -v/dev/null
This worked but I can't print: "can't accept request for destination". I figure I need to tell it where in the network it is (IP Address), but don't know how.
Also, the printer is a Laserjet 8100N but I could not find anything closely resembling this model in /usr/lib/lp/model. Don't know if this is a problem.
Can't use SAM, but I would like to do it manually anyway.
Help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:29 AM
тАО12-12-2005 03:29 AM
Re: Adding/printing in HP-UX 11.0
enable PRINTER_NAME
Or accept it:
accept PRINTER_NAME
To see status, do a:
lpstat -pPRINTER_NAME
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:34 AM
тАО12-12-2005 03:34 AM
Re: Adding/printing in HP-UX 11.0
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=263186
Also, for HP printers using the JetDirect print servers, you can install the JetDirect Printer Installer software:
http://h20180.www2.hp.com/apps/Lookup?h_query=jet+direct+printer+installer&h_tool=software&h_lang=en
This will give you functionality control for the various HP models, which you will not have if you set them up as remote printers with lpadmin.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:35 AM
тАО12-12-2005 03:35 AM
Re: Adding/printing in HP-UX 11.0
lp -dPRINTER_NAME /.profile
I did the lpstat and the return is, "idle", "enabled" and "fence priority 0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:43 AM
тАО12-12-2005 03:43 AM
Re: Adding/printing in HP-UX 11.0
Look at the following link - it tells you how to install the printer configuration you want, as well as giving the the download location from HP
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=bpj07384
HTH
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 03:56 AM
тАО12-12-2005 03:56 AM
Re: Adding/printing in HP-UX 11.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 06:46 AM
тАО12-12-2005 06:46 AM
Re: Adding/printing in HP-UX 11.0
Using the menu options, I can print a test page, but I can't print something like my .profile file.
Grrr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 07:40 AM
тАО12-12-2005 07:40 AM
Re: Adding/printing in HP-UX 11.0
Printer is now working.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 07:44 AM
тАО12-12-2005 07:44 AM
Re: Adding/printing in HP-UX 11.0
addqueue -i 9998 -q QUEUENAME -h pinrtername.yourdomain.com
Also, this script is handy:
# cat /opt/hpnpl/bin/lpst
#!/bin/sh
#
# check printer status
# Geoff Wild
if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]
then
echo "Usage:"
echo "lpst \"printer\""
echo "Example:"
echo "lpst W052"
exit 1
fi
echo " "
/usr/sbin/ping $1 -n 2
echo " "
lpstat -p$1 -v$1
echo " "
echo "Output Requests"
echo "-----------------------------------------------------------"
lpstat -o$1
echo " "
lpstat -r
echo " "
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 02:06 PM
тАО12-12-2005 02:06 PM
Re: Adding/printing in HP-UX 11.0
The other method is to use the JetDirect software. Now (newer) HP LAN cards do know how to use lpd/lpr protocol but as mentioned, this is far too primitive to be of much use. So you download the current version of HP Printer Installer (hppi) and either run the hppi programs and follow the menus, or use the addqueue command (which is much simpler). The LAN card must already have an IP address (and subnet mask and router) assigned to it (usuallty from the front panel of the printer) before using addqueue. The command would be:
/usr/hpnpl/bin/addqueue -h 12.34.56.78 -q my_laserjet
where -h is the IP address (no hostname is necessary) and -q is the print queue name, whatever you'd like to call the printer. hppi and addqueue do not use the model directory because network printing requires a special program to communicate (hpnpf) with the LAN cards. The script is picked automatically based on the printer model and the options are listed in the man page, most typically: man net_ljx000. See also man pages for hpnpadmin for troubleshooting. SAM adds network printers (ie, JetDirect LAN cards) by running hppi.
Bill Hassell, sysadmin