122 lines
4.3 KiB
HTML
122 lines
4.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of PS2EPSI</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>PS2EPSI</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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ps2epsi - generate conforming Encapsulated PostScript
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>ps2epsi</B> <I>infile.ps</I> [ <I>outfile.epsi</I> ] <B>(Unix)</B>
|
|
<BR>
|
|
|
|
<B>ps2epsi</B> <I>infile.ps</I> [ <I>outfile.epi</I> ] <B>(DOS)</B>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>ps2epsi</B> uses <B><A HREF="/cgi-bin/man/man2html?1+gs">gs</A></B>(1) to process a <B>PostScript</B>(tm) file and
|
|
generate as output a new file which conforms to Adobe's <B>Encapsulated
|
|
PostScript Interchange</B> (EPSI) format. EPSI is a special form of
|
|
encapsulated PostScript (EPS) which adds to the beginning of the file in
|
|
the form of PostScript comments a bitmapped version of the final displayed
|
|
page. Programs which understand EPSI (usually word processors or DTP
|
|
programs) can use this bitmap to give a preview version on screen of the
|
|
PostScript. The displayed quality is often not very good (e.g., low
|
|
resolution, no colours), but the final printed version uses the real
|
|
PostScript, and thus has the normal PostScript quality.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>USAGE</H2>
|
|
|
|
On Unix systems invoke <B>ps2epsi</B> like this:
|
|
<P>
|
|
|
|
<BR>
|
|
|
|
<TT> </TT><B>ps2epsi</B> <I>infile.ps</I> [ <I>outfile.epsi</I> ]<BR>
|
|
<P>
|
|
|
|
where "infile.ps" is the input file and "outfile.epsi" is the resulting
|
|
EPSI file. If the output filename is omitted, it is generated from the
|
|
input filename. When a standard extension (".ps", ".cps", ".eps" or
|
|
".epsf") is used, it is replaced with the output extension ".epsi". On
|
|
DOS systems the command is:
|
|
<P>
|
|
|
|
<BR>
|
|
|
|
<TT> </TT><B>ps2epsi</B> <I>infile.ps outfile.epi</I><BR>
|
|
<P>
|
|
|
|
where "infile.ps" is the original PostScript file, and "outfile.epi"
|
|
is the name of the output file.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>LIMITATIONS</H2>
|
|
|
|
Not every PostScript file can be encapsulated successfully, because there
|
|
are restrictions on what PostScript constructs a correct encapsulated file
|
|
may contain. <B>ps2epsi</B> does a little extra work to try to help
|
|
encapsulation, and it automatically calculates the bounding box required
|
|
for all encapsulated PostScript files, so most of the time it does a pretty
|
|
good job. There are certain to be cases, however, where the encapsulation
|
|
does not work because of the content of the original PostScript file.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COMPATIBILITY</H2>
|
|
|
|
The <B>Framemaker</B> DTP system is one application which understands EPSI
|
|
files, and <B>ps2epsi</B> has been tested on a number of PostScript diagrams
|
|
from a variety of sources, using Framemaker 3.0 on a Sun workstation.
|
|
Framemaker on other platforms should be able to use these files, although I
|
|
have not been able to test this.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<TABLE>
|
|
<TR VALIGN=top><TD>ps2epsi</TD><TD>Unix shell script<BR></TD></TR>
|
|
<TR VALIGN=top><TD>ps2epsi.bat</TD><TD>DOS batch file<BR></TD></TR>
|
|
<TR VALIGN=top><TD>ps2epsi.ps</TD><TD>the Ghostscript program which does the work<BR></TD></TR>
|
|
</TABLE>
|
|
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
gs (1)
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>VERSION</H2>
|
|
|
|
This document was last revised for Ghostscript version 9.50.
|
|
However, the content may be obsolete, or inconsistent with ps2epsi.txt.
|
|
<A NAME="lbAK"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
George Cameron
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </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">USAGE</A><DD>
|
|
<DT id="5"><A HREF="#lbAF">LIMITATIONS</A><DD>
|
|
<DT id="6"><A HREF="#lbAG">COMPATIBILITY</A><DD>
|
|
<DT id="7"><A HREF="#lbAH">FILES</A><DD>
|
|
<DT id="8"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="9"><A HREF="#lbAJ">VERSION</A><DD>
|
|
<DT id="10"><A HREF="#lbAK">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>
|