- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing legal landscape in command line
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
03-24-2003 08:01 AM
03-24-2003 08:01 AM
I've a HP LaserJet 5000N with a Jetdirect card... This printer work fine if I print in a letter format... But I need to print in a legal - landscape format... What are the option when I use "lp"???
This printer have 3 tray... Can I specify a tray in the command line???
Thanks
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:09 AM
03-24-2003 08:09 AM
Re: Printing legal landscape in command line
# lp printername -o landscape -o tray3 filename
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:15 AM
03-24-2003 08:15 AM
Re: Printing legal landscape in command line
ls | lp -dmyprinter -o options
The -o options will list the available options for your interface file - or it may direct you to a man page that indicates the available options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 08:31 AM
03-24-2003 08:31 AM
Re: Printing legal landscape in command line
When you denote
-o landscape
you automatically default to 45 lines per page. So unless you want to overrule that you need do nothing further to accomodate page length.
Use
-o legal
to set paper length to legal
Use
-o binX (where X = bin #)
So the command would look like
lp -o landscape -o legal -o binX -dptr_name /file/to print
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 10:22 AM
03-24-2003 10:22 AM
Re: Printing legal landscape in command line
lp -lpprinter_queue -ooptions /etc/issue
But much more useful for JetDirect printers is the man page:
man net_lj5x
You'll find a enormous number of options used by the net_lj5x printer script.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2003 12:56 PM
03-24-2003 12:56 PM
Re: Printing legal landscape in command line
Thanks guys!