PostScript Utilities
This document summarizes the PostScript utilities on the accompanying disk:
PPEPSF which converts an AutoCAD PostScript plot file to an
Encapsulated PostScript file.
SLD2PS which converts an AutoCAD/AutoSketch slide file to
a PostScript file. Optional encapsulation & color output
flags are provided.
ADI2PS which processes a Binary ADI plot file to produce a
PostScript file. Line widths can be assigned to "logical" pen
numbers. Optional encapsulation is also provided for.
These utilities are primarily meant for use while interfacing desktop
publishing packages to Autodesk products like AutoCAD Release 9 & 10 and
AutoSketch 1.04 & 2.0 and AutoShade 1.1.
These utilities are designed to work under MS-DOS. Consequently, the input
files for these utilities should also be created by an Autodesk product running
under MS-DOS.
BACKGROUND
PostScript is a page description language developed by Adobe Systems Inc. It
serves as the basic page layout language of several laser printers and is a
natural output medium for the desktop publishing packages seeking to merge
text & graphics and to provide WYSIWYG output.
AutoCAD, AutoShade & AutoSketch are graphic design tools. While each of
these can provide generic PostScript output, certain extensions to this
output can be made in order to enhance their usefulness as PostScript data.
DEVELOPEMENT
These utilities are not very ambitious in their scope. In all 3 cases,
Encapsulated PostScript output is provided for. The major intent behind SLD2PS
was to provide a "screen dump" capability while that behind ADI2PS was to
provide for line-width assignment to logical PostScript pens. SLD2PS
additionally provides for full 256 color output (commercial color PostScript
printers have begun emerging in the hardcopy marketplace). PPEPSF is a pure
PostScript --> Encapsulated PostScript output utility.
The major reason for the development of these utilities was the fact that
I heard about AutoCAD users asking for them. Please feel free to comment on
these routines, suggest enhancements, reportproblems etc. For the more
adventerous users, the full C source code is available should you desire to make
any modifications or bug fixes. Splicing code from these utilities into commercial
or shareware utilities is an absolute no-no in my mind, modifying them for
personal use is perfectly ok.
PPEPSF
This utility takes a standard AutoCAD/AutoSketch/AutoShade PostScript file
and post-processes it into a format accepted as Encapsulated PostScript.
The calling syntax is :
PPEPSF