home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m271_3 / 1.ddi / HJ1.ZIP / PGL2EPS.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-05-26  |  1.3 KB  |  28 lines

  1. echo off
  2. if not exist %1.pgl goto ERR
  3. echo Creating EPS representation...
  4. convert %1.pgl $temp.eps
  5. echo Creating TIFF screen representation...
  6. convert %1.pgl $temp.tif -w2 
  7. echo Merging the two together...
  8. psmerge $temp.eps $temp.tif %1.eps
  9. del $temp.eps
  10. del $temp.tif
  11. goto EXIT
  12. :ERR
  13. echo ╔═════════════════════════════════════════════════════════════╗
  14. echo ║                           PGL2EPS                           ║
  15. echo ║                                                             ║
  16. echo ║   Batch file to convert an HPGL file to a viewable EPS/TIFF ║
  17. echo ║   file for PageMaker.                                       ║
  18. echo ║                                                             ║
  19. echo ║   Usage:                                                    ║
  20. echo ║        PGL2EPS filename                                     ║
  21. echo ║           where "filename.PGL" is the name of the source    ║
  22. echo ║           HPGL file with an extension of .PGL.  An EPS      ║
  23. echo ║           file viewable in PageMaker will be generated.     ║
  24. echo ║   Note:                                                     ║
  25. echo ║        Do not specify the .PGL suffix in "filename"         ║
  26. echo ╚═════════════════════════════════════════════════════════════╝
  27. :EXIT
  28.