blob: 0ef6f41fb2d7238a492cd9abb25afd80fe61e6c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
@echo off
@rem $Id$
rem Convert PostScript to PDF 1.4 (Acrobat 5-and-later compatible).
rem The default PDF compatibility level may change in the future:
rem use ps2pdf12 or ps2pdf13 if you want a specific level.
set LIBDIR=%~dp0
rem The current default compatibility level is PDF 1.4.
echo -dCompatibilityLevel#1.4 >"%TEMP%\_.at"
goto bot
rem Pass arguments through a file to avoid overflowing the command line.
:top
echo %1 >> "%TEMP%\_.at"
shift
:bot
if not %3/==/ goto top
call "%LIBDIR%ps2pdfxx.bat" %1 %2
|