Section: Ghostscript Tools (1)
Updated: 8 August 2012
ps2ascii [ input.ps [ output.txt ] ]
ps2ascii uses gs?(1) to extract ASCII text from PostScript(tm) or Adobe Portable Document Format (PDF) files. If no files are specified on the command line, gs reads from standard input; but PDF input must come from an explicitly-named file, not standard input. If no output file is specified, the ASCII text is written to standard output.
Artifex Software, Inc. are the primary maintainers of Ghostscript. David M. Jones <[email protected]> made substantial improvements to ps2ascii.