ps2pdf14.bat 404 Bytes
Newer Older
1 2 3 4
@echo off

rem Convert PostScript to PDF 1.4 (Acrobat 5-and-later compatible).

5 6 7
set LIBDIR=%~dp0

echo -dCompatibilityLevel#1.4 >"%TEMP%\_.at"
8 9 10 11
goto bot

rem Pass arguments through a file to avoid overflowing the command line.
:top
12
echo %1 >>"%TEMP%\_.at"
13 14
shift
:bot
15 16 17 18 19
rem Search for leading '-'
echo %1 | findstr /b /C:- >nul 2>&1
if ERRORLEVEL 1 goto proc
goto top
:proc
20
call "%LIBDIR%ps2pdfxx.bat" %1 %2