shithub: riscv

ref: 15140dcce2b1670af6f4d78ddb5cf52444107aee
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