- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lpadmin problem
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
11-03-2003 01:38 AM
11-03-2003 01:38 AM
lpadmin problem
I'm having problems to print to tray2 on a printer. This is what I do:
#lpadmin -p
And this is the answer:
lpadmin: illegal key "-otray2
Is it possible to upgrade "lpadmin" or am I doing something wrong. Btw also in jetadmin I can't select an other tray.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 01:45 AM
11-03-2003 01:45 AM
Re: lpadmin problem
You are using the wrong command.
"lpadmin" is for configuration.
"lp" is for printing.
The rest of your options look a little strange also.
try
"lp -d
This does depend on the printer scripts being set up to handle these options.
see
"man lp"
"man lpadmin"
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 02:02 AM
11-03-2003 02:02 AM
Re: lpadmin problem
Thanks for the reply. it's not the "lp -d" command but the making of the queue "lpadmin" which is giving me troubles. The option "trayX" doesn't work (al my other queues are fine). I'm using HP-UX 11.00 B.
Is it possible that a newer version of "lpadmin" does support the "tray" option. A forum search learned me about this option. If so how do I upgrade this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2003 03:37 AM
11-03-2003 03:37 AM
Re: lpadmin problem
lp -d
The word tray (or landscape or duplex, etc) does not appear anywhere in the lpadmin man page. All such options are controlled by the printer's model script which is located in /etc/lp/interface/model.orig and these options are triggered by the lp -o options.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 12:39 AM
11-05-2003 12:39 AM
Re: lpadmin problem
I have to give the option at "lp" instead of putting it in the queueu config file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 12:50 AM
11-05-2003 12:50 AM
Re: lpadmin problem
Bill Hassell, sysadmin