PROGRAM NAME: PSPrint
RELEASE DATE: 11-1-92
PURPOSE: PSPrint will print text files on a PostScript printer from
the DOS command line.
REQUIREMENTS: PostScript printer.
USE: PSPRINT TEXTFILE OUTPUT_DEVICE [FONT/OPTION]
TEXTFILE (required) is the name of the text file to
print. The file must be in the current directory,
you cannot specify a drive and path. DOS wildcards
(* and ?) are valid and all files meeting the spec
will be printed.
OUTPUT_DEVICE (required) LPT1, LPT2, COM1, or COM2.
FONT/OPTION (optional) H for Helvetica (default)
C for Courier
2 two column printing, 220
Example: psprint readme.txt com1 2
WHY DO I NEED PSPRINT?
You bought that fancy PostScript printer, it can do amazing things with
text and graphics, but if you want to print a copy of your CONFIG.SYS or this
text file, you have to start your word processor, import the file, maybe reset
the margins and font, and then print it. The print job may take a while as your
word processor sends a pile of information to your printer. Well, you say
you'll just use the DOS PRINT command to print your file. If your printer is
hooked to LPT1 and you try the DOS PRINT command, the computer inside of your
printer will take all of the text PRINT sends it, process for a while, and then
go idle. Why? DOS PRINT does not know how to speak PostScript, the page
description language your printer uses. PSPrint knows what to say to your
printer to print text files quickly and easily.
This version of PSPrint has the following features:
- prints a page header with the file name, date printed, page number
and total number of pages,
- allows printing to LPT1, LPT2, COM1 or COM2,
- allows the user to cancel the print job,
- uses standard output for screen writes so screen output can be
- has three formatting options.
The default print option uses 10 point Helvetica as the font and prints 57
lines per page. This is best for paragraphs of text. By using C as the
font/option, 10 point Courier will be the font used and again there are 57 lines
of text per page. This is best when you want tables to line up. Helvetica is a
proportional font while Courier is a mono-spaced font. The last option is the
environmental option, that is, if you have to print it out, use as little paper
as possible. Specifying 2 as the font/option will print 220 lines of text per
page in 2 columns. The text is printed in 5 point Courier.
WHY DO I HAVE TO ALWAYS TYPE THE PORT? MY PRINTER IS ALWAYS HOOKED TO THE
You don't, write a batch file like this:
echo PSPrint batch file.
PSPRINT %1 COM1 %2
Change COM1 to the port your printer is connected to.
Copy PSPrint to and directory on your path.
PSPrint does not create or alter any files, to remove it, just delete
it from your disk.
This copyrighted program is being distributed as shareware. You may try
this program for 30 days, and if you like it, or find it useful, and wish to
continue using it, you are expected to register with the author. You are free
(and encouraged) to copy this program and distribute it to anyone, as long as no
fee, other than a nominal fee for the disk and shipping/handling, is charged for
the program, and as long as this documentation file accompanies the program. The
registration fee is $5. To register, send your name, address, the program name
and version, where you got the program, and $5 to:
10104 Blue Tee Terr.
Gaithersburg, MD 20879
If you have any questions or comments about the program, please send them to the
above address, or, on CompuServe at 71224,3202.
Product names are trademarks or registered trademarks of their respective
WARRANTY AND LEGAL NOTICES
PSPrint is provided AS IS without any warranty, expressed or implied,
including, without limitation, implied warranties of merchantability and
fitness for a particular purpose. Any use by you of the software is at your
own risk. In no event shall Bob Hayes be liable for any damages whatsoever
(including, without limitation, damages for loss of business profits, business
interruption, loss of business information, or other pecuniary loss) arising out
of the use or inability to use this product.