placement box is the box shown in Figure 5 on page 19. Using the formula
and steps above, the transformation before executing the included EPS file
would be as follows:
20 60 translate
.5 –.5 scale
–20 –20 translate
Set Up a Clipping Path
The importing application should set up a clipping path around the imported
EPS file. This can be accomplished by setting a clipping path that corresponds
to the bounding box of the imported EPS file after making the PostScript
coordinate system transformations or by allowing the user to optionally
supply an arbitrary clipping path for special effects.
Discard the Screen Preview
If an EPS file includes a screen preview in EPSI format, the importing appli-
cation should discard the preview before sending the document to a printer.
Although the EPSI preview is represented by PostScript comments and will
not pose a problem when included in the PostScript language file sent to the
printer, it takes extra time to transmit the preview.
If the preview in the EPS file is in Macintosh PICT format, do not include the
PICT resource in the PostScript language file sent to the printer.
If the preview is in TIFF format or in Microsoft
®
Windows™ Metafile for-
mat, take care to extract the PostScript language code that is to be sent
to the printer. See section section 5.2,” for details.
If the EPS file does not include a screen preview, the entire EPS file can be
included in the PostScript language file sent to the printer.
Maintain EPSF Version 2.0 Compatibility
The EPSF version 3.0 requires that an EPS file leave the operand and dictio-
nary stacks as they were before the EPSF was executed. However, this was
not explicitly stated in earlier versions of the EPSF format. Therefore, before
including the EPS file, be sure to count the number of objects on the dictionary
and operand stacks. After executing the EPS file, make sure the stacks con-
tain the same number of objects they did before the EPS file was executed.
Preparation for Including an EPS File
Example 2: shows procedure
BeginEPSF
, which an application might use to
prepare to include an EPS file in its print stream. Execute the
BeginEPSF
procedure before the EPS file.
20
(1 May 92)
Home Index Bookmark Pages
Pages: Home Index