source: other-projects/trunk/winbin/bin/ghostscript/lib/eps2eps.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: 573 bytes
Line 
1@echo off
2@rem $Id: eps2eps.bat 6300 2005-12-28 19:56:24Z giles $
3@rem "Distill" Encapsulated PostScript.
4
5if %1/==/ goto usage
6if %2/==/ goto usage
7call gssetgs.bat
8echo -dNOPAUSE -dBATCH -dSAFER >_.at
9rem Watcom C deletes = signs, so use # instead.
10echo -dDEVICEWIDTH#250000 -dDEVICEHEIGHT#250000 >>_.at
11:cp
12if %3/==/ goto doit
13echo %1 >>_.at
14shift
15goto cp
16
17:doit
18rem Watcom C deletes = signs, so use # instead.
19%GSC% -q -sDEVICE#epswrite -sOutputFile#%2 @_.at %1
20if exist _.at erase _.at
21goto end
22
23:usage
24echo "Usage: eps2eps ...switches... input.eps output.eps"
25
26:end
Note: See TracBrowser for help on using the repository browser.