home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
laser
/
postprn.arc
/
POSTPRN.DOC
< prev
next >
Wrap
Text File
|
1989-06-13
|
3KB
|
64 lines
Postprn, a PostScript device driver for MS-DOS.
People who are using a PostScript Laser Printer with MS-DOS
don't have the ability to print ASCII files without a whole lot
of rigamarole. Postprn gives you that ability. It accepts ASCII
characters and outputs a PostScript program to the printer.
Rather than require the user to run a separate program, Postprn
is implemented as a MS-DOS device driver. Actually, Postprn
creates several new device drivers, one for each desired
orientation. Postprn will print in portrait mode (80 columns, 66
lines) or landscape mode (66 lines, 132 columns), and either
one-up, two-up, or four-up. Two-up prints two pages per piece
of paper, and four-up prints four pages per piece of paper. The
names of the device drivers appear below.
PRNPORT - Portrait mode, one-up.
PRNPORT2 - Portrait mode, two-up.
PRNPORT4 - Portrait mode, four-up.
PRNLAND - Landscape mode, one-up.
PRNLAND2 - Landscape mode, two-up.
PRNLAND4 - Landscape mode, four-up.
Postprn is installed according to the directions in your DOS
manual, just like any other device driver. After you reboot, you
will be able to print to your postscript printer simply by
redirecting output to one of the six devices named above. For
example, "dir >prnport4" will give you a directory listing with
four pages per piece of paper.
This is version 0.9 of Postprn because the PostScript code is
fairly crufty. However, it *does* work, so I am releasing this
code until some better PostScript code turns up on my doorstep.
Any volunteers?
Making Postprn from source
Rather than include the actual include files needed by
postprn.asm, I decided to include the original PostScript, and
the awk script that creates the include files. If you don't have
access to an implementation of awk, you can get a copy of Rob
Duff's freely copyable awk, currently awk212.arc. You can FTP it
from grape.ecs.clarkson.edu, or call Rob Duff's BBS [FidoNet
1:153/713 BBS: (604)251-1816] directly and download it from
there.
The PostScript code was written by Joe Larson
(joe@dayton.dhdsc.mn.org). The MS-DOS device driver was written
by Russell Nelson, Clarkson University
(nelson@clutx.clarkson.edu).
There is no copyright on this program.