home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
printer
/
print.arc
/
PRINT.DOC
< prev
next >
Wrap
Text File
|
1987-06-13
|
2KB
|
64 lines
Documentation for PRINT
-----------------------
PRINT is a program designed to output textfiles to your printer with a
number of formatting options. You can either use the default settings,
or change them all yourself.
There are two programs which are a part of the PRINT package. These
programs are PRINT.EXE and PINSTALL.EXE.
Using PINSTALL:
---------------
Before you can use PRINT, you must first run PINSTALL. PINSTALL creates
a configuration file that tell PRINT how to communicate with your printer.
Into this file you must put the codes that your printer requires for
switching to enhance mode, etc. If you do not want (or do not know what
codes your printer uses) to enter these codes, simply run PINSTALL and
enter nulls (ascii code 00) for the printer codes.
PRINT supports uses of the dos environment variables. This allows you
to place your printer configuration in any subdirectory, and then just
use the dos command SET to leave a message for PRINT in the environment
table telling it where you left the configuration. As an example, lets
say that you wanted your configuration file to be in the C:\UTIL
subdirectory. You would first go to the \UTIL subdirectory and run
PINSTALL to create the configuration, then you would add a line to your
AUTOEXEC.BAT file that said:
SET PRINT=C:\UTIL
Using PRINT:
------------
To use PRINT to print a file, you simply invoke it as PRINT <filename>,
where the <filename> is the filename you want to print. When invoked in
this fashion, PRINT will use all of its default settings for page
numbering, margins, etc.
As an example, lets say you wanted to print the file TEST.DAT, you would
enter the command:
PRINT TEST.DAT
If you want to be able to change the default settings, simply add the
parameter M after the above command line, and you will be prompted for
each of the settings.
PRINT TEST.DAT M
General Comments:
-----------------
I hope you enjoy using PRINT. I have found it to be an indispensable
tool for printing program listings and miscellaneous text files.
The file PRINT.ARC also contains a printer configuration for an
NEC PC-8023A printer. When you run PINSTALL, it will ask if you wish
to overwrite this file. If you do not have this type of printer, respond
YES and then enter the data for your printer.