Figure 1
Document with an imported EPS file
OUTDOOR
OUTDOOR
+
EPS File
Sailboard Heaven
Is Lake Lopez
Transportation
of the Future
=
Sailboard Heaven
Is Lake Lopez
Transportation
of the Future
What We Can
Do to Save
Our Rain Forests
50 Finest
Hiking Trails
What We Can
Do to Save
Our Rain Forests
50 Finest
Hiking Trails
Document Page
Applications that create conforming EPS files must follow the guidelines in
section section 2
.”
There are two required DSC comments, some condition-
ally required comments, and several programming guidelines to ensure that
the EPS file can be reliably imported into an arbitrary PostScript language
page description without causing any side effects. An example of a side effect
is erasing the page of the importing document or terminating the print job.
Applications that import EPS files must follow the guidelines in section sec-
.”
An application importing an EPS file must parse the EPS file for DSC
comments and extract at least the bounding box and resource dependencies
of the EPS file. The application should also read and display the screen pre-
view, if present. If there is no screen preview provided in the EPS file, the
application must provide an alternate representation and allow the user to
place and transform the preview on the screen.
The application must then convert the user’s manipulations into the appropri-
ate transformation to the PostScript coordinate system before sending the
document to the printer. The application must also preserve its stacks, current
dictionary, and graphics state before the imported EPS file is executed.
Note that EPS files are a
final-form
representation. They cannot be edited
when imported into a document. However, the imported EPS file as a whole
may be manipulated to some extent, including transformations such as
translation, rotation, scaling, and clipping.
The device-independent nature of the PostScript language makes it an excel-
lent interchange format. However, it normally requires a PostScript language
interpreter to preview an EPS file on screen. Display PostScript systems
allow EPS files to be dynamically interpreted, insuring the highest-quality,
on-screen preview regardless of scale, rotation, or monitor type. For other
environments where the Display PostScript system is not available, the
EPS file format allows for an optional screen preview image.
6
(1 May 92)