home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
printer
/
print1.lha
/
Print1.doc
< prev
next >
Wrap
Text File
|
1990-06-13
|
2KB
|
57 lines
This is a print utility suitable for printing ASCII files. The format
of the command is "Print <options> filenames"
Any number of files may be printed with one command, as in:
print filea fileb filec
There are three options to print. Options are specified by a "-",
followed by the option letters.
The options are h, l, n, s, v, and ?. Options h, n, and s may be used
together.
Option h causes a header to be printed at the top of each page.
The header consists of the page number, date and time, and filename.
Option n causes line numbers to be printed at the beginning of each
line.
Option s causes the output to go to the screen. It really goes to stdout
so it may be redirected.
These options may be used in any combination by listing the letters of
the desired option together after the "-" like this:
print -hn filea
Typing print with no file specified will cause a template of the
commnd to be printed to the screen.
Option l is a primitive mailing label printer. This option depends
on the mailing list to be an ASCII file with each entry 5 lines long.
The first 3 lines of the file will be printed, the next two lines
skipped, and three blank lines inserted. This pattern will repeat
until the end of the file. This allows for two non printing lines,
for phone numbers or other non address data.
Typing "print -v" will print the version, author, and date to the screen.
Typing "print -?" will cause a help file to be sent to the screen.
Print will space around the page break about an inch.
Print must be run from the CLI or a utility such as DU. To use print,
put it in the "c" directory. The source code should be included with
this file for those who want to mess around with it. If 'print' is
run from the DU directory utility output should not be sent to the screen
as this tends to confuse the Amiga.
This program was originally written for printing C source code, not
to do much else. I would be interested in hearing of bugs or
suggestions.
Stephen T. Whitlock