home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 October / Chip_2002-10_cd1.bin / zkuste / pdf / download / gs704w32.exe / gs7.04 / lib / ps2ps.bat < prev    next >
Encoding:
DOS Batch File  |  2002-01-31  |  462 b   |  24 lines

  1. @echo off 
  2. @rem $Id: ps2ps.bat,v 1.4 2001/06/22 16:09:22 lpd Exp $
  3. @rem "Distill" PostScript.
  4.  
  5. if %1/==/ goto usage
  6. if %2/==/ goto usage
  7. call gssetgs.bat
  8. echo -dNODISPLAY -dNOPAUSE -dSAFER -dBATCH >_.at
  9. :cp
  10. if %3/==/ goto doit
  11. echo %1 >>_.at
  12. shift
  13. goto cp
  14.  
  15. :doit
  16. rem Watcom C deletes = signs, so use # instead.
  17. %GSC% -q -sDEVICE#pswrite -sOutputFile#%2 @_.at %1
  18. goto end
  19.  
  20. :usage
  21. echo "Usage: ps2ps ...switches... input.ps output.ps"
  22.  
  23. :end
  24.