Then, after executing the EPS file, it should make sure the stacks contain the
same number of objects as they did before the EPS file was executed. The fol-
lowing code segment shows how to obtain the count of objects on the
dictionary and operand stacks:
/Dict_Count countdictstack def
/Op_Count count def
Bracket EPS File with Comments
The included EPS file must be bracketed by the
%%Begin(End)Document:
comments as described in the
PostScript Document Structuring Conventions
Specifications
available from the Adobe Systems Devlopers’ Association.
Handle Special Requirements
If either the
%%LanguageLevel:
comment or the
%%Extensions:
comment is
present in the header comments section of the EPS file, then at print time
the application printing the composite file is responsible for assuring that
the printer can handle the specified language extensions. If the application
determines that the printer does not have the necessary language features to
print the document properly, or if the application cannot determine extension
availability, the user should be notified and prompted for the appropriate
action. Also, if an application has imported an EPS file that requires exten-
sions, the application’s output is now dependent on the
same
extensions.
This must be reflected in the document’s header comment section.
If any
%%DocumentNeededResources:
or
%%DocumentNeededFonts:
comments are present in the header comments section of the EPS file, before
printing the document the application must be sure the resources are avail-
able. If any of the resource requirements cannot be handled, the user must
be notified and prompted for an appropriate action. Such an action may
involve having the user locate the resource or allowing the user or document
manager to reroute the print job to a printer that has the required resources.
Also, if an application has included an EPS file that requires these comments,
the application’s output is now dependent on the same resources. This must
be reflected in the document’s header comment section.
Default Coordinate System Transformation
Before including the EPS file in its page description, the importing applica-
tion must transform the PostScript coordinate system according to the final
user placement of the EPS file. The order of the transformation sequence
must be:
1. Translate the origin to the new user-chosen origin.
2. Rotate, if the user has rotated the EPS file.
16
(1 May 92)
Home Index Bookmark Pages
Pages: Home Index