星火微课系统客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pdf2ps.bat 492B

123456789101112131415161718192021222324
  1. @echo off
  2. @rem $Id: pdf2ps.bat 6300 2005-12-28 19:56:24Z giles $
  3. @rem Convert PDF to PostScript.
  4. if %1/==/ goto usage
  5. if %2/==/ goto usage
  6. call gssetgs.bat
  7. echo -dNOPAUSE -dBATCH -dSAFER -sDEVICE#pswrite >_.at
  8. :cp
  9. if %3/==/ goto doit
  10. echo %1 >>_.at
  11. shift
  12. goto cp
  13. :doit
  14. rem Watcom C deletes = signs, so use # instead.
  15. %GSC% -q -sOutputFile#%2 @_.at %1
  16. if exist _.at erase _.at
  17. goto end
  18. :usage
  19. echo "Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input.pdf output.ps"
  20. :end