- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PCL5.nloo
Operating System - HP-UX
1820140
Members
3260
Online
109619
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
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
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
тАО06-22-2004 06:44 PM
тАО06-22-2004 06:44 PM
PCL5.nloo
I have a printer options problem. Since the file has more than 80 characters for one line ,when print it, it'd be truncated from 81 character to the end of line. Why it doesn't print on the second line?
I've try the below solutions, it is done.
fold -w 80 filename | lp -d printername
adjust -m80 file_name | lp -dwhatever
But, is it possible only use lp command, then more than 80 chars would auto print on the second line? or is it possible modify printer script directly? Thanks,
I've try the below solutions, it is done.
fold -w 80 filename | lp -d printername
adjust -m80 file_name | lp -dwhatever
But, is it possible only use lp command, then more than 80 chars would auto print on the second line? or is it possible modify printer script directly? Thanks,
Hero
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 12:54 PM
тАО06-23-2004 12:54 PM
Re: PCL5.nloo
Does anyone has the experience about above printer problem? Thanks.
Hero
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2004 01:15 PM
тАО06-23-2004 01:15 PM
Re: PCL5.nloo
This is not a printer problem, it is a formatting issue. If you modify the printer script then you'll break print jobs where a longer line is desired and needed. For instance, someone else may print a file that has graphics or special fonts to downloaad and folding/adjusting every line will break the printout completely into junk. For instance, you cn print your long line file with these commands:
lp -dprintername -o12 filename
lp -dprintername -oc filename
lp -dprintername -olandscape filename
lp -dprintername -olandscape -oc filename
Today's printers are not bound by arbitrary line lengths...almost any line length can be used. In the last example above, you can print lines as long as 200 characters.
The better way to handle autoformatting using either adjust -m80 or fold -w 80 is to add a new option to the existing printer script.
Bill Hassell, sysadmin
lp -dprintername -o12 filename
lp -dprintername -oc filename
lp -dprintername -olandscape filename
lp -dprintername -olandscape -oc filename
Today's printers are not bound by arbitrary line lengths...almost any line length can be used. In the last example above, you can print lines as long as 200 characters.
The better way to handle autoformatting using either adjust -m80 or fold -w 80 is to add a new option to the existing printer script.
Bill Hassell, sysadmin
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