home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
acad
/
fortran
/
adiplt
/
adiplt.doc
< prev
Wrap
Text File
|
1990-10-24
|
3KB
|
62 lines
ADI2TEK and ADI2COL
PURPOSE: Transform generic AutoCAD plotter output (ADI binary output files)
into useful format for unsupported drivers. Two drivers are included:
ADI2TEK - for output on 12 bit Tektronix type laser printers, such
as DEC LN03 or QMS800 printers.
ADI2COL - for output on DEC LJ250 (HP Paintjet clone) color inkjet
printer in sixel format. (180 dpi resolution is used, with
support for 8 pen colors: red, yellow, green, cyan, blue,
magenta, and black - in standard ACAD order).
These printers were chosen since they hang off of our local mainframe,
and are the most handy output device for ACAD from my desktop.
USE: ADI2TEK file or ADI2COL file
where FILE is the name (without extension) of a binary file produced
by AutoCAD by the generic ADI plotter driver sent to a file.
Both programs expect the file extension to be PLT. ADI2TEK will
produce an output file named FILE.TEK. ADI2COL will produce an
output file named FILE.COL.
AutoCAD must be configured to plot to a "generic ADI driver", and
instructed to write a binary file to the disk. The characteristics
should be 390 dots/inch, 10.5 inch (X) by 7.875 inch (Y). Set up
for 7 pens, and one linestyle. Don't forget to map the drawing
colors to identical pen colors (this isn't default), or ADI2COL will
plot everything red (pen 1).
COMPATIBILITY: AutoCAD 386 R10, although any ADI plotter file that uses
the same format should work. Source code is included for any kludges
or other device support that others might wish to add. (Microsoft
FORTRAN, version 5.0).
NOTES: ADI2TEK is fast. It does an efficient filter of one data format
to another.
ADI2COL is a very slow kludge. It must rasterize each pen to a pixel
map in memory, dumping each map to disk in turn. Then all pen files
are opened and read in six lines at a time to construct a multi-color
sixel output file. This requires about 300k memory, and about 190k
of temporary disk space per pen.
SHAREWARE NOTICE:
Use it. Abuse it. Rewrite it. No guarantees. Don't sell it.
I don't expect anybody to send $$, however anybody brash enough
to ask me for advice or support without sending a shareware
contribution ($25 is sufficient) is subject to my whims. Registered
users will get a clean (safe?) executable, and updates.
Copyright (c) 1990 by
Jeffrey A. Casey
28 Brimmer St.
Watertown, MA 02172
(617)-924-0523
casey@alcvax.pfc.mit.edu
(or) 70411.573@compuserve.com
(or) jac@pinet.aip.org