- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating queues
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
05-16-2007 04:09 AM
05-16-2007 04:09 AM
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 04:16 AM
05-16-2007 04:16 AM
Solutionaddqueue -i 9998 -q QUEUENAME -h printer.yourdomain.com
9998 comes from /opt/hpnpl/admin/PrinterList
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 04:20 AM
05-16-2007 04:20 AM
Re: Creating queues
If this is a hard-wired or Remote printer (meaning it uses the LPR/LPD protocol) then you use SAM or lpadmin from the shell.
Since you are having to ask this, I would use either hppi or SAM to begin with but it is always good to know the commands that underlie the user interfaces. You must have the Jetdirect software installed on your box to install Network printers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 01:57 PM
05-16-2007 01:57 PM
Re: Creating queues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 02:01 PM
05-16-2007 02:01 PM
Re: Creating queues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 02:08 PM
05-16-2007 02:08 PM
Re: Creating queues
addqueue -i 9998 -q QUEUENAME -h printer.yourdomain.com
how can you see that it has been created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 02:12 PM
05-16-2007 02:12 PM
Re: Creating queues
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 02:26 PM
05-16-2007 02:26 PM
Re: Creating queues
and how can i know that that printer is linked to some ip address??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 02:56 PM
05-16-2007 02:56 PM
Re: Creating queues
vi YourNewQueueName
and there should be a line
PERIPH=Printer_Hostname or Printer_IP_Address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2007 01:32 AM
05-17-2007 01:32 AM
Re: Creating queues
# 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 " "
Output like:
# lpst W052
PING pcr12169.mydomain.net: 64 byte packets
64 bytes from 192.168.163.184: icmp_seq=0. time=2. ms
64 bytes from 192.168.163.184: icmp_seq=1. time=0. ms
----pcr12169.mydomain.net PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/1/2
printer W052 is idle. enabled since Feb 7 10:51
fence priority : 0
device for W052: /dev/null
Output Requests
-----------------------------------------------------------
no entries
scheduler is running
Rgds...Geoff