shithub: riscv

ref: ec8d7cdf024949d73c5f887f23f060cd33c1df28
dir: /sys/src/cmd/gs/lib/ps2ascii.bat/

View raw version
@echo off
@rem $Id: ps2ascii.bat,v 1.6 2002/02/21 21:49:28 giles Exp $

call gssetgs.bat
if '%1'=='' goto a0
if '%2'=='' goto a1
%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
goto x
:a0
%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
goto x
:a1
%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
goto x
:x