- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lp issue - text file is getting truncated to 80 ch...
Operating System - HP-UX
1823114
Members
3222
Online
109646
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
03-10-2008 08:37 AM
03-10-2008 08:37 AM
lp issue - text file is getting truncated to 80 chars from 132 chars
We are having a problem when printing from HP-UX 11 to a Windows printer designed to capture the Unix output.
The printer has been set up using SAM as a Remote Printer, and the Windows Server has a corresponding printer set up.
Using ‘lp –d RemotePrinter testfile’ does sent the output to the correct windows printer, but the resultant text file wraps any lines longer than 80 characters.
As our output can be up to 132 characters, this is causing a formatting problem.
How can we stop the text file starting a new line after 80 characters? Is is a Unix problem or a windows one?
All help rewarded !!
Simon
The printer has been set up using SAM as a Remote Printer, and the Windows Server has a corresponding printer set up.
Using ‘lp –d RemotePrinter testfile’ does sent the output to the correct windows printer, but the resultant text file wraps any lines longer than 80 characters.
As our output can be up to 132 characters, this is causing a formatting problem.
How can we stop the text file starting a new line after 80 characters? Is is a Unix problem or a windows one?
All help rewarded !!
Simon
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 09:00 AM
03-10-2008 09:00 AM
Re: lp issue - text file is getting truncated to 80 chars from 132 chars
since you can't send formatting directives to a remote printer from the unix side, you must configure a printer queue on windows that will print 132 wide as it's default. this may involve such things as specifying landscape instead of portrait, different font size, etc....
then make that print queue the destination for your remote printer.
a better option, if avaialble, is to set the thing up as a jetdirect (network) printer.
Since you didn't specify mfg, model or interfaces available, I can't say whether that's a viable option or not
then make that print queue the destination for your remote printer.
a better option, if avaialble, is to set the thing up as a jetdirect (network) printer.
Since you didn't specify mfg, model or interfaces available, I can't say whether that's a viable option or not
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