home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
PRINTER
/
LJLPT20
/
LJLPT.DOC
< prev
Wrap
Text File
|
1994-10-22
|
7KB
|
138 lines
███ ███ ███
███ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄ ███ ▄▄▄▄▄ ▄▄███▄▄
███ ▄▄▄███ ▀██▄▄▄ ███▄▄▄█ ███▀ ███ ███▄▄▄█ ███
███ █ ███ ███ ███ ███ ███ ███ ███
▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀
███ ███
███ ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄
███ ███ ███ █ ███▄▄▄█
███ ███ ███ █ ███
▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀▀▀▀▀▀
███▀▀▀▄ ███ ███
███ █ ▄▄▄ ▄▄▄ ▄▄▄ ▄▄▄▄▄▄ ▄▄███▄▄ ▄▄▄▄▄ ▄▄▄ ▄▄▄
███▀▀▀ ███▀ ███ ███ █ ███ ███▄▄▄█ ███▀
███ ███ ███ ███ █ ███ ███ ███
▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀
By William Luitje
22 October 1994
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ Introduction ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
This little utility takes a given text file and prints it in 177
column by 75 row mode in landscape orientation on your Laserjet
or compatible printer and then returns the printer to normal when
it's done. This is great for getting fast, quiet, compact
program listings, unless you're farsighted.
There are options to produce a banner page, add line numbers, add
a heading to the top of every page, make multiple copies and to
highlight some lines with a shaded background. The output can be
directed to any desired output device or file.
The name is kind of clunky but it gets the idea across. I
suggest that you change the filename to something easy to
type.
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ Usage ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
The program command line has the following syntax:
ljlpt <switches> file <output path>
Where 'file' is the text file to be printed and 'output path' is
optional and specifies where to send the output (default is PRN).
You'll need to specify the output path only if the desired
printer is not LPT1 or if you want the output to go in a file.
Switches are case insensitive, can appear in any order and are
chosen from the following:
/B - This switch will produce a banner page showing the file name
and date and time of the listing in big letters.
/H - This switch will cause a three line header to be printed at
the top of each page. The header contains the file name, date
and time and page number.
/L - This switch will cause the current line number to be printed
at the beginning of each line.
/G<#> - This will cause a gray background every #th line. If # is
not specified, then a value of 3 is used; # must be from 1 to 9.
This is used to simulate "greenbar" line printer paper and is
helpful in reading across columns.
/C<#> - This switch will cause multiple, uncollated copies of the
input file to be printed. If # is not specified then a value of
2 is used; # must be from 1 to 9. Uncollated means that page 1
is printed # times, then page 2, etc. This is the fastest way to
print multiple copies.
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ Limitations ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
This program has been checked on HP LaserJet model II and III
printers and several "laserjet compatible" printers. Printers
using the PCL-3 or later language should work. Earlier models
haven't been tested and might not support all of the features.
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ Warranty & Copyright ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
This software is provided on an as-is basis and no warranty is
made that it will do what you want it to or even what I said it
would. It is designed to be harmless but I haven't tested it on
your system.
The software and documentation in this package are copyrighted
works of William Luitje. You are free to copy and use this
material if the following conditions are met:
■ The program and documentation are distributed together.
■ The program and documentation are unmodified.
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ Registration ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
Well, I've finally put enough work into this that I'm going to
request that you register your usage of this software. How else
am I to know which of the freeware programs I have written are
useful and worth improving? All you need to do is send me a
message that you are using it, either by e-mail or by government
monopoly paper delivery service. If you're going to do the
latter, why not send me a picture postcard of some local object
of civic pride or bad taste?
William Luitje
2677 Wayside Drive
Ann Arbor, MI 48103
USA
Internet: luitje@m-net.arbornet.org
┌─────────────────────────────────────────────────────────────────┐
│▒▒▒ History ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│
└─────────────────────────────────────────────────────────────────┘
1.0 16 Mar 93 Original release
1.1 8 Jul 94 Added second command line parameter to specify
device or file.
2.0 22 Oct 94 Changed line spacing to 9.6 lines/inch from 12.
Set symbol set to PC-8.
Added progress indicator.
Added banner page option.
Added header option (thanks to Gerald Diamond for
this idea).
Added line number option.
Added graybar option.
Added copies option.
Copyright 1994 by William Luitje