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