- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to use lp to print to a different paper tray
Operating System - HP-UX
1823415
Members
2643
Online
109655
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-10-2001 04:15 AM
тАО05-10-2001 04:15 AM
How to use lp to print to a different paper tray
I'm trying to use lp to print to tray 3 of my Laserjet 5si printer. I've tried the following command :
lp -dprintername -otray3 /etc/motd
But the output still comes out of tray 2 on my printer.
Does anyone know how I can use lp to print to tray 3 ?
Many thanks in advance, people :)
lp -dprintername -otray3 /etc/motd
But the output still comes out of tray 2 on my printer.
Does anyone know how I can use lp to print to tray 3 ?
Many thanks in advance, people :)
Nothing succeeds like excess
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2001 04:24 AM
тАО05-10-2001 04:24 AM
Re: How to use lp to print to a different paper tray
Hi,
see /etc/lp/interface for printer options.
source man lp
HTH
Regards
see /etc/lp/interface for printer options.
source man lp
HTH
Regards
Be patient
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2001 04:55 AM
тАО05-10-2001 04:55 AM
Re: How to use lp to print to a different paper tray
Hi
Here are the answers to your questions:
1. Use the following command to print to a specific tray:
$ lp -d[printer] -otray2
--AND--
2. The -o options are listed in your printer's model script in
/var/spool/lp/interface.
For JetDirect printers, look at the original script under
/var/spool/lp/interface/model.orig to identify the script on
which it is based. Once you identify the script, see the
appropriate man page. You can find this information by
searching the script for the term man page
Here are the answers to your questions:
1. Use the following command to print to a specific tray:
$ lp -d[printer] -otray2
--AND--
2. The -o options are listed in your printer's model script in
/var/spool/lp/interface.
For JetDirect printers, look at the original script under
/var/spool/lp/interface/model.orig to identify the script on
which it is based. Once you identify the script, see the
appropriate man page. You can find this information by
searching the script for the term man page
love computers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2001 05:48 AM
тАО05-10-2001 05:48 AM
Re: How to use lp to print to a different paper tray
Check if the -otray option is supportet with your interfacescript. It should be if you use JetAdmin.
Make sure your printer isn't set up as a raw printer. With a raw printer all -o options are ignored.
If everything fails you can still include the necessary PJL command in the printfile.
Hope this helps. Stefan
Make sure your printer isn't set up as a raw printer. With a raw printer all -o options are ignored.
If everything fails you can still include the necessary PJL command in the printfile.
Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP