HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp command - lines per page in landcape
Operating System - HP-UX
1836377
Members
2196
Online
110100
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
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
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
11-01-2000 02:38 PM
11-01-2000 02:38 PM
lp command - lines per page in landcape
I'm trying to print a text file in landscape on a Laserjet 4si from a HP-UX 10.20 box, and I can't get the thing to stop printing just 2 lines on every other page.
The printer defaults to 45 lines per page in landscape, but seems to only fit 43 - hence the two spare on the following page.
I've tried using "-o lt43" but it makes no difference. I've tried piping the file through pr first to set the page length, but the subsequent lp command seems to overide this. (If I include the "-o pr" option it prints full pages but omits lines.)
Any assistance to enable me to get multiple, complete, pages of landscape text would be very welcome.
The printer defaults to 45 lines per page in landscape, but seems to only fit 43 - hence the two spare on the following page.
I've tried using "-o lt43" but it makes no difference. I've tried piping the file through pr first to set the page length, but the subsequent lp command seems to overide this. (If I include the "-o pr" option it prints full pages but omits lines.)
Any assistance to enable me to get multiple, complete, pages of landscape text would be very welcome.
If only road sweeping was better paid!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 02:40 AM
11-02-2000 02:40 AM
Re: lp command - lines per page in landcape
Would 'a2ps' do the job for you ?
In a world without fences - who needs Gates ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2000 02:53 AM
11-02-2000 02:53 AM
Re: lp command - lines per page in landcape
Hi Andy,
Use this command "lp -d(printername) -o eolwrap filename".
This should do the work.
Use this command "lp -d(printername) -o eolwrap filename".
This should do the work.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP