man-pages/man1/ps2ascii.1.html
2021-03-31 01:06:50 +01:00

74 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of PS2ASCII</TITLE>
</HEAD><BODY>
<H1>PS2ASCII</H1>
Section: Ghostscript Tools (1)<BR>Updated: 15 October 2019<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ps2ascii - Ghostscript translator from PostScript or PDF to ASCII
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ps2ascii</B> [ <I>input.ps</I> [ <I>output.txt</I> ] ]
<BR>
<B>ps2ascii</B> <I>input.pdf</I> [ <I>output.txt</I> ]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>ps2ascii</B> uses <B><A HREF="/cgi-bin/man/man2html?1+gs">gs</A></B>(1) to extract ASCII text from
<B>PostScript</B>(tm) or Adobe <B>Portable Document Format</B> (PDF)
files. If no files are specified on the command line, <B>gs</B> 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.
<P>
<B>ps2ascii</B> doesn't look at font encoding, and isn't very good at
dealing with kerning, so for PostScript (but not currently PDF), you might
consider <B>pstotext</B> (see below).
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
Run &quot;<B>gs -h</B>&quot; to find the location of Ghostscript documentation on your
system, from which you can get more details.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?1+pstotext">pstotext</A>(1), <A HREF="http://www.research.digital.com/SRC/virtualpaper/pstotext.html">http://www.research.digital.com/SRC/virtualpaper/pstotext.html</A>
<A NAME="lbAG">&nbsp;</A>
<H2>VERSION</H2>
This document was last revised for Ghostscript version 9.50.
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Artifex Software, Inc. are the
primary maintainers of Ghostscript.
David M. Jones &lt;<A HREF="mailto:dmjones@theory.lcs.mit.edu">dmjones@theory.lcs.mit.edu</A>&gt; made substantial improvements
to <B>ps2ascii</B>.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">FILES</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">VERSION</A><DD>
<DT id="7"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:25 GMT, March 31, 2021
</BODY>
</HTML>