home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
LJLND311.ZIP
/
LJLAND.DOC
< prev
next >
Wrap
Text File
|
1993-08-10
|
94KB
|
2,284 lines
████ ████▐███ ▐█████▌ ███▌ ████ ███████▄ TM
██ ██ ██ ██ ██ ███▌ ██ ██ ██
██ ▄▄▄▄ ██ ██ ██▄▄▄██ ██ ██ ██ ██ ▐█▌
██ ▄▄ ██ ██ ██ ▄▄ ██ ██ ██ ▐███ ██ ██
████████ ███████ ████████▐███ ████ ████ ▐███ ███████▀
File Printing Program for the HP LaserJet Family of Printers
Version 3.11
(C) Copyright 1992 by TaxWare, PO Box 2014, Provo, UT 84603-2014
All rights reserved.
┌─────────┐
┌─────┴───┐ │ (R)
──│ │o │──────────────────
│ ┌─────┴╨──┐ │ Association of
│ │ │─┘ Shareware
└───│ o │ Professionals
──────│ ║ │────────────────────
└────╨────┘ MEMBER
August 1993 Edition LJLAND v3.11
─────────────────────────────────────────────────────────
Copyright Notice
LJLAND is Copyright 1992 by TaxWare and its author. All rights re-
served.
This document and all accompanying documentation is Copyright 1992 by
TaxWare. All rights reserved.
─────────────────────────────────────────────────────────
Trademarks
LJLAND is a trademark of TaxWare and its author.
All trademarks and registered trademarks referenced within this
document are the property of their respective holders.
─────────────────────────────────────────────────────────
Warranty Disclaimer
TAXWARE MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING
WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR
A PARTICULAR PURPOSE.
TAXWARE DOES NOT ASSUME ANY LIABILITY FOR THE USE OF THIS SOFTWARE
BEYOND THE ORIGINAL PURCHASE PRICE OF THIS SOFTWARE.
IN NO EVENT WILL TAXWARE BE LIABLE TO YOU FOR ANY ADDITIONAL DAMAGES,
INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF, OR INABILITY TO USE, THIS
SOFTWARE AND ITS ACCOMPANYING DOCUMENTATION, EVEN IF TAXWARE HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
LJLAND User's Manual ii LJLAND v3.11
Table of Contents
─────────────────────────────────────────────────────────
Chapter One 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Registered vs. Shareware Version . . . . . . . . . . . . . . . . . 1
LJLAND System Requirements . . . . . . . . . . . . . . . . . . . . 1
LJLAND Installation . . . . . . . . . . . . . . . . . . . . . . . . 1
LJLAND Quick Start . . . . . . . . . . . . . . . . . . . . . . . . 2
LJLAND With Databases . . . . . . . . . . . . . . . . . . . . . . . 2
LJLAND With Manuals and Standard ASCII Text Files . . . . . . . . . 3
LJLAND With Program Listings . . . . . . . . . . . . . . . . . . . 3
LJLAND With Spreadsheets . . . . . . . . . . . . . . . . . . . . . 4
LJLAND With Word Processors . . . . . . . . . . . . . . . . . . . . 5
Chapter Two 6
LJLAND Usage and Syntax . . . . . . . . . . . . . . . . . . . . . . 6
LJLAND Configuration Screen . . . . . . . . . . . . . . . . . . . . 6
LJLAND Default Configuration . . . . . . . . . . . . . . . . . . . 7
LJLAND Help Screen . . . . . . . . . . . . . . . . . . . . . . . . 7
LJLAND Help For Specific Options . . . . . . . . . . . . . . . . . 8
File Specifications . . . . . . . . . . . . . . . . . . . . . . . . 8
Combining LJLAND Options . . . . . . . . . . . . . . . . . . . . . 8
LJLAND Environment Variable . . . . . . . . . . . . . . . . . . . . 8
Columns and Pages . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter Three 12
LJLAND Option Summary . . . . . . . . . . . . . . . . . . . . . . . 12
/A Alternate Font . . . . . . . . . . . . . . . . . . . . . 12
/B Binder Format . . . . . . . . . . . . . . . . . . . . . . 13
/C Number of Columns . . . . . . . . . . . . . . . . . . . . 13
/D Duplex Printing . . . . . . . . . . . . . . . . . . . . . 13
/E Expand Tabs . . . . . . . . . . . . . . . . . . . . . . . 14
/F Formatting . . . . . . . . . . . . . . . . . . . . . . . 14
/G Greenbar . . . . . . . . . . . . . . . . . . . . . . . . 17
/H Header . . . . . . . . . . . . . . . . . . . . . . . . . 18
/I Indent . . . . . . . . . . . . . . . . . . . . . . . . . 18
/J Network Print Job . . . . . . . . . . . . . . . . . . . . 19
/K Keep Files Together . . . . . . . . . . . . . . . . . . . 19
/L Lines Per Column . . . . . . . . . . . . . . . . . . . . 19
/M Macro Overlay . . . . . . . . . . . . . . . . . . . . . . 20
/N Line Numbering . . . . . . . . . . . . . . . . . . . . . 22
/O Output Redirection . . . . . . . . . . . . . . . . . . . 22
/P Paper Source . . . . . . . . . . . . . . . . . . . . . . 23
/R Range . . . . . . . . . . . . . . . . . . . . . . . . . . 23
/S Set Tab Stop . . . . . . . . . . . . . . . . . . . . . . 25
/T Title . . . . . . . . . . . . . . . . . . . . . . . . . . 25
/U Change Escape Character . . . . . . . . . . . . . . . . . 26
/V Portrait Mode Printing . . . . . . . . . . . . . . . . . 26
/W Wrapped Line Indent . . . . . . . . . . . . . . . . . . . 27
/X Copies . . . . . . . . . . . . . . . . . . . . . . . . . 27
/Z Alphabetize . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter Four 29
iii LJLAND User's Manual LJLAND v3.11
Alternate Fonts . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A 32
LJLAND Error Messages . . . . . . . . . . . . . . . . . . . . . . . 32
Appendix B 34
Correspondence . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Index 35
LJLAND User's Manual iv LJLAND v3.11
Chapter One
─────────────────────────────────────────────────────────
Introduction
The LJLAND program prints text files in landscape orientation on any HP
LaserJet and 100% compatible printer. Other than your personal computer
and printer, nothing else is needed to use LJLAND. The program is
extremely versatile. See the options that follow.
─────────────────────────────────────────────────────────
Registered vs. Shareware Version
LJLAND is distributed as both a shareware product and as a retail
product. The shareware version and the retail version are identical,
except that the shareware version displays reminders to order a
registered copy of LJLAND, and it allows you to print the Order Form.
If you are using the retail version, purchased from TaxWare, Thank You.
If you are using the shareware version, we hope you find it to be
useful.
This manual is used with both the shareware and registered versions of
LJLAND. If you are using the shareware version, refer to the following
documents for additional information: SHAREW.DOC, REGISTER.DOC,
ORDER.FRM.
─────────────────────────────────────────────────────────
LJLAND System Requirements
LJLAND requires the following:
o A personal computer (PC) running DOS version 2.1 or higher and
having at least 40K of free RAM
o An HP LaserJet or 100% compatible laser printer
─────────────────────────────────────────────────────────
LJLAND Installation
Installing LJLAND is very simple:
o Create a subdirectory for LJLAND
o Copy the files from the LJLAND distribution diskette to the new
subdirectory
For example,
Create a subdirectory called LJLAND and change directory to it:
C:> MD LJLAND
C:> CD LJLAND
1 LJLAND User's Manual LJLAND v3.11
Next, place the LJLAND distribution diskette in the floppy drive and
copy all its files to the newly created subdirectory:
C:> COPY A:*.*
─────────────────────────────────────────────────────────
LJLAND Quick Start
If you have not installed LJLAND, please do so by following the in-
structions in the Installation section. If you have completed installa-
tion, you are ready to begin using LJLAND.
To print a file using LJLAND, type LJLAND at the DOS prompt, followed by
the name of the file.
LJLAND AUTOEXEC.BAT
If the file didn't print like you expected, you'll need to add some
options to your command line. First, see the Usage and Syntax section
in Chapter Two; then, see Chapter Three for the available options.
─────────────────────────────────────────────────────────
LJLAND With Databases
LJLAND cannot print database files directly. In order for LJLAND to
print information from your database, you must first print your database
records to a file. The method for "printing to file" depends on the
database application you use. Refer to you manual for details on either
"print to file" or "output redirection." Once you have accomplished
this step, you are ready to print the database information using LJLAND.
One of the options you will most likely be interested in is /C, for
setting the number of columns you want to print. LJLAND without the /C
option prints in two columns. If your database records are longer or
shorter, you may wish to use a different number of columns.
If you want your records numbered, you may wish to use the /N option.
However, be aware that using the /N option leaves six less characters
per line.
If you need only a certain range of fields within each record, you can
use the /RC to specify the range.
If you are printing wide reports and the records are longer than 174
characters per line, you should consider using an alternate font (see /A
and ALTCFG). For example, using /C1 and /A with the 27.27 pitch font on
the ProCollection cartridge, you can print 318 lines up to 287 charac-
ters per line on one sheet of paper.
LJLAND User's Manual 2 LJLAND v3.11
─────────────────────────────────────────────────────────
LJLAND With Manuals and Standard ASCII Text Files
Manuals and text files are text files created by text editors, word
processors, spreadsheets, databases, and other applications. Other than
text editors, most applications store information in some format other
than readable/printable text. Such applications have the capability to
"export" the information they store to text files printable by LJLAND.
Most manuals and text files can be printed "as is." However, you may
want additional formatting and features offered by LJLAND.
Many manuals have been created using word-processors, and so they
already have header and footer information which includes page numbers.
Thus, you may want to use the /T option to suppress the LJLAND titles,
which have page numbers already in them, or you may wish to use the /T
option to create custom titles without any page numbers. If you do not
use the /T option to suppress titles (and especially page numbers), you
should not use the /FP option.
If you are going to put your document in a standard 3-ring binder, you
will want to use the /DL /BL option, so that hole-punch markers will be
printed across the top of each page. Do not use the /DL option with a
non-duplexing printer unless you use the /DM option also. If you are
going to put your document in an IBM-style binder (5-1/2" x 8-1/2"), use
the /DS and /BS options to print hole-punch markers along the left edge
of each half-sheet. Do not use the /DS option with a non-duplexing
printer unless you use the /DM option also. With /DS and /BS (and /DM
if needed) will print page 2 on the back of page 1, page 4 on the back
of page 3, and so on.
─────────────────────────────────────────────────────────
LJLAND With Program Listings
Program listings -- the original reason for developing LJLAND back in
1987.
Nearly all options have been used in conjunction with printing program
listings. Many are a matter of preference. For example, some listings
are printed and distributed for "code reviews," where using the
duplexing features might be inconvenient. Some programmers might like
to see tab stops set every 4th column, while for others it might be
every 5th or 8th column. So, what options you use really depends on how
you want your listings printed.
One option that you might find useful is the /N option for line
numbering. If numbering every line looks cluttered, you might want to
number every 10th line (/N10), or every 100th line (/N100). Lines
without numbers will still be indented as if a number were printed.
Since the /N option will leave you with six less characters per line (77
instead of 83), it is also advisable to use the /FP option, which will
give you 3 more characters per line (back up to 80). Long lines
intelligently word-wrap by default. They will wrap to the column you
3 LJLAND User's Manual LJLAND v3.11
specify with the /W option. If you use /N, you will see an arrow "->"
instead of a line number where long lines have wrapped.
The /S option allows you to specify the tab stops. By default, your
listing will be printed with tabs landing at every 8th character
position. This might be okay for assembly program listings, but C
programmers might prefer tab stops every 4th character position (/S4).
To print hard copy archives using as little paper as possible, you
should consider the following options: /A for printing with a smaller
font (and therefore possibly /C for more columns), /D for duplexing, /F1
and /F2 for getting rid of unnecessary blank lines and form feeds, and
/K to allow more than one file to be printed on the same sheet of paper,
if possible.
Title (/T) and header (/H) options are useful for printing identifying
information - header information for names, today's date, copyright
information, or whatever, and title information for file name, date,
time, etc.
The Greenbar (/G) option provides a way of contrasting lines of text.
Multiple files can be specified on the command line. If many are
listed, it might be desirable to have the files be printed alphabetical-
ly. The /Z option provides two different methods for alphabetizing: 1)
alphabetize all files listed on the command line, or 2) alphabetize for
each filespec included on the command line. Thus, the following
examples for /ZA (alphabetize all files) and /ZF (alphabetize per
filespec) would yield different results for the files FIRST.C, SECOND.C,
FIRST.H, and SECOND.H
LJLAND /ZA *.C *.H
LJLAND /ZF *.C *.H
If your listings have long lines that will wrap and you don't want the
wrapped line to begin printing at the first character position, use the
/W option to specify the position where to begin printing the wrapped
lines.
If you only want to see how the file(s) will be printed, use the "dry
run" option /O. This will show you the configuration for how the
options are interpreted, it will display the files that would be printed
and how much paper would be required to print them.
If you only want to print a specific range of lines or pages without
printing the whole file, you can do so with the /RL or /RP options.
─────────────────────────────────────────────────────────
LJLAND With Spreadsheets
See LJLAND With Databases. Most of the same information applies to
spreadsheets.
LJLAND User's Manual 4 LJLAND v3.11
─────────────────────────────────────────────────────────
LJLAND With Word Processors
LJLAND does not print word processor documents directly. As with
database and spreadsheet applications, you must create ASCII text files
that LJLAND can print. There are a couple of ways you can generate such
text files from your word processor documents. One way is to save the
file as an ASCII text (or DOS text) file; the other is to "print to
disk" your document using a "standard" or "DOS text" printer driver.
This manual was actually created using a word processor, then printed to
a disk file called LJLAND.DOC using a standard printer driver. See your
word processor's manual for information about how to print to disk, or
how to save to text files. Then, see the section called LJLAND With
Manuals and Standard ASCII Text Files for additional tips on printing
the files.
5 LJLAND User's Manual LJLAND v3.11
Chapter Two
─────────────────────────────────────────────────────────
LJLAND Usage and Syntax
The syntax of LJLAND is:
LJLAND [option option ...] fileSpec1 [fileSpec2 ... ]
In its simplest form, LJLAND is typed at the DOS prompt followed by the name
of a file you want to print, like this:
LJLAND SOMEFILE.TXT
In this simple case, no options are specified, and one filespec (SOME-
FILE.TXT) is.
So, if you need to print out this file (LJLAND.DOC) using the LJLAND program,
you would type in the following command at the DOS prompt:
LJLAND LJLAND.DOC
Since NO options were specified, LJLAND.DOC would be printed using DEFAULT
settings. Here, default means the way the document will be printed if no
options are included between LJLAND and the name of the file to be printed.
As files are being printed, the configuration is printed on the screen. In
this case, since no options were specified, the configuration represents the
default settings.
─────────────────────────────────────────────────────────
LJLAND Configuration Screen
┌───────────────────────────────────────────────────────────┐
│ LJLAND Version 3.11 │
│ (C) Copyright TaxWare 1989, 1992. All Rights Reserved. │
│ │
│ Column Format │
│ Output To Printer LPT1 │
│ Simplex (One Side) Mode │
│ 2 Columns Per Side │
│ 83 Characters Per Column │
│ 66 Lines Of Text Per Column │
│ 8 Columns Per Tab Stop │
│ │
│ Printing C:\LJLAND\LJLAND.DOC │
│ 36 Columns Printed On 18 Sheets Of Paper │
│ │
│ 1 File Printed In 36 Columns On 18 Sheets Of Paper │
└───────────────────────────────────────────────────────────┘
If you want to see the configuration screen without printing anything, do not
specify any filenames. If you also need to see how many pages would be
printed, specify the file(s) and include the /O option (see the /O option).
LJLAND User's Manual 6 LJLAND v3.11
─────────────────────────────────────────────────────────
LJLAND Default Configuration
In the preceding example, the file LJLAND.DOC would be printed in Column
Format (see the /FP and /FC options) to the printer LPT1 (see the /O option).
It would print in two columns (see the /C option) on only one side of the
paper (see the /D option), up to 83 characters per column, and up to 66 lines
of text per column (see the /L option). Also, if tabs are encountered in the
text, tab stops will be set every 8th column (see the /S option).
─────────────────────────────────────────────────────────
LJLAND Help Screen
If you need help using LJLAND, simply type LJLAND at the DOS prompt and press
Enter. A screen similar to the following screen will appear:
┌──────────────────────────────────────────────────────────────────────────┐
│ LJLAND Version 3.11 (reg'd to <registered user's name here>) │
│ (C) Copyright TaxWare 1989, 1992. All Rights Reserved. │
│ LJLAND - HP LaserJet Landscape Text File Print Program │
│ Usage: LJLAND [option option ...] fileSpec [fileSpec ... ] │
│ /A alternate font; (341 16.66 8.50 0 0 0). │
│ /B[n] binder format; n = N for no hole-punch markers. │
│ /C# columns of text per page; # = 1..5; default = 2. │
│ /D[n] duplex printing; n = bind mode: L=long/S=short/M=manual. │
│ /Fn format; C=column/P=page. │
│ /G# greenbar; alternate shade every #th line; default = 1. │
│ /H header options. │
│ /In# indent; n = T=top/L=left; # = lines or columns. │
│ /J[n] network print job; n = optional print job configuration. │
│ /K keep files together. │
│ /L# lines per column; # = 10..66; default = 66. │
│ /N# number every #th line; # = 1..100. │
│ /O[n] output device; LPTn: n = 1..3; file: any valid n; dry run: no n│
│ /P# paper source; # = 1=Multi-Purpose/2=Manual/4=Lower. │
│ /Rn#-# range; n = P=pages/L=lines/C=character columns. │
│ /S# tab stops every #th column; # = 1..10; default = 8. │
│ /T title options. │
│ /W[#] wrapped line indent; no # = no wrapping. │
│ /X# copies. │
│ /Zn alphabetize; n = A=all files specified/F=per fileSpec. │
│ For Detailed Help: LJLAND /?[option] │
└──────────────────────────────────────────────────────────────────────────┘
The help screen will also be shown when an invalid option is used.
7 LJLAND User's Manual LJLAND v3.11
─────────────────────────────────────────────────────────
LJLAND Help For Specific Options
To receive more detailed help regarding a particular option, you can
either refer to this document, or you can type LJLAND /? at the DOS
prompt followed immediately by the option character you need help with.
For example, by typing the following, detailed help would be displayed
for the various binder options.
LJLAND /?B
─────────────────────────────────────────────────────────
File Specifications
After the options (if any), you may list as many files as you want on
the command line. Wildcards (*,?) are supported. For example,
LJLAND C:\TODAY.LOG d:basprogs\*.bas d:c_progs\*.c 05??89.LOG
will print
o a file called TODAY.LOG located at the root of the C: drive,
o all files ending with the .BAS extension in the BASPROGS subdirec-
tory of the D: drive,
o all files ending with the .C extension in the C_PROGS subdirectory
of the D: drive, and
o all files that match the pattern 05??89.LOG in the current directo-
ry, where ?? can be any two legal filename characters.
─────────────────────────────────────────────────────────
Combining LJLAND Options
Except where noted, options may be combined. The option letters do not
need to be upper case. For example, the following command will print
the files MANUAL1.DOC and MANUAL2.DOC in 3-column format, 60 lines of
text per column, on the 2nd parallel printer, and indenting wrapped
lines 8 spaces.
LJLAND /o2 /c3 /l60 /w8 manual1.doc manual2.doc
Also, note that the options can be listed in (almost) any order, but all
must be listed before the first fileSpec. Remember to separate each
option by at least one space.
─────────────────────────────────────────────────────────
LJLAND Environment Variable
If there are options that you frequently use, you can save time by
putting them in the DOS environment. To put this information in the DOS
environment, you must use the DOS SET command to set an environment
variable named LJLAND to contain the options. (See your DOS Reference
LJLAND User's Manual 8 LJLAND v3.11
Manual for details about using the SET command.) All options in the
LJLAND environment variable will be considered by the LJLAND program to
precede any other options you include on the command line. For example,
if you are always printing C source code listings, you may wish to do
something like the following:
SET LJLAND=/S4 /W20 /H@C:\HEADERS\COPYRITE.TXT /N100
(Note: no spaces are allowed between LJLAND, the equal sign, and the
first / of the first option.)
Then, when you need to print files, you would simply type something
like:
LJLAND PROGRAM.C PROGRAM.H
This is equivalent to typing the very long command:
LJLAND /S4 /W20 /H@C:\HEADERS\COPYRITE.TXT /N100 PROGRAM.C
PROGRAM.H
Remember, each LJLAND command line will have the LJLAND environment
variable options added to the beginning. So, if you print several
different types of documents, you may not want to use the LJLAND
environment variable, so as to avoid confusion.
If you want to cancel the LJLAND environment variable, type the
following at the DOS prompt:
SET LJLAND=
Press the Enter key right after the equal sign.
(And again, no spaces are allowed between LJLAND and the equal sign.)
─────────────────────────────────────────────────────────
LJLAND Columns and Pages
The terminology of columns and pages is quite often confusing. For
example, one might be talking about printing 4 columns of text on 1 page
of paper, with each column of text actually representing 1 page of text.
To add to the matter, within each column (or page) of text, there are 80
or so columns (spaces) of text - like rows, only turned sideways. So,
"page" can mean the sheet of paper, or it can mean a column of text
representing a page. Likewise, "column" can mean the division of one
side of the paper wherein a page of text is printed, and it can mean one
vertical row of text.
In an attempt to clarify the ambiguity of the terms "page" and "column,"
this document will (hopefully consistently) treat the terms in the
following way:
9 LJLAND User's Manual LJLAND v3.11
A page can be one column of text, or it can be all the text on one side
of a sheet of paper.
It can be a column of text in the sense that each column of text
has its own page number, and possibly a title and a header. In
this case, the page will have its own frame, not connected to any
other columns of text on that side of the sheet of paper. This is
what is referred to as Column Format, LJLAND's default format. See
the /FC option for more information.
Page Format
┌───────────────────────────────────────────────────────┐
│ ┌───────────────────────────────────────────────────┐ │
│ │ This is a header line for Page Format │ │
│ ├─────────────────────────┬─────────────────────────┤ │
│ │ asgwrtst th tfhsty dfg │ │ │
│ │ tyj t yj ygf df sdfhg │ yaryasfdyas das asdfh │ │
│ │ sdfuyt dgj zsty. │ tryu xfg gyio bjg. │ │
│ │ │ │ │
│ │ asd fdgjhdrtyu fgh sdf │ aryt fjhgk w4ta aweraf │ │
│ │ hfui hj cfghsdgfs sdf │ rtywt wetweq. Opsxt w │ │
│ │ ff fg guyif ssfgh df │ frfhsg. Qvwrege fdgj │ │
│ │ iotysdt sd. │ drt gyujgfhs. │ │
│ │ │ │ │
│ │ Ytetul dshgsn gdd fgjk │ srdytj asetrujety srt. │ │
│ │ dfhgd jhlkklg 455 sdt. │ │ │
│ │ │ │ │
│ ├─────────────────────────┴─────────────────────────┤ │
│ │ SUMFILE.TXT 1-1-91 10:30a Pg 1 │ │
│ └───────────────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────┘
A page can be one side of a sheet of paper. In this case, even if
there may be more than one column of text, all columns share one
page number, one title, and one header. That is, no matter how
many columns of text there might be, there can only be one page
number, one title, and header for that side of the paper. This is
what is referred to as LJLAND's Page Format. See the /FP option
for more information.
LJLAND User's Manual 10 LJLAND v3.11
Column Format
┌───────────────────────────────────────────────────────┐
│ ┌────────────────────────┐ ┌────────────────────────┐ │
│ │ Column Format Header │ │ Column Format Header │ │
│ ├────────────────────────┤ ├────────────────────────┤ │
│ │ asgwrtst th tfhst dfg │ │ │ │
│ │ tyj t yj ygf df sdfhg │ │ yaryafdyas dasz asdfh │ │
│ │ sdfuyt dgj zsty. │ │ tryu xfg gyio bjg. │ │
│ │ │ │ │ │
│ │ asd fdgjhdrtyu fgh sdf │ │ ryt fjhgk w4ta aweraf │ │
│ │ hfui hj cfghsdgfs sdf │ │ r wt wetweq. Opsxt w │ │
│ │ ff fg guyif ssfgh df │ │ frfhsg. Qwrege fdgj │ │
│ │ iotysdt sd. │ │ drt gyujgfhs. │ │
│ │ │ │ │ │
│ │ Ytetul dshgsn gdd fgjk │ │ sdytj asetrujety srt. │ │
│ │ dfhgd jhlkklg 455 sdt. │ │ │ │
│ │ │ │ │ │
│ ├────────────────────────┤ ├────────────────────────┤ │
│ │ A.FIL 1-1-91 Pg 1 │ │ A.FIL 1-1-91 Pg 2 │ │
│ └────────────────────────┘ └────────────────────────┘ │
└───────────────────────────────────────────────────────┘
You may want to experiment with a few pages to determine which format
and which options make LJLAND print your documents the way you want.
11 LJLAND User's Manual LJLAND v3.11
Chapter Three
─────────────────────────────────────────────────────────
LJLAND Option Summary
/A Alternate Font
/B Binder Format
/C Number of Columns
/D Duplex Printing
*/E Tab Expansion
/F Formatting
/G Greenbar
/H Header
/I Indent
/J Network Print Job
/K Keep Files Together
/L Lines Per Column
*/M Macro Overlay
/N Line Numbering
/O Output Port/Redirection/Dry Run
/P Paper Source
/R Range
/S Set Tab Stop
/T Title
*/U Change Escape Character
*/V Portrait Mode Printing
/W Wrapped Line Indent
/X Copies
/Z Alphabetize Files
*these options do not appear on the Help Screen, since they are seldom used.
Listed below are the options that will allow you to override the default
settings.
─────────────────────────────────────────────────────────
/A Alternate Font
This option allows you to print documents with a font other than the
default font. (The default font is the built-in Line Printer 8.5 point
16.66 pitch font.) The alternate font information is contained in the
LJLAND.EXE file and is configurable using a separate utility, ALTCFG.
Until you use ALTCFG to modify the LJLAND program file, the /A option
will have no effect. If you do configure LJLAND for an alternate font,
and you specify the /A option, the results will be unpredictable if the
printer is not aware of the font; that is, if the font cartridge is not
inserted, or if the soft font is not downloaded. If LJLAND has been
configured for an alternate font, the default font will still be used if
you do not specify /A. With ALTCFG, LJLAND can be configured over and
over.
LJLAND User's Manual 12 LJLAND v3.11
─────────────────────────────────────────────────────────
/B Binder Format
This option allows you to print documents in standard IBM binder format
by placing hole punch markers in the appropriate positions. This option
will not work with the original model LaserJet because printer commands
not supported by it are used (macros, advanced graphics, push and pop
cursor position, and dot cursor moves). This option is valid with any
number of columns (/C) in simplex mode. However, in duplex mode (/D),
/C1 must be specified, meaning 1-up, or one column printing. This is
because page 2 can only be printed on the other side of page 1 when 1-up
format is specified. Using this option will decrease the characters
that can be printed per column by 5 (e.g. from 86 characters per column
to 81 in 2-up format). Therefore, this option combined with the /N
option, which requires 6 characters of each column, may produce
unexpected results. The following command will print the file TEST.C
using the IBM Binder Format.
LJLAND /B TEST.C
─────────────────────────────────────────────────────────
/C Number of Columns
LJLAND allows you to print from one to five columns on each side of
paper. If you do not use this option, the file will be printed in 2
columns. If you use /C and /A together, put /C before /A. The
following command will print the file PHONE.LST in 4-column format.
LJLAND /C4 PHONE.LST
─────────────────────────────────────────────────────────
/D Duplex Printing
This option allows you to utilize both sides of the paper you print on.
If you do NOT use /D, printing will be done on one side of the paper only
(simplex printing), even if the printer supports duplex printing. In
other words, printing is simplex (one side of page) by default.
Duplex Binding Modes
When duplexing, the print on the back side is upside down or rightside
up, depending on how you turn the paper over. The print on the back
side is determined by the "duplex binding mode." The two duplex modes
are most easily understood by remembering that "vertical" binding is
when pages are bound along the physical "length"of the page. This
"vertical" binding is referred to as "long" binding in this document.
The other binding mode is "horizontal," or binding along the "short"
side of the page. This "horizontal" binding is referred to as "short"
binding in this document. Here is an illustration of long and short
binding.
13 LJLAND User's Manual LJLAND v3.11
┌────────────────────┐
│ │
│ Long Binding Mode │
│ Back Side │ ┌────────────────────┐┌────────────────────┐
│ │ │ ╪╪ │
└──╫──────╫──────╫───┘ │ Short Binding Mode ││ Short Binding Mode │
┌──╫──────╫──────╫───┐ │ Back Side ││ Front Side │
│ │ │ ╪╪ │
│ Long Binding Mode │ └────────────────────┘└────────────────────┘
│ Front Side │
│ │
└────────────────────┘
Long Binding /DL
The following command will print the file MANUAL.DOC using both sides of
each sheet of paper and with long binding.
LJLAND /DL MANUAL.DOC
Short Binding /DS
The following command will print the file MANUAL.DOC using both sides of
each sheet of paper and with short binding.
LJLAND /DS MANUAL.DOC
Manual Duplex /DM
If your printer does not have automatic duplex printing, the "manual
duplexing option" /DM allows you to print on both sides of the paper.
First, LJLAND prints the front side of all of the pages to be printed,
then you insert the pages upside down, and LJLAND prints the back side.
Naturally, what is printed on the back side is the same as if you had
printed using a printer with automatic duplexing. /DM can be used with
either /DL or /DS. If it is not, /DL is assumed.
─────────────────────────────────────────────────────────
/E Expand Tabs
This option allows you to specify the number of spaces to expand each tab
in the file. The maximum number of spaces per tab is 10. The following
command will print the file MYMANUAL.DOC, converting all tabs to 8
spaces. Note the difference between tab expansion and tab stops (/S).
LJLAND /E8 MYMANUAL.DOC
─────────────────────────────────────────────────────────
/F Formatting
The /F options allow for miscellaneous formatting outside the standard
default options shown on the help screen.
LJLAND User's Manual 14 LJLAND v3.11
Page Formatting /FP
Page Formatting numbers pages by the side, instead of by the column.
Also, titles and headers are printed only once per side of each page.
All columns of text on one side of a page are framed in one frame, with
dividing lines between columns. If you want to duplex along the short
side of the page and don't want "column-duplexed cut-sheets," you MUST
use Page Formatting. See the section titled Pages and Columns for
clarification of the two term. See also /DS, /T, and /H. The following
example prints the file NEWS.OUT using Page Formatting.
LJLAND /FP NEWS.OUT
Column Formatting /FC
Column Formatting is the default format. You do not need to specify this
format, unless you need to override Page Formatting (/FP) in the LJLAND
environment variable. See the section titled Pages and Columns for
clarification of the two terms. The following example prints the file
NEWS.OUT using Column Formatting.
LJLAND /FC NEWS.OUT
Paper Size /FS
This option allows you to print paper sizes other than the default
letter size. The sizes supported are Legal and A4 (European standard).
To print legal size paper use /FS1, and to print A4 size use /FS2. The
printer must have a tray that supports the size specified. The
following example will print the file LEGAL.DOC on legal size paper from
a legal size paper tray:
LJLAND /FS1 LEGAL.DOC
No Frames /F0
This option allows you to print without the box frames around the text,
if desired. The following examples will print the file NOFRAME.TXT
without the surrounding graphic frames.
LJLAND /F0 NOFRAME.TXT
LJLAND /F NOFRAME.TXT
Compress Blank Lines /F1
This option is useful if you do not want to have successive blank lines
printed. Every time two or more blank lines are found by LJLAND, they
are treated as one line. A line containing only spaces and tabs is NOT
considered a blank line. /F1 is ignored if /F3 is used, but can be used
in conjunction with /F2. This example prints the file OPSYS.C so that
no more than one blank line appears between any two lines of printed
text.
15 LJLAND User's Manual LJLAND v3.11
LJLAND /F1 OPSYS.C
Suppress Formfeeds /F2
This option converts all formfeed characters into blank lines. /F2 is
ignored if /F3 is used, but can be used in conjunction with /F1. You
can see where the converted formfeeds are if you put a character after
the F2. A line of those characters will be printed instead. This
example prints the file ABC.DOC, converting formfeeds to blank lines.
LJLAND /F2 ABC.DOC
Compress White Space /F3
This option gives maximum compression of white space - multiple spaces,
tabs, blank lines, and form feeds are converted to one space character.
Files printed with this option will show at most one space between any
two printed characters, EXCEPT at the end of a printed line, where more
than one space may appear due to word-wrapping. This is so that,
although maximum compression is desired, readability is not lost. The
following options are ignored when /F3 is specified: /E /F1 /F2 /N /RL
/S and /W. /F3 combined with the /A option, where the alternate font is
smaller that the normal font, has resulted in a printer error 21 ("Print
Overrun Error"), which means that the page is too complex for the
printer to print. This example prints the file CODES.DAT with maximum
compression.
LJLAND /F3 CODES.DAT
Suppress Title Shading /F4
This option prints the titles and headers without the shading. This is
useful when using extremely small fonts (see ALTCFG) and the shading
would distort the readability of the title/header text.
LJLAND /F4 TINYFONT.DOC
Suppress Title/Text Divider /F5
This option suppresses the line of the title/header box that separates
the title/header from the rest of the text from being printed. The net
effect is that only one big rectangle is printed around everything.
LJLAND /F5 RECTANGL.DOC
Overstriking/Underlining /F6
This option allows you to harness the overstriking and underlining
features accomplished in wordprocessors like WordPerfect.
LJLAND /F6 COMPLEX.DOC
LJLAND User's Manual 16 LJLAND v3.11
Suppress Leading Blank Page /F7
This option, used with the /RP option, causes any printing to begin in
the first page-column. By default, when the /RP option is used, the
first page specified is printed in the page-column where it would
normally be printed. This example will print page 2 and 3 on the same
side of the paper, page 2 in the left column, and page 3 in the right.
Without /F7, page 2 would print on the second column of 1 piece of paper,
and page 3 would print on the first column of a second sheet of paper.
LJLAND /RP2-3 /F7 NOWASTE.DOC
Page YY of XX /F8
This option causes "Pg yy of xx" to be printed in the title instead of
just "Pg yy." LJLAND must scan the whole document before printing in
order to accomplish this, so printing will take slightly longer. This
option also supports the $PP variable in titles/headers. (See Title and
Header Format Rules below.) The following examples will accomplish the
same thing:
LJLAND /F8 MYFILE.DOC
LJLAND /F8 /T"$FN$MC$Fd $Ft Pg $PN of $PP" MYFILE.DOC
LJLAND /F8 /T$FN$MC$Fd__$Ft__Pg_$PN_of_$PP MYFILE.DOC
Disable Logo /F9
This option is useful only with unregistered evaluation versions of
LJLAND and is used to disable the LJLAND watermark from being printed.
─────────────────────────────────────────────────────────
/G Greenbar
This option allows you to provide contrast between lines of text with a
light shading, much the same as "greenbar" paper. You can specify the
number of lines to be shaded. For example, if you use the option /G5,
the first 5 lines of each page of your file(s) will be printed on a
white background, the next 5 on a light gray background, and so on. If
no number is specified, every other line will be shaded. This example
prints the file TEST.C with the greenbar feature, shading every other
set of 5 lines.
LJLAND /G5 TEST.C
These next examples print the file GREEN.DAT, shading every other line.
LJLAND /G GREEN.DAT
LJLAND /G1 GREEN.DAT
17 LJLAND User's Manual LJLAND v3.11
─────────────────────────────────────────────────────────
/H Header
This option allows you to specify text to be printed at the top of each
column of normal text. Headers are framed and shaded, similar to
titles. If using Page Format, headers are printed only once per side of
each page. See the Title /T option for details regarding formatting
rules. The following equivalent commands will print headers at the top
of each column of text.
LJLAND /H"This is a header" TESTFILE
LJLAND /HThis_is_a_header TESTFILE
Headers can also be text files. To use text files as headers, type /H
followed by the ampersand symbol followed by the path of the file
containing the header information. For example,
LJLAND /H@C:\HEADER\COPYRITE.TXT PROGRAM.ASM
will print the file PROGRAM.ASM with a header. The text of the header is
imported from the file COPYRITE.TXT found in the subdirectory named
HEADER at the root of the C: drive. If the header information file is
not found, LJLAND will abort execution. If /H is specified in the LJLAND
environment variable, you can override it by using the /H option on the
command line. If you do not want to use the header specified in the
LJLAND environment variable, specify /H without any header information
on the command line, like this
LJLAND /H TESTFILE
─────────────────────────────────────────────────────────
/I Indent
This option allows you various methods for indenting your text. You can
specify the number of spaces to indent each line of text, either from
the right side or from the left side of each column. You can also set
the number of lines to indent at the top or the bottom. The effect is
that white space is added wherever you indent. /IL is for left; /IR is
for right; /IT is for top; and /IB is for bottom indenting. Note that
indenting with /IL is combined with the amount that wrapped lines are
indented with /W. The following are examples of using the Indent
option.
Indent Left /IL
LJLAND /IL2 /IR2 STORY.BK
This example prints the file in columns of 4 less spaces than it normally
would; 2 extra spaces are added to the left and to the right side where
text could normally be placed.
Indent Top /IT
LJLAND /IT10 STORY.BK
LJLAND User's Manual 18 LJLAND v3.11
This example prints the file beginning 10 lines further down in each
column than it normally would.
─────────────────────────────────────────────────────────
/J Network Print Job
This option allows you to print to a Novell network (LaserJet) printer.
The NetWare CAPTURE utility, which must be located in one of the search
mappings (usually SYS:PUBLIC) is run with the job specified. If no job
is specified, CAPTURE will use your default print job. If the NetWare
print job specified does not have the Auto Endcap option turned on, you
must explicitly run ENDCAP when you are done running LJLAND. The
following examples show how to use this option; the first uses the
default "print job definition," and the second one uses job named
"LASERJET3D," the third one is the same as the second.
LJLAND /J MEL.BUG
LJLAND /JLASERJET3D SUPER.SET
LJLAND /J=LASERJET3D SUPER.SET
─────────────────────────────────────────────────────────
/K Keep Files Together
If this option is specified when printing more than one file, each
subsequent file will begin printing at the top of the next COLUMN,
instead of at the top of the next PAGE. This can be useful when
printing files for archival purposes, especially in conjunction with the
/D and /A options (assuming the alternate font has been set to a smaller
font with ALTCFG). This option has no effect when printing files one at
a time. The following examples print the specified files on as few
sheets of paper as possible. (Again, the second example assumes that
LJLAND is configured for an alternate font that is smaller than the
default font.)
LJLAND /D1 /K *.BAS README.DOC ORDER.FRM
LJLAND /D1 /A /C3 /S4 /K *.C *.ASM *.386 *.BAT
─────────────────────────────────────────────────────────
/L Lines Per Column
This option allows you to specify the maximum number of lines that will
be printed in each column. This option is useful when printing text
files containing a fixed number of lines of text per record. This way,
information that should stay together will not spill into the next
column. For example, to print the file PHONE.LST, which has 8 lines of
information per record, and to keep all info for each record together,
you would use the /L option with a multiple of 8 that is less than 66
(64, 56, 48...).
LJLAND /L64 PHONE.LST
19 LJLAND User's Manual LJLAND v3.11
─────────────────────────────────────────────────────────
/M Macro Overlay
This option allows you to overlay each column or page with a printer
macro. Although printer macros can include a variety of printer
commands, this option is intended more for graphic macros (logos,
watermarks, signatures, letterhead, or any images you might want
overlaid). The watermark printed by the shareware version of LJLAND is
an example of a macro. Macros are files containing data (usually
graphic data with LJLAND) that must be "downloaded" to the printer in
order to be printed. LJLAND will download the macro files, or you can
use other utilities to download your macros prior to printing them with
LJLAND. TaxWare has a DOWNLOAD utility provided with its PCX2PCL
package that you can use to download macros if you wish. When macros
are downloaded, a macro ID is specified. If you want LJLAND to print a
macro that is already downloaded to the printer, you must specify the
macro ID using the /MI option. If you want LJLAND to download your
macro, you must specify the macro file using the /MF option. If LJLAND
downloads your macro, it will download it with a macro ID of 31, unless
you specify a different macro ID with the /MI option. If you use /MF to
have LJLAND do the downloading, you really only need to use /MI if you
have a macro that has already been downloaded to the printer with a
macro ID of 31. This is highly unlikely.
If you want your macros printed every column, use the /MC option.
Otherwise your macro will print once per page (/MP option) by default.
For documents printed in landscape orientation (the default for LJLAND),
macros are positioned relative to the upper right-hand corner of the
frame that surrounds the text being printed. For documents printed in
portrait orientation using the /V option, macros are positioned relative
to the upper left-hand corner of the frame.
You may want to position your macro away from the origin using the /MY
and /MX options. You will probably need to experiment with these
options to achieve the desired results. If /MY and /MX do not affect
the position of the macro, the macro must have absolute positioning
commands in addition to the graphic data. It is beyond the scope of
this document as to how to modify such macros.
There should be two macro files included with the LJLAND package:
TWLOGO.LND and TWLOGO.POR. These files are small graphic macros of
TaxWare's logo. The first file is the logo in landscape orientation,
and the second one is the same logo in portrait orientation. To see how
macros work, test these macro files like this:
LJLAND /MFTWLOGO.LND ORDER.FRM
LJLAND /MFTWLOGO.POR /V ORDER.FRM
Macro File Download /MF
This option specifies the filepath of a macro file for LJLAND to
download and print. For example,
LJLAND User's Manual 20 LJLAND v3.11
LJLAND /MFC:\LJLAND\MACROS\CONFIDEN.MAC PAYROLL.SUM
Macro ID /MI
This option specifies the ID (1 to 32767) of the macro to be printed,
if the macro has already been download to the printer prior to running
LJLAND. Or, if you designate LJLAND to download the macro file by using
the /MF option, /MI will assign whatever macro ID you specify. The case
where you would use both /MF and /MI would be when you know that there is
already a macro downloaded with the ID of 31 and you don't want to
overwrite it. For example,
LJLAND /MI24 STUFF.TXT (macro already downloaded
with ID of 24)
LJLAND /MFLOGO.PCL /MI24 STUFF.TXT (LJAND downloads macro with
ID of 24)
Macro Every Page /MP
This option causes the macro to be printed once on every page. This is
the default, if you use /MF or /MI and do not specify /MC. For example,
the following two examples will yield the same results.
LJLAND /MFLOGO.PCL /MP STUFF.TXT
LJLAND /MFLOGO.PCL STUFF.TXT
So why have /MP? Its a long shot, but its there just in case you
specify /MC in the LJLAND environment variable and you want to change it
for whatever reason.
Macro Every Column /MC
This option causes the macro to be printed in every column as opposed to
once every page. For example,
LJLAND /MFLOGO.PCL /MC STUFF.TXT
Macro Vertical Position /MY
This option allows you to reposition the macro vertically (downward)
from the origin. The unit of measure is 1/300th of an inch. So in order
to move the macro downward 1/10th of an inch, for example, you would do
the following.
LJLAND /MFLOGO.PCL /MY30 STUFF.TXT (30 being 1/10th of 300)
Macro Horizontal Position /MX
This option allows you to reposition the macro horizontally (sideways)
from the origin. The unit of measure is 1/300th of an inch. So in order
to move the macro left 1/2 of an inch, for example, you would do the
following. (If you are printing in portrait orientation (/V), the
movement is to the right.)
21 LJLAND User's Manual LJLAND v3.11
LJLAND /MFLOGO.PCL /MX150 STUFF.TXT (150 being 1/2 of 300)
Now, wasn't that a lot of explanation for something that you'll probably
never use anyway?
Since the /M option is seldom used, its description is NOT included on
the Usage screen.
─────────────────────────────────────────────────────────
/N Line Numbering
This option allows you to print line numbers for every nth line of text.
The following examples will print line numbers for every (new) line of
text in the file PROGRAM.C.
LJLAND /N PROGRAM.C
LJLAND /N1 PROGRAM.C
The following example will print line numbers for every 10th line of text
in the file PROGRAM.C.
LJLAND /N10 PROGRAM.C
Using this option will decrease the characters that can be printed per
column by 6. Therefore, this option combined with the /B option, which
requires 5 characters of each column, may produce unexpected results.
The maximum line number that can be printed is 99999.
─────────────────────────────────────────────────────────
/O Output Redirection
Normally, LJLAND prints to the printer connected to the first parallel
port, LPT1. The /O option allows you to designate a device other than
LPT1. With this option, LJLAND can redirect its output to other parallel
printer ports, such as LPT2 and LPT3. LJLAND can also print output to a
file for later printing. The "dry run" is also useful for times when you
only want to see "how" LJLAND will print something without actually
printing it. See the three methods of output redirection below.
No Printing or Redirection (Dry Run) /O
This option, also known as "dry run," allows you to see the configuration
with which the file(s) will be processed, and how many pages will be
required. No printing (or redirection) is done. For example, the
following command will do nothing other than inform you how the file(s)
*.TCC would be printed.
LJLAND /O *.TCC
LJLAND User's Manual 22 LJLAND v3.11
Parallel Printer Port /O#
This option allows you to print to a parallel port other than the default
port LPT1. The printer ports supported are LPT1, LPT2 and LPT3. If your
printer has a serial (COM) interface, use the DOS MODE command to allow
you to use the printer as a parallel printer. The following command will
print the file READ.ME to printer LPT2.
LJLAND /O2 READ.ME
Redirect Output To File /Ofilename
This option allows you to redirect your output to a DOS file, usually to
be printed later using the DOS PRINT or COPY command. Any valid file
path without wildcards (*,?) may be specified. Errors will occur if you
do not have proper rights to create and write the file, or if the disk
to contain the file becomes full, or if the file you specify is in the
list of files to be printed. If you specify a file that already exists,
it will be overwritten. The following command will redirect the output
from the file README.DOC to another file README.PRT on the disk in the
A: drive.
LJLAND /OA:README.PRT README.DOC
Later, the file can be printed to your laser printer in one of the
following ways:
PRINT A:README.PRT
COPY /B A:README.PRT LPT1
─────────────────────────────────────────────────────────
/P Paper Source
This option allows you to designate any of your paper locations as the
paper source. If you only want to print from your currently selected
paper source, you do not need to use this option. For the manual input
tray, specify 2; for the lower tray specify 4; for the upper tray or for
the Series IIP's multi-purpose tray specify 1. The following example
will print from the manual feed slot.
LJLAND /P2 DAILY.LOG
─────────────────────────────────────────────────────────
/R Range
This option allows you to select a range of pages (/RP), lines (/RL), or
character columns (/RC) to print. This can save you time and paper when
you don't need to print a complete file for the output you want. When
printing ranges of pages or lines, only one file can be specified. With
character column ranges, any number of files can be specified. /RP and
/RL should not be used together. /RC can be used in conjunction with
either /RP or /RL. In this case, only one file can be specified. With
23 LJLAND User's Manual LJLAND v3.11
page ranges, all columns (pages) of text that would normally be printed
on the sheet(s) of paper, will be printed. (See the examples that
follow.) This way, you can get a replacement page for pages that might
have been lost or damaged. Each column printed is considered a page,
unless Page Format (/FP) is specified, in which case each page side is
considered a page. Lower ranges must be 1 or more, and upper ranges
must be less than 65,520.
Page Range /RP
LJLAND /RP1-2 ACCTG.RPT
LJLAND /R1-2 ACCTG.RPT
will print pages 1 and 2 of the file ACCTG.RPT.
LJLAND /R4-5 ACCTG.RPT
will print pages 3 through 6 (4 columns; 2 sheets of paper).
LJLAND /D /R4-5 ACCTG.RPT
will print pages 1 through 8 (8 columns; 2 sheets of paper).
LJLAND /D /FP /R4-5 ACCTG.RPT
will print pages 3 through 6 (8 columns; sheets of paper).
LJLAND /R-9 ACCTG.RPT
will print through page 9.
LJLAND /R10- ACCTG.RPT
will print from page 10 through the end.
Line Range /RL
LJLAND /RL25-50 SCREENS.PRT
will print lines 25 thru 50 of the file SCREENS.PRT.
LJLAND /RL-25 SCREENS.PRT
will print lines 1 through 25.
Character Column Range /RC
LJLAND /RC10-90 DEMOGRAF.DAT
will print only columns 10 through 90 of the file DEMOGRAF.DAT. In other
words, for each line of text (or for each record in a database), the
first 9 character columns will be skipped, the next 80 will be printed,
and anything remaining in the line will be skipped.
LJLAND /RC50- /N HOUSEHLD.DAT ADULTS.DAT
will print everything from column 50 and beyond for each of the files
specified, each of the lines being numbered.
LJLAND User's Manual 24 LJLAND v3.11
─────────────────────────────────────────────────────────
/S Set Tab Stop
This option allows you to set the tab stops to every nth column. This
option allows you to format program source files (such as C programs)
that use marginal tabs, so they will print just as they appear in your
text editor. The /S option cannot be used in conjunction with the /E
option, which is used to expand tabs a specified number of spaces. The
following command will print the file CHESS.PAS, with margins set to
every 4th column (5, 9, 13,...). Note the difference between tab stops
and tab expansion (/E).
LJLAND /S4 CHESS.PAS
─────────────────────────────────────────────────────────
/T Title
The /T options allows you to print your files with custom titles, or to
print without any titles at all. /T by itself allows you to print
without the title (filename, date, time and page number) on each page.
When /T is used to suppress titles, the number of lines that can be
printed per column increases by two. The following command will print
the file SPREDSHT.ASC in one column and without the title line.
LJLAND /C1 /T SPREDSHT.ASC
To print custom titles, add the desired text after the /T. For example,
LJLAND /H"This is a title" TESTFILE
LJLAND /HThis_is_a_title TESTFILE
To add special formatting see the formatting rules below.
Title and Header Format Rules
$PN Prints the current page (column) number
$PP Prints the total number of pages (columns) in the document
(see the /F8 option)
$FN Prints the DOS file name
$FD Prints the file's creation/modification date - literal (May 5,
1992)
$Fd Prints the file's creation/modification date - numeric (5-5-92)
$FT Prints the file's creation/modification time - military (14:30)
$Ft Prints the file's creation/modification time - am/pm (2:30p)
$TD Prints today's date - literal (August 17, 1992)
$Td Prints today's date - numeric (8-17-92)
$TT Prints today's time - am/pm (10:15a)
$$ Prints the dollar sign "$" (the only way to print it)
$_ Prints the underscore character "_" (the only way to print it)
$~ Prints the tilde character "~" (the only way to print it)
$JL Prints the line left justified
$JC Prints the line center justified
$JR Prints the line right justified
25 LJLAND User's Manual LJLAND v3.11
$MC Prints the line split-centerd
%% Prints the percentage character
underscore "_" Prints the space character
tilde "~" Adds a new line (carriage return/line feed)
A dollar sign "$" followed by any other character will result in that
character being printed (without the dollar sign).
The default title format is "$FN$MC$Fd $Ft Pg $PN". This is equivalent
to $FN$MC$Fd__$Ft__Pg_$PN. So, the following commands would print the
same thing:
LJLAND /T"$FN$MC$Fd $Ft Pg $PN" MYFILE.DOC
LJLAND /T$FN$MC$Fd__$Ft__Pg_$PN MYFILE.DOC
LJLAND MYFILE.DOC
Since options are separated by spaces, you must surround the complete
title option with quotes if it contains spaces. The other alternative is
to use the underscore, which is the substitute character for the space
character and will be converted to a space by LJLAND.
Differences between titles and headers:
o headers are always printed at the top of the text - titles can be at
the bottom or at the top of the text, depending on the duplexing and
binder options;
o the shading is slightly different;
o a header is only printed when specified - a title is always printed
unless otherwise specified;
o header text can be imported from files using /H@filename - a title's
text can only be specified on the command line;
o titles are only one line - headers can be up to ten lines.
Therefore, the tilde character "~" cannot be used for additional
lines in titles.
─────────────────────────────────────────────────────────
/U Change Escape Character
This option allows a character other than ASCII character 27 to be
substituted for the escape character. ASCII characters between 1 and 255
are allowed. Since the /U option is seldom used, its description is NOT
included on the Usage screen.
─────────────────────────────────────────────────────────
/V Portrait Mode Printing
This option allows you to print in portrait mode, that is, across the
width of the page. With this option, only one column/page can be
LJLAND User's Manual 26 LJLAND v3.11
printed per each side of a sheet of paper. Therefore, /C, /FP, /FC have
no effect when used with /V. The following example prints the file
LONG.LST in portrait orientation.
LJLAND /V LONG.LST
─────────────────────────────────────────────────────────
/W Wrapped Line Indent
This option allows you to specify the number of spaces to indent wrapped
lines. The maximum allowable indentation is half of the computed
"Characters Per Column." Numbers greater than half the computed
"Characters Per Column" will be adjusted to half that of the Characters
Per Column value. Note that the amount that wrapped lines are indented
with /W is combined with any indenting with the /IL option. Without the
/W option, long lines are wrapped to the first character column of the
next line without breaking up words. The following are examples of using
the Wrap option. The following command will print the file STORY.BOK,
indenting wrapped lines 10 spaces. Words
LJLAND /W10 STORY.BOK
You can also "chop off" the text from the lines that would normally
wrap-around to the next line with the /W option by not including a
number with the option. This can be useful when the Lines Per Column /L
option is used to keep records grouped together, and if there is a
possibility that lines might be longer than the width of the column. In
addition, chopped off lines will be printed out to the last character
column of text, allowing the last word to be cut short. The following
command will disable long lines of text in the file ADDRESS.LST from
wrapping to the next line.
LJLAND /W ADDRESS.LST
─────────────────────────────────────────────────────────
/X Copies
This options allows you to print more than 1 copy of the specified
file(s) at a time. The first copy of all files will be printed, then
the second, and so on. This way, the copies are already sorted. The
following example will print 6 copies of the file AGENDA.
LJLAND /X6 AGENDA
─────────────────────────────────────────────────────────
/Z Alphabetize
This option allows you to print files alphabetically. There are two ways
of using this option. See the examples below for an explanation. In the
following examples, ALL files in the list are sorted, then they are
printed alphabetically. /Z, ZA, and /Z1 yield the same results.
27 LJLAND User's Manual LJLAND v3.11
LJLAND /Z *.C *.H *.ASM
LJLAND /Z1 L*.C README.DOC MAKEFILE TEMP\*.ASM C:\AUTOEXEC.BAT
In the following example, the files that match the *.C specification are
printed alphabetically ; then, the files that match the *.h specification
are printed alphabetically; finally, MAKEFILE.MAK is printed. /ZF and
/Z2 do the same thing.
LJLAND /Z2 *.C *.H MAKEFILE.MAK
LJLAND User's Manual 28 LJLAND v3.11
Chapter Four
─────────────────────────────────────────────────────────
Alternate Fonts
ALTCFG is a program for configuring LJLAND to print with an alternate
font (see the /A option). Alternate font information can be set using
ALTCFG in two ways - either interactively, or completely from the
command line. ALTCFG reads information stored in the file LJLAND.EXE.
It allows you to change that information to a font of your choice. To
do so, you must know the following 6 characteristics of the font:
symbol set, pitch, point, style, stroke weight, and typeface. (Refer to
the documentation provided by your font vendor for the font's
characteristics.) The new information you provide for the alternate
font is stored again in the file LJLAND.EXE.
First, copy ALTCFG.EXE to the subdirectory containing LJLAND.EXE. Next,
run ALTCFG by typing ALTCFG at the DOS prompt, and responding
appropriately to the program's prompts. If you do not run ALTCFG in the
same directory where LJLAND.EXE is, or if you do not have the rights
(usually with networks) to read AND write or modify files in that
directory, you will get the error message:
Cannot open LJLAND.EXE with read/write access.
If everything is OK, you will see the settings for which LJLAND is
currently configured. For example,
symbol set 341 (10U)
pitch 16.66
point 8.50
style 0
stroke weight 0
typeface 0
By the way, these are the original settings for the alternate font, which
are actually the same values as the default font. (The default is the
one used when LJLAND is run without the /A option.)
ALTCFG Interactive Method
If you run ALTCFG without any command line parameters, you will be
prompted to enter the new values for the 6 characteristics of the
alternate font. If a value does not need to be changed, you can press
the Enter key. Once you have entered all the necessary changes, you
will be prompted to confirm your changes.
ALTCFG Command Line Method
You can run ALTCFG without any interaction if you type in the 6
characteristics on the command line (after typing ALTCFG and before
pressing the Enter key).
If you have made changes and if the changes are successfully stored to
LJLAND.EXE, you will see the message:
29 LJLAND User's Manual LJLAND v3.11
Changes completed to LJLAND.EXE
If you have not made any changes, you should see the message:
No changes made to LJLAND.EXE
There are maximum and minimum values allowed by ALTCFG for each of the
characteristics. They are shown here.
characteristic min max decimal allowed
symbol set 0 (0A) 65526 (2047V) no
pitch 8.0 50.0 yes
point 3.0 24.0 yes
style 0 1 no
stroke weight -7 7 no
typeface 0 255* no
*scaleable typefaces will have values greater than 4096.
You can run ALTCFG as many times as you want, either to change the
characteristics of the alternate font, or simply to view the current
settings.
The following sections further describe the various font characteristics.
─────────────────────────────────────────────────────────
Symbol Set
The Symbol Set identifies the specific symbols in a font. The default Symbol
Set used by LJLAND is 10U (or 341), which is the PC-8 symbol set. You may
enter the Symbol Set ID into ALTCFG in either its numeric form (341 for
example) or its alphanumeric form (10U for example). Refer to the font
information provided by your font vendor for the correct Symbol Set value.
─────────────────────────────────────────────────────────
Pitch
The Pitch designates the horizontal spacing of a fixed-spaced font in terms
of the number of characters per inch. For example, if the font you want to
use as the LJLAND alternate font has a pitch of 12, you must enter 12 for
this font characteristic. In this case, documents printed with the /A option
will be printed with 12 characters per inch. The Pitch that LJLAND prints
with in its defualt state is 16.67, or 16.67 characters per inch.
─────────────────────────────────────────────────────────
Point
The Point specifies the height of the font. One point is approximately 1/72
inch. For example, a 12 point font is 12/72, or 1/6 inch tall. For scalable
fonts, enter the Point characteristic to the nearest quarter point desired.
LJLAND User's Manual 30 LJLAND v3.11
For all other fonts, enter the exact Point size. The Point size that LJLAND
uses normally is 8.5 points.
─────────────────────────────────────────────────────────
Style
The Style identifies the posture of the font characters. The style values
for the most common typefaces are in the following table. The two most
common are Upright (0) and Italic (1).
0 Upright
1 Italic
4 Condensed
5 Condensed Italic
8 Compressed/Extra Condensed
24 Expanded
32 Outline
64 Inline
128 Shadowed
160 Outline Shadowed
─────────────────────────────────────────────────────────
Strokeweight
The Strokeweight designates the thickness of the strokes that compose the
font's characters. The supported Strokeweight values are -7 through 7, as
shown in the following table. You must use the exact Strokeweight value of
the font you wish to use. Generally, this value will be 0 or -3.
-7 Ultra Thin
-6 Extra Thin
-5 Thin
-4 Extra Light
-3 Light
-2 Demi Light
-1 Semi Light
0 Medium, Book or Text
1 Semi Bold
2 Demi Bold
3 Bold
4 Extra Bold
5 Black
6 Extra Black
7 Ultra Black
─────────────────────────────────────────────────────────
Typeface
The Typeface indicates the design of the font. The two most common fixed
space fonts are Lineprinter and Courier, typefaces 0 and 3 respectively.
Refer to the information from your font vendor for the correct Typeface value.
31 LJLAND User's Manual LJLAND v3.11
Appendix A
─────────────────────────────────────────────────────────
LJLAND Error Messages
The messages that you may encounter when running LJLAND are listed below
with the reason(s) for the message.
Cannot Allocate Enough Memory
There is not enough memory to run the program. Remove enough of
your resident programs (TSRs) until the message goes away.
Cannot Find LJLAND.DOC
This error occurs when using the /? option and the file LJLAND.DOC
is not found in the same directory as LJLAND.EXE. Locate the file
LJLAND.DOC and copy it to the directory where LJLAND.EXE is.
Cannot Find LJLAND.HLP
This error occurs if the help support file LJLAND.HLP cannot be
found. Locate this file and place it in the same directory where
LJLAND.EXE and LJLAND.DOC are located.
Cannot Get Help For Unknown Option <option>
An unknown option was specified using the /? option.
Cannot Get Help From Outdated User Manual
LJLAND uses the two files LJLAND.DOC and LJLAND.HLP to provide
detailed help. LJLAND.DOC must be the current version. Locate the
current version and copy it to the directory where LJLAND.EXE and
LJLAND.HLP are located.
Cannot Open <filePath> - Not Printed
The filePath could not be opened. Either the file does not exist,
or you do not have enough rights to open it.
Cannot Open <outputDevice>
This error occurs if LJLAND cannot access the designated printer
port, or if it cannot create the designated file. See the /O
option.
Cannot Use Expand Tabs /E And Tab Set /T Together
This error occurs if you specify both of these options together.
Re-enter the command without one or both of these options.
Cannot Use Lines Per Column /L Option With /IT or /IB
This error occurs if you specify both of these options together.
Re-enter the command without one or both of these options.
Cannot Use Range /R Option With Multiple Files
This error occurs if you specify the Range option with either pages
(/RP) or lines (/RL) and you try to print more than one file.
Re-enter the command with only one filespec, or without the /R
option.
LJLAND User's Manual 32 LJLAND v3.11
Column Range Value /RC# Greater Than Allowed Width Of #
This error occurs if the upper range for the character column value
is greater than the computed number of characters per column
allowed. Enter a new upper range, or no upper range at all.
Error Downloading Logo
This error occurs only with the unregistered evaluation version of
LJLAND. If this error persists, use the /F9 option to disable
LJLAND from attempting to print the logo.
Error Downloading Macro File <macroFilePath>
This error occurs if LJLAND was unsuccessful downloading the
designated macro file. Try re-entering the command without the /M
option. If no more errors occur, the problem is the macro file.
If you continue to get errors, the error is with the printer or
cabling.
Error Printing Order Form To <LPT#>
This error occurs only with the unregistered evaluation version of
LJLAND and only if the file ORDER.FRM is not in the same directory
as the LJLAND program. Either copy the file ORDER.FRM to the same
directory as LJLAND, or print it with the DOS PRINT command.
Ignoring Keep /K Option
This is not really an error. It simply means that since only one
file is being printed, the Keep /K option cannot be applied.
Ignoring Network Print Job /J Option
This message does not really indicate an error. It occurs when you
have used the /J option in conjunction with the /O option, and the
/O option is set to redirect output to a file or to "dry run."
Ignoring One Or More Of /E /F1 /F2 /N /RL /S /W With Compression /F3
Option
This message is not really an error. It means that certain
specified options are ignored because the /F3 option overrides them.
Insufficient Memory - Too Many Files
A list of files is built in your computer's memory from the list you
enter on the command line. This error occurs if your computer runs
out of memory while building the list. If possible, re-enter the
command with a smaller list of files. Otherwise, you will need to
free up some memory by removing other resident software (TSRs).
Invalid Macro File Path <macroFile>
This error occurs if the path entered with the /MF option is
invalid. Either re-enter the command with a valid file path in the
/MF option, or remove the /MF option from the command.
Invalid Option Found In LJLAND Environment String
An invalid option was found in the LJLAND environment variable.
Either reset the LJLAND environment variable with valid options, or
remove it from the DOS environment.
33 LJLAND User's Manual LJLAND v3.11
Invalid Path <filePath>
An invalid path name was included on the command line. Re-enter the
command line with only valid file specifications.
No COM Device Support
This error occurs when you specify a COM device with the /O option.
LJLAND supports only printers connected with parallel interfaces.
One way to circumvent this limitation is to redirect your output to
a file using the /O option. Then, after using the DOS MODE command
to redirect parallel output to your COM port, use the DOS PRINT (or
equivalent) command to print the file containing the original
redirected output.
No Files Match <fileSpec>
LJLAND prints this message for every file it could not find that was
included on the command line. Other files which LJLAND finds will
be printed.
Option Value Out Of Range (<option>)
This error occurs if an option is entered incorrectly. Re-enter the
command with a valid value for the option.
Option Values For Duplex /D And Binder /B Must Be The Same
This error occurs if the values entered with the /D and /B options
are different. They must be the same, if used together.
Order Form File Not Found
This error occurs only with the unregistered evaluation version of
LJLAND and only if the file ORDER.FRM is not in the same directory
as the LJLAND program. Copy the file ORDER.FRM to the same
directory as LJLAND - it is required in order for LJLAND to operate.
Unknown Option <option>
This error occurs when you enter options that LJLAND does not know
about. This is usually the result of a typing error on the command
line. Re-enter the command line with only valid options.
Appendix B
─────────────────────────────────────────────────────────
Correspondence
TaxWare is customer-driven. Let us know what you like and what you
dislike. Please send bug reports and enhancement requests to:
TaxWare
attn: LJLAND
PO Box 2014
Provo, UT 84603-2014
Phone: (801) 489-3732 (Monday thru Friday, 10am-5pm MDT)
LJLAND User's Manual 34 LJLAND v3.11
─────────────────────────────────────────────────────────
Index
Legal . . . . . . . . . . . . . . 15
A4 . . . . . . . . . . . . . . . 15 Line Numbering . . . . . . . . . . 22
Alphabetize . . . . . . . . . . 27 Line Range /RL . . . . . . . . . . 24
ALTCFG . . . . . . . . . . . . . 29 Lines Per Column . . . . . . . . . 19
ALTCFG Command Line Method . . . 29 Listings . . . . . . . . . . . . . 3
ALTCFG Interactive Method . . . 29 LJLAND With Word Processors . . . 5
Alternate Font . . . . . . . . . 12 Long Binding /DL . . . . . . . . . 14
Alternate Fonts . . . . . . . . 29 Macro Every Column /MC . . . . . . 21
Appendix A . . . . . . . . . . . 32 Macro Every Page /MP . . . . . . . 21
Appendix B . . . . . . . . . . . 34 Macro File Download /MF . . . . . 20
ASCII Text Files . . . . . . . . . 3 Macro Horizontal Position /MX . . 21
Binder Format . . . . . . . . . 13 Macro ID /MI . . . . . . . . . . . 21
Change Escape Character . . . . 26 Macro Overlay . . . . . . . . . . 20
Chapter Four . . . . . . . . . . 29 Macro Vertical Position /MY . . . 21
Chapter One . . . . . . . . . . . 1 Manual Duplex /DM . . . . . . . . 14
Chapter Three . . . . . . . . . 12 Manuals . . . . . . . . . . . . . 3
Chapter Two . . . . . . . . . . . 6 Network Print Job . . . . . . . . 19
Character Column Range /RC . . . 24 No Frames /F0 . . . . . . . . . . 15
Column Formatting /FC . . . . . 15 No Printing or Redirection (Dry
Columns . . . . . . . . . . . . 13 Run) /O . . . . . . . . 22
Columns and Pages . . . . . . . . 9 Number of Columns . . . . . . . . 13
Combining LJLAND Options . . . . . 8 Option Summary . . . . . . . . . . 12
Compress Blank Lines /F1 . . . . 15 Output Redirection . . . . . . . . 22
Compress White Space /F3 . . . . 16 Overstriking/Underlining /F6 . . . 16
Configuration Screen . . . . . . . 6 Page Formatting /FP . . . . . . . 15
Copies . . . . . . . . . . . . . 27 Page Range /RP . . . . . . . . . . 24
Copyright Notice . . . . . . . . ii Page YY of XX /F8 . . . . . . . . 17
Correspondence . . . . . . . . . 34 Paper Size /FS . . . . . . . . . . 15
Databases . . . . . . . . . . . . 2 Paper Source . . . . . . . . . . . 23
Default Configuration . . . . . . 7 Parallel Printer Port /O# . . . . 23
Disable Line Wrapping . . . . . 27 Pitch . . . . . . . . . . . . . . 30
Disable Logo /F9 . . . . . . . . 17 Point . . . . . . . . . . . . . . 30
Dry Run . . . . . . . . . . . . 22 Portrait Mode Printing . . . . . . 26
Duplex Binding Modes . . . . . . 13 Program Listings . . . . . . . . . 3
Duplex Printing . . . . . . . . 13 Quick Start . . . . . . . . . . . 2
Environment Variable . . . . . . . 8 Range . . . . . . . . . . . . . . 23
Error Messages . . . . . . . . . 32 Redirect Output To File
Expand Tabs . . . . . . . . . . 14 /Ofilename . . . . . . . 23
File Specifications . . . . . . . 8 Registered vs. Shareware Version . 1
Formatting . . . . . . . . . . . 14 Set Tab Stop . . . . . . . . . . . 25
Greenbar . . . . . . . . . . . . 17 Short Binding /DS . . . . . . . . 14
Header . . . . . . . . . . . . . 18 Spreadsheets . . . . . . . . . . . 4
Header Format Rules . . . . . . 25 Strokeweight . . . . . . . . . . . 31
Help For Specific Options . . . . 8 Style . . . . . . . . . . . . . . 31
Help Screen . . . . . . . . . . . 7 Suppress Formfeeds /F2 . . . . . . 16
Indent . . . . . . . . . . . . . 18 Suppress Leading Blank Page /F7 . 17
Indent Left /IL . . . . . . . . 18 Suppress Title Shading /F4 . . . . 16
Indent Top /IT . . . . . . . . . 18 Suppress Title/Text Divider /F5 . 16
Installation . . . . . . . . . . . 1 Symbol Set . . . . . . . . . . . . 30
Introduction . . . . . . . . . . . 1 System Requirements . . . . . . . 1
Keep Files Together . . . . . . 19 Table of Contents . . . . . . . iii
35 LJLAND User's Manual LJLAND v3.11
Title . . . . . . . . . . . . . 25
Title and Header Format Rules . 25
Trademarks . . . . . . . . . . . ii
Typeface . . . . . . . . . . . . 31
Usage and Syntax . . . . . . . . . 6
Warranty Disclaimer . . . . . . ii
Word Processors . . . . . . . . . 5
LJLAND User's Manual 36