source: other-projects/trunk/winbin/bin/ghostscript/lib/pdf2ps.bat@ 17223

Last change on this file since 17223 was 17223, checked in by max, 16 years ago

Add Ghostscript binaries and libraries for windows.

File size: 492 bytes
Line 
1@echo off
2@rem $Id: pdf2ps.bat 6300 2005-12-28 19:56:24Z giles $
3@rem Convert PDF to PostScript.
4
5if %1/==/ goto usage
6if %2/==/ goto usage
7call gssetgs.bat
8echo -dNOPAUSE -dBATCH -dSAFER -sDEVICE#pswrite >_.at
9:cp
10if %3/==/ goto doit
11echo %1 >>_.at
12shift
13goto cp
14
15:doit
16rem Watcom C deletes = signs, so use # instead.
17%GSC% -q -sOutputFile#%2 @_.at %1
18if exist _.at erase _.at
19goto end
20
21:usage
22echo "Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input.pdf output.ps"
23
24:end
Note: See TracBrowser for help on using the repository browser.