File: ps2ascii.cmd

package info (click to toggle)
ghostscript 9.27~dfsg-2%2Bdeb10u5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 96,168 kB
  • sloc: ansic: 547,170; python: 6,552; cpp: 4,265; perl: 2,172; sh: 2,160; tcl: 1,639; makefile: 463; lisp: 407; awk: 66; yacc: 18; javascript: 7
file content (17 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is maintained by a user: if you have any questions about it,
 * please contact Mark Hale (mark.hale@physics.org).
 */

@echo off
if '%1'=='' goto a0
if '%2'=='' goto a1
gsos2 -q -dSAFER -sDEVICE=txtwrite -o %2 %1
goto x
:a0
gsos2 -q -dSAFER -sDEVICE=txtwrite -o - -
goto x
:a1
gsos2 -q -dSAFER -sDEVICE=txtwrite -o - %1
goto x
:x