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.
23 lines
545 B
23 lines
545 B
@echo off
|
|
|
|
rem Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible).
|
|
|
|
set LIBDIR=%~dp0
|
|
|
|
echo -dCompatibilityLevel#1.3 >"%TEMP%\_.at"
|
|
rem So disable higher level features to prevent warnings
|
|
echo -dWriteXRefStm#false >>"%TEMP%\_.at"
|
|
echo -dWriteObjStms#false >>"%TEMP%\_.at"
|
|
goto bot
|
|
|
|
rem Pass arguments through a file to avoid overflowing the command line.
|
|
:top
|
|
echo %1 >>"%TEMP%\_.at"
|
|
shift
|
|
:bot
|
|
rem Search for leading '-'
|
|
echo %1 | findstr /b /C:- >nul 2>&1
|
|
if ERRORLEVEL 1 goto proc
|
|
goto top
|
|
:proc
|
|
call "%LIBDIR%ps2pdfxx.bat" %1 %2
|