home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
C128
/
RAMPAKD.ARK
/
LLIST.DOC
< prev
next >
Wrap
Text File
|
1987-07-06
|
5KB
|
130 lines
LISTT -- File utility program for printers -- 02/02/83
Irvin M. Hoff
Los Altos Hills, CA 94022
"LISTT" is a printer utility program that lists any requested file on
your printer. (The CRT also displays what is being printed). The name
was selected so it would be easy to type, easy to remember and be illus-
trative of its capabilities.
Include the name of the file (and its extent) that is
to be listed when asking for the program:
A>LISTT HELLO.ASM
A menu then appears asking several questions:
Do you want tear tabs to use roll paper? (Y/N): (1)
Number of spaces to aunt left margin (0-99): (2)
Ignore FF (Y/N): (3)
Heading/date is: (4)
Start at page : (5)
Quit at page : (6)
1) A "Y" gives tear tabs for roll paper. Any other reply
(including RET) defaults to fanfold with no tear tabs.
2) Ability to include 0-99 spaces at the left margin for
those printers without adjustable margins. A RET de-
faults to no spaces (normal left margin). Rejects any
non-numeric characters except RET.
3) Responds to form feeds unless a 'Y' is typed. Outputs
an appropriate number of line feeds enabling printers
without form feed to paginate correctly.
4) Heading desired (such as current date, etc.) Up to 124
characters may be used. The name of the file plus cur-
rent page number near the right margin are both automatic.
A RET defaults to file name and page number.
5) Asks for starting page (defaults to page 1).
6) Asks for page to stop at (defaults to end of file).
NOTE: There are two options which may be user-set.
These are locations 0103 and 0104. They may
be set with "DDT", "SID" or by editing and
reassembling:
1) PAGCOL -- sets the column the Page number
starts at. Some printers have
72 columns total, some 80, some
132, etc. (Byte 0103)
2) TTABN -- Sets the space between tear tabs
for roll paper. Some printers have
72 columns, some 80, some 132, etc.
(Byte 0104)
Thus you can compensate for various printers and also print any
portion of the file you wish.
FEATURES:
a) Shows on the CRT what is being printed.
b) Optional fanfold or roll paper. Adds tear tabs if roll
paper is selected.
c) Can abort at any time with CTL-C, but finishes the cur-
rent line first.
d) Can change the location of the Page number for use with
printers of 72 columns, 80 columns, 132 columns, etc.
(Byte at location 0103, via DDT.)
e) Can change the spacing between the tear tabs for use with
printers of 72 columns, 80 columns, 132 columns, etc.
(Byte at location 0104, via DDT.)
f) Can indent up to 99 spaces to effectively provide an ad-
justable left margin (many printers do not permit changing
the margin). This allows you to easily center any printing.
g) Can start on any page desired, saving paper (and time!)
if you only wish to reproduce certain portions of a file.
h) Can stop at any page desired, allowing the operator to
do other things when only part of the file is needed.
i) Shows the total number of pages in the file if you intion-
ally (or otherwise) ask for a page number that is too high
for the file.
j) If a heading/date is longer than normal spacing for the
page number, it is automatically moved further along. Up
to 124 characters may be used for the heading/date.
k) An option on the menu allows you to ignore form feed chars.
It automatically paginates without form feeds in the text.
l) Works equally well on printers without form feed since it
inserts the correct number of line feeds to paginate.
m) Visually prints control characters imbedded in the text
other than CR, LF, form feed or tab. You can thus dis-
cover any unknown characters that normally do not print.
COMMENT: Line numbers can be added to any ASCII file with
PIP.COM and the [N] option:
A>PIP HELLO1.ASM=HELLO.ASM[N]
Form feeds can be removed with PIP.COM and the [F]
option. You can edit CTL-L (form feed char.) into
the file to force a new page wherever desired.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *