man page for lprpp


What is this stuff?

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>


Hate these ads?



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


ad








Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
2512164 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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://www.m3ipinc.com Security, firewalls, ids, audits, vulnerability assesments, BS7799, HIPAA, GLB, incident handling


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.



Twitter
  • Nov 21 07:55
    @loudmouthman: correct, but how do you prove ANYTHING like that is accurate? You can't. A text file is no better or worse than anything.
  • Nov 21 07:40
    @loudmouthman: well, a digital signature could prove it hadn't been altered. Text is no more insecure than anything else in that sense.









Change Congress


Related Posts