summaryrefslogtreecommitdiff
path: root/gs/lib/ps2ascii.bat
blob: d0d4261557a721be636c13bbd07746cf9b3489d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@echo off
@rem $Id$
if '%1'=='' goto a0
if '%2'=='' goto a1
gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
goto x
:a0
gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
goto x
:a1
gs -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
goto x
:x