File: ps2epsi.1

package info (click to toggle)
ghostscript 8.71~dfsg2-9+squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 79,896 kB
  • ctags: 80,654
  • sloc: ansic: 501,432; sh: 25,689; python: 4,853; cpp: 3,633; perl: 3,597; tcl: 1,480; makefile: 1,187; lisp: 407; asm: 284; xml: 263; awk: 66; csh: 17; yacc: 15
file content (66 lines) | stat: -rw-r--r-- 2,855 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.\" $Id: ps2epsi.1 10732 2010-02-10 18:17:48Z giles $
.TH PS2EPSI 1 "10 February 2010" 8.71 "Ghostscript Tools" \" -*- nroff -*-
.SH NAME
ps2epsi \- generate conforming Encapsulated PostScript
.SH SYNOPSIS
\fBps2epsi\fR \fIinfile.ps\fR [ \fIoutfile.epsi\fR ] \fB(Unix)\fR
.br
\fBps2epsi\fR \fIinfile.ps\fR [ \fIoutfile.epi\fR ] \fB(DOS)\fR
.SH DESCRIPTION
\fBps2epsi\fR uses \fBgs\fR(1) to process a \fBPostScript\fR(tm) file and
generate as output a new file which conforms to Adobe's \fBEncapsulated
PostScript Interchange\fR (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.
.SH USAGE
On Unix systems invoke \fBps2epsi\fR like this:
.PP
.br
	\fBps2epsi\fR \fIinfile.ps\fR [ \fIoutfile.epsi\fR ]
.PP
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:
.PP
.br
	\fBps2epsi\fR \fIinfile.ps outfile.epi\fR
.PP
where "infile.ps" is the original PostScript file, and "outfile.epi"
is the name of the output file.
.SH LIMITATIONS
Not every PostScript file can be encapsulated successfully, because there
are restrictions on what PostScript constructs a correct encapsulated file
may contain.  \fBps2epsi\fR 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.
.SH COMPATIBILITY
The \fBFramemaker\fR DTP system is one application which understands EPSI
files, and \fBps2epsi\fR 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.
.SH FILES
.TS
tab(>);
l l.
ps2epsi>Unix shell script
ps2epsi.bat>DOS batch file
ps2epsi.ps>the Ghostscript program which does the work
.TE
.fi
.SH SEE ALSO
gs (1)
.SH VERSION
This document was last revised for Ghostscript version 8.71.
However, the content may be obsolete, or inconsistent with ps2epsi.txt.
.SH AUTHOR
George Cameron