- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- printing from tray2
Operating System - HP-UX
1748169
Members
4224
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-25-2011 01:13 AM
тАО05-25-2011 01:13 AM
I need to print using lprng specifically to tray 2 from printer model HP LaserJet 8150DN. I tried using :
banner "test" | lp -d abc12b -o A4 -o tray2
but still prints from tray1. What is the command do i use to print from tray 2?
banner "test" | lp -d abc12b -o A4 -o tray2
but still prints from tray1. What is the command do i use to print from tray 2?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2011 02:31 AM
тАО05-25-2011 02:31 AM
Solution
Some HP printer model scripts will print out a list of supported "lp -o ..." options if you run this command:
lp -d abc12b -ooptions
But since you say you're using LPRng instead of the standard HP-UX print spooler, the standard HP model scripts might not be used at all. In that case, the standard options to the "lp" command you see in any HP-UX documentation will not be applicable.
If you're using the "ifhp" filter that comes with the LPRng distribution, the correct option would be "intray2".
http://www-it.desy.de/systems/services/printing/howto/IFHP-HOWTO.html#AEN1436
The native printing command of LPRng is "lpr", not "lp". I would test with it first:
banner "test" | lpr -Pabc12b -Z intray2
Once this works, you can try with LPRng's "lp" compatibility layer. You may have to configure LPRng's lp option translation first:
http://www.lprng.com/LPRng-Reference/LPRng-Reference.html#AEN3834
MK
lp -d abc12b -ooptions
But since you say you're using LPRng instead of the standard HP-UX print spooler, the standard HP model scripts might not be used at all. In that case, the standard options to the "lp" command you see in any HP-UX documentation will not be applicable.
If you're using the "ifhp" filter that comes with the LPRng distribution, the correct option would be "intray2".
http://www-it.desy.de/systems/services/printing/howto/IFHP-HOWTO.html#AEN1436
The native printing command of LPRng is "lpr", not "lp". I would test with it first:
banner "test" | lpr -Pabc12b -Z intray2
Once this works, you can try with LPRng's "lp" compatibility layer. You may have to configure LPRng's lp option translation first:
http://www.lprng.com/LPRng-Reference/LPRng-Reference.html#AEN3834
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 12:23 AM
тАО05-31-2011 12:23 AM
Re: printing from tray2
thanks for your response
but how do i set that printing to this queue specifically goes to tray2 in /etc/printcap for instance
abc12b :
:tc=.jetdirect_hp5si
:cm=HP LaserJet 8150DN
:lp=abc12%9100
but how do i set that printing to this queue specifically goes to tray2 in /etc/printcap for instance
abc12b :
:tc=.jetdirect_hp5si
:cm=HP LaserJet 8150DN
:lp=abc12%9100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2011 05:55 PM
тАО05-31-2011 05:55 PM
Re: printing from tray2
did not receive feedback from 2nd question will create a new thread.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP