blob: ad1bdcd24789261fe70446b730f597691aff5fdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@echo off
@rem $Id: ps2ascii.bat,v 1.3 2000/05/20 20:53:05 lpd Exp $
call gssetgs.bat
if '%1'=='' goto a0
if '%2'=='' goto a1
%GSC% -q -dNODISPLAY -dSAFER -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
goto x
:a0
%GSC% -q -dNODISPLAY -dSAFER -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
goto x
:a1
%GSC% -q -dNODISPLAY -dSAFER -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
goto x
:x
|