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

  1. @echo off 
  2. @rem $Id: pdf2ps.bat,v 1.1 2000/03/09 08:40:40 lpd Exp $
  3. @rem Convert PDF to PostScript.
  4.  
  5. if "%1"=="" goto usage
  6. if "%2"=="" goto usage
  7. echo -dNOPAUSE -dBATCH -sDEVICE#pswrite >_.at
  8. :cp
  9. if "%3"=="" goto doit
  10. echo %1 >>_.at
  11. shift
  12. goto cp
  13.  
  14. :doit
  15. rem Watcom C deletes = signs, so use # instead.
  16. gs -q -sOutputFile#%2 @_.at %1
  17. goto end
  18.  
  19. :usage
  20. echo "Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input.pdf output.ps"
  21.  
  22. :end
  23.