Q:
I'm trying to get a PostScript file into Diagram!. Do I need to make it .eps? What does this mean?
A:
You need a bounding box to include the graphic in Diagram!. There is no bounding box calculated by the Print... command because PostScript (.ps) files don't have bounding boxes--only Encapsulated PostScript (EPS) files.
I've included a sample of a Diagram!-generated EPS header as an example.
This is an example of a valid EPS header:
%!PS-Adobe-2.0 EPSF-2.0
%%Title:
%%Creator: Diagram
%%CreationDate: Mon Mar 15 13:59:28 1993
%%For: wiley
%%DocumentFonts: (atend)
%%Pages: 0 0
%%BoundingBox: 0 0 157 85
%%NXNextStepVersion: 3.0
%%EndComments
And this is an example of an invalid EPS header:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox: 188 379 462 641
%!PS-Adobe-2.0
%%Title: foo.diagram2 - /Users/thesis/OOPSLA/Figures
%%Creator: Diagram
%%CreationDate: Fri Mar 12 19:57:11 1993
%%For: thesis
%%DocumentFonts: (atend)
%%Pages: (atend) 1
%%DocumentPaperSizes: Letter
%%Orientation: Portrait
%%NXNextStepVersion: 3.0
%%EndComments
There are a couple of important points. First, the origin of the bounding box in the header should be 0 0 (note that it's 0 0 in the Diagram!-generated header above). Second, the number of pages should be 0, as there are no pages in an EPS file. Third, references to DocumentPaperSizes and Orientation should be deleted.