home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 19 Printer
/
19-Printer.zip
/
LJ2UP25.ZIP
/
LJ2UP.DOC
next >
Wrap
Text File
|
1991-01-17
|
6KB
|
171 lines
LaserJet landscape lister, version 2.5
Copyright (c) 1987 by Joe Barnhart
OS/2 Version (c) 1988 by Martin Heller
LJ III-D Version (c) 1990 by Guy Scharf, Software Architects, Inc.
LJ2UP prints files "two up" on an HP LaserJet or compatible. Using a
II-D or III-D printer, it will optionally print on both sides of the
paper, resulting in 4 pages being printed on a single sheet of paper.
This saves desk space and filing space, not to mention trees.
Optionally, use a HP III or III-D printer, it will print index tab
dividers.
SYSTEM REQUIREMENTS
LJ2UP requires an HP printer or compatible. A landscape line printer
font must be available, either internally in the printer or in a
cartridge.
The index tab feature requires a HP III or III-D printer and the
Univers font in 14 point bold.
LJ2UP is a bound program, and works with both DOS and OS/2. Under
OS/2, LJ2UP works in both full-screen and PM text windows. LJ2UP is
a character mode program and not a PM window program.
USAGE
LJ2UP [switches] [filenames]
The following switches are available:
-x turn off date and time stamp
By default, a date and time stamp is printed at the
bottom of each page. The -x option turns off this
line.
-s enable Forth screenfile mode
Prints file as Forth screenfiles.
-v disable vertical line
By default, a vertical line is printed between the
left and right pages. The -v option turns off this
line.
-t<num> spacing of tab stops
If tab characters are in the file, they are interpreted
as being spaced 8 characters apart. If you want a
different definition for tab width, use this option.
For example, to translate physical tab characters as
4 spaces, use -t4.
-p<num> print length in lines
Normally, with date and time stamp enabled, 65 lines
are printed on each page. Any page ejects in the file
will be honored. If you want the default number of
lines per page to be different, use this parameter.
For example, -p50 will make a page 50 lines long.
-i IBM mode, 66 lines, no FF's
-d turn on duplex printing
If you have a duplex printer such as the HP II-D or
III-D, this option will enable the printer to print
on both sides of the paper.
-b<num> paper bin (1=top, 2=bottom, 3=manual)
By default, paper is selected from the default input
tray on the printer. If you have a HP II-D or III-D
printer, you can select the second input tray by
using the -b2 option. The -b3 option will cause the
printer to take paper from the manual feed.
-c combine files on one sheet
When using the -d option to enable duplex printing, each
separate file printed will start on a new physical sheet
of paper. This means that the back side of the last
sheet of paper for a file may be blank. The -c option
forces the next file to be printed on the back of the
blank sheet from the previous file, if the back page
of the last file was blank.
-m<num> create index divider tabs [start pos]
The -m option causes index tabs to be printed for each
file. There are six index tab positions, numbered from
1 to 6. If no number is specified, the index tab for the
first file will be at position 1. Each successive file
will have its index tab at the next position.
-n<str> name to print on index tab
If index tabs are enabled, the name printed on the tab is
the name of the file. If you want some other name
printed on the tab, use this option.
-o<str> output device or file
Output is normally directed to the standard printer. To
direct output to another device or file, use this option.
Switches may be combined.
EXAMPLES
1) To print LJ2UP.DOC, with two pages on one side of the paper and
no index tabs:
lj2up lj2up.doc
2) To print all *.C files in the current directory, on both sides of
the paper (using a HP II-D or III-D), with index tabs, using paper in
the second tray:
lj2up -dmb2 *.c
3) To print a READ.ME file that accompanies some product, but using
an index tab with a more appropriate name of "NEWPROG.DOC", and using
the 2nd tab position:
lj2up -dm2 -nNEWPROG.DOC read.me
SETTING DEFAULT VALUES IN ENVIRONMENT VARIABLES
If you commonly use the same parameters, you may specify those
parameters in a LJ2UP environment variable. For example, if you
always use -dbm2, then place the following statement in your
AUTOEXEC.BAT file:
set lj2up=-dmb2
Now, each time you use LJ2UP, these parameters will be applied
automatically.
HISTORY
V 2.5 Guy Scharf, January 17, 1991
Add support for duplex printing, index tabs, paper tray
selection, and more lines on each page. This version is a
bound program for use with both DOS and OS/2.
V 2 Martin Heller OS/2 version June 30, 1988
Joe Barnhart added vertical line to page Apr 3, 1987
prt redirect Oct 26, 1986
Joe Barnhart added wildcards, split long
lines, command line switches,
screenfiles July 24, 1986
Ray Duncan modified for Microsoft C Oct. 18, 1985
Joe Barnhart added pathname support,
Joe Barnhart revised date stamping June 6, 1985
Ray Duncan date and time stamping May 22, 1985
Joe Barnhart original version for Lattice C May 5, 1985