If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jean-Pierre Radley <jpr@jpr.com>
Subject: Re: lprpp
Date: Sat, 17 Mar 2001 17:41:15 GMT
References: <20010317114901.E5769@jpradley.jpr.com>
Jean-Pierre Radley propounded (on Sat, Mar 17, 2001 at 04:49:01PM +0000):
| In the HPLaserJet interface script, output is piped through
| /usr/lib/lprpp *unless* the -oraw option has been passed to the lp
| command.
|
...
|
| There are some side effects not mentioned in that description:
|
| a formfeed character is introduced every 'page lentgh' lines,
|
| tabs are converted to spaces,
|
| trailing carriage returns are suppressed.
|
| That last effect bit badly when substituting an HP2100 for an older
| LaserJet. That printer has no control panel, and does not offer a way
| to make it supply CRs upon seeing LFs; so text that was produced with an
| LF/CR pair by an application reached the printer without the CRs, and
| the text stair-stepped itself clear off the page.
I should add:
If a unix text file is printed using this interface script, there is no
stair-stepping, because before opening any input material, the script
sends the PCL command '\033&k2G', which tells the printer to interpret
LF as CR/LF. BUT: the application I was testing this with, filepro,
starts off any output with '\033E', which has the effect of negating that
line-termination instruction.
--
JP
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)
| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 2 | 5 | 12 | 164 | 932 |
/Bofcusm/1050.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Add your comments