File: ps2pdf14.bat

package info (click to toggle)
ghostscript 9.26a~dfsg-0%2Bdeb9u6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 94,396 kB
  • sloc: ansic: 542,149; python: 6,552; cpp: 4,265; sh: 2,183; tcl: 1,640; perl: 1,549; makefile: 487; lisp: 407; awk: 66; yacc: 18
file content (20 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off

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

set LIBDIR=%~dp0

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
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