shithub: riscv

ref: aad36c645ab7b9ab376a935ca7aa63b7d303c46f
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