- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- print landscape with lp...
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
10-04-2001 09:59 AM
10-04-2001 09:59 AM
If I wanna print landscape with the command "lp", what is the option.... is it "lp -d
Thanks
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 10:06 AM
10-04-2001 10:06 AM
SolutionThe answer is - it depends. -o landscape is the typical argument but to know for sure, you need to examine the interface file.
Cd to /var/spool/lp/interface. The should be an interface file for each printer with the same name as the queque. Examine this file with a text editor to find your option. You may need to look in /var/spool/lp/interface/model.orig for your interface file as well. Sometimes the interface file in /var/spool/lp/interface calls the one in model.orig.
It is quite possible the -o landscape will work for a given printer but another printer might require a completely different argument. I would definitely try -o landscape first - that works for the vast majority of HP printers.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 10:10 AM
10-04-2001 10:10 AM
Re: print landscape with lp...
Try out this link
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=37c8ed3d00edbbd84e/screen=ckiDisplayDocument?docId=200000024598972
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 10:22 AM
10-04-2001 10:22 AM
Re: print landscape with lp...
I have been using #lp -d landscape from my HPux11.00 machine for the laserjet 8000 printers for some time with out problems.
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 01:34 PM
10-04-2001 01:34 PM
Re: print landscape with lp...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 02:14 AM
10-05-2001 02:14 AM
Re: print landscape with lp...
What often works, especially for somewhat modern/'powerful' HP printers is "lp [-oyb] -ooptions file". I.e. there is an option which is called "options" and that *prints* a summary of the most important options. Depending on the model script, the "-oyb" part may or may not be neccessary, hence the square brackets in my example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 03:48 AM
10-05-2001 03:48 AM
Re: print landscape with lp...
I like to print out ioscans with the following:
ioscan -fnk | lp -o nb -o 12 -o landscape
The -o 12 is a smaller font so that the data doesn't cut at line end.
But this is printer specific..
I had a dj540 and a dj600 using these options.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 07:49 AM
10-05-2001 07:49 AM
Re: print landscape with lp...
It should be
# lp -d
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2001 09:47 AM
10-09-2001 09:47 AM
Re: print landscape with lp...
ciao!