home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 August / PCWorld_2000-08_cd.bin / Software / TemaCD / ghostscr / gs601w32.exe / gs6.01 / lib / eps2eps.bat < prev    next >
DOS Batch File  |  2000-03-10  |  564b  |  25 lines

  1. @echo off 
  2. @rem $Id: eps2eps.bat,v 1.1 2000/03/10 07:51:55 lpd Exp $
  3. @rem "Distill" Encapsulated PostScript.
  4.  
  5. if "%1"=="" goto usage
  6. if "%2"=="" goto usage
  7. echo -dNODISPLAY -dNOPAUSE -dBATCH >_.at
  8. rem Watcom C deletes = signs, so use # instead.
  9. echo -dDEVICEWIDTH#250000 -dDEVICEHEIGHT#250000 >>_.at
  10. :cp
  11. if "%3"=="" goto doit
  12. echo %1 >>_.at
  13. shift
  14. goto cp
  15.  
  16. :doit
  17. rem Watcom C deletes = signs, so use # instead.
  18. gs -q -sDEVICE#epswrite -sOutputFile#%2 @_.at %1
  19. goto end
  20.  
  21. :usage
  22. echo "Usage: eps2eps ...switches... input.eps output.eps"
  23.  
  24. :end
  25.