xref: /plan9/sys/src/cmd/gs/lib/ps2ascii.cmd (revision 3ff48bf5ed603850fcd251ddf13025d23d693782)
1/* $Id: ps2ascii.cmd,v 1.1 2000/07/05 16:21:13 lpd Exp $ */
2/*
3 * This file is maintained by a user: if you have any questions about it,
4 * please contact Mark Hale (mark.hale@physics.org).
5 */
6
7@echo off
8if '%1'=='' goto a0
9if '%2'=='' goto a1
10gsos2 -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
11goto x
12:a0
13gsos2 -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
14goto x
15:a1
16gsos2 -q -dNODISPLAY -dNOBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
17goto x
18:x
19