home *** CD-ROM | disk | FTP | other *** search
- echo off
- if not exist %1.pgl goto ERR
- echo Creating EPS representation...
- convert %1.pgl $temp.eps
- echo Creating TIFF screen representation...
- convert %1.pgl $temp.tif -w2
- echo Merging the two together...
- psmerge $temp.eps $temp.tif %1.eps
- del $temp.eps
- del $temp.tif
- goto EXIT
- :ERR
- echo ╔═════════════════════════════════════════════════════════════╗
- echo ║ PGL2EPS ║
- echo ║ ║
- echo ║ Batch file to convert an HPGL file to a viewable EPS/TIFF ║
- echo ║ file for PageMaker. ║
- echo ║ ║
- echo ║ Usage: ║
- echo ║ PGL2EPS filename ║
- echo ║ where "filename.PGL" is the name of the source ║
- echo ║ HPGL file with an extension of .PGL. An EPS ║
- echo ║ file viewable in PageMaker will be generated. ║
- echo ║ Note: ║
- echo ║ Do not specify the .PGL suffix in "filename" ║
- echo ╚═════════════════════════════════════════════════════════════╝
- :EXIT