ps2pdf.bat 511 B

123456789101112131415161718
  1. @echo off
  2. @rem $Id: ps2pdf.bat,v 1.6 2001/06/22 16:09:22 lpd Exp $
  3. rem Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible).
  4. rem The default PDF compatibility level may change in the future:
  5. rem use ps2pdf12 or ps2pdf13 if you want a specific level.
  6. rem The current default compatibility level is PDF 1.2.
  7. echo -dCompatibilityLevel#1.2 >_.at
  8. goto bot
  9. rem Pass arguments through a file to avoid overflowing the command line.
  10. :top
  11. echo %1 >>_.at
  12. shift
  13. :bot
  14. if not %3/==/ goto top
  15. call ps2pdfxx %1 %2