1@echo off
2
3rem Convert PostScript to PDF 1.4 (Acrobat 5-and-later compatible).
4
5set LIBDIR=%~dp0
6
7echo -dCompatibilityLevel#1.4 >"%TEMP%\_.at"
8goto bot
9
10rem Pass arguments through a file to avoid overflowing the command line.
11:top
12echo %1 >>"%TEMP%\_.at"
13shift
14:bot
15rem Search for leading '-'
16echo %1 | findstr /b /C:- >nul 2>&1
17if ERRORLEVEL 1 goto proc
18goto top
19:proc
20call "%LIBDIR%ps2pdfxx.bat" %1 %2
21