home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
printer
/
mb_lp15.arc
/
LP15.MSG
< prev
Wrap
Internet Message Format
|
1989-02-12
|
1KB
From: matt@wind.bellcore.com (Matthew Blaze)
Newsgroups: comp.binaries.ibm.pc
Subject: v01i112: lp, a line printer pgm like BSD lpr(1), v1.5
Summary: lp.exe, a line printer pgm like BSD lpr(1), v1.5
Date: 13 Feb 89 01:51:38 GMT
Approved: dhesi@bsu-cs.UUCP
Posting-number: Volume 01 Issue 112
Originally-from: matt@wind.bellcore.com (Matthew Blaze)
Submitted-by: matt@wind.bellcore.com (Matthew Blaze)
Archive-name: mb_lp/lp.uue
Here is a simple printing program i wrote to approximate the
functionality of the BSD unix lpr(1) command. Type "lp" for
instructions.
Enjoy.
Matt Blaze
[
There are a large number of options: add a header (filename and file's
timestamp) to each page, fold long lines to specified width, expand
tabs at user-defined intervals, pause between sheets, use either hard
formfeed or enough newlines instead, send to any selected device
(default PRN) or to standard output, print from stdin, and set top and
bottom margins to a user-specified amount.
Shareware contributors can get source suitable for Turbo C.
Questionable feature: When output is redirected to stdout, each
<CR><LF> in the input file gets translated to <CR><CR><LF> in the
output. Some brain-damaged "smart" printers, like my Brother CE-50,
will double-space on <CR><CR><LF>.
-- R.D.
]