- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- staircase problem printing
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
09-26-2001 12:28 AM
09-26-2001 12:28 AM
staircase problem printing
Does anyone know how to fix the staircase problem when printing to lp. I have a
xerox printer.
regards
Johan den Boer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 01:32 AM
09-26-2001 01:32 AM
Re: staircase problem printing
This can be fixed by editing the model script. Which Xerox printer is it? I know they have model definitions for some of their printers on HPUX.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 01:39 AM
09-26-2001 01:39 AM
Re: staircase problem printing
I would assume your printer is expecting each line to be terminated by a \r\n sequence, but it's only getting the standard Unix EOL \n.
You can easily fix this by sed'ing the EOLs.
But for a filter this is a poor hack.
Better get some free filter like a2ps (if it's ASCII files)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 01:47 AM
09-26-2001 01:47 AM
Re: staircase problem printing
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 04:55 AM
09-26-2001 04:55 AM
Re: staircase problem printing
If you can use an external pipeline, then you can probably solve your problem with ux2dos(1), i.e.
cat file | ux2dos | lp -d ....
If you can not use an external pipeline, then you can use ux2dos(1) in a *copy* of the current model script and remove/re-add the printer while specifying the new model script.
For this, you will need to have some expertise in understanding/modifying shell scripts.
For details, see the "Models" section in the lpadmin(1M) manual page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2001 04:58 PM
09-26-2001 04:58 PM
Re: staircase problem printing
some printers have an option to make linefeed
generate a carriage return.
Check the text mode options for the printer.
If you can't change the printer, you are stuck with
changing the filter.
In PCL the command
will change the line termination as follows:
cr -> cr; lf -> cr-lf; ff -> cr-lf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2001 01:11 AM
09-27-2001 01:11 AM
Re: staircase problem printing
See printers manual.