- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Add a new print queue
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
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
02-23-2005 02:19 AM
02-23-2005 02:19 AM
Add a new print queue
I need to add a new print queue to one of my HPUX 11.11 server.
How can i go about in creating the same?
How to find which printer is configured with the server. I need to add the print queue xxxx to the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 02:25 AM
02-23-2005 02:25 AM
Re: Add a new print queue
You could also use the command line to add an lp spooler based printer:
lpadmin -p$PRNTR -orm[domainname] -orp[queuename] -mrmodel -v/dev/null -ob3 -ocmrcmodel -osmrsmodel
- or -
if you use hppi:
addqueue -h [ipaddress] -q [queuename] -b off
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 02:46 AM
02-23-2005 02:46 AM
Re: Add a new print queue
How to find the printer name? (hope remote printer is configured for the same.. i am not sure abt that)
How to find the scheduler name?
I am having information abt
Hostname
queue name.. i dont have other info.. to create a print queue.
How to go about in creating the same.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 02:49 AM
02-23-2005 02:49 AM
Re: Add a new print queue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 03:05 AM
02-23-2005 03:05 AM
Re: Add a new print queue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 03:17 AM
02-23-2005 03:17 AM
Re: Add a new print queue
What does -b off mean in the addqueue command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 06:26 AM
02-23-2005 06:26 AM
Re: Add a new print queue
The simplest way to do this is with a printer class. Create a printer class with the new print queue name and make the old printer queue a member. Now you can print to either queue name and the job goes to the same printer. Here are the steps assuming that prn001 is the old printer and prn002 is the new queue:
lpshut (turns off the spooler and stops all active printing)
lpadmin -pprn001 -cprn002
accept prn002
lpsched
Now you can print to either prn001 or prn002. Note that lpshut/lpsched are always required to make spooler changes. NOTE: lp commands (unlike most other Unix commands) requires that no space be between an option and the value, so lpadmin -p prn001 will not work, lp -pprn001 will work.
To answer your other questions:
JetAdmin has been obsolete for many years. The command is called hppi and it won't be useful UNLESS you have the printer connected directly to the network with an HP JetDirect interface card. If this is all true, then you can create as many queues pointing to the same printer as you want (the lp class technique above works just for one additional queue). In this case, use the addqueue command (but you need to know the printer's IP address or hostname). Assuming that prn001 has an IP address of 12.34.56.78:
/opt/hpnpl/bin/addqueue -q prn002 -h 12.34.56.78
/opt/hpnpl/bin/addqueue -q prn003 -h 12.34.56.78
/opt/hpnpl/bin/addqueue -q prn004 -h 12.34.56.78
And in the addqueue command (check the man page for addqueue), -b turns on/off the leading banner page, the page printed in fron of every job. You can always override the banner page setting on a per-job basis with the lp -onb or -ony options. Check the man page for net_ljx000 for more details.
Bill Hassell, sysadmin