Microsoft KB Archive/50115

Bounding Box in PostScript Files

PSS ID Number: Q50115 Article last modified on 11-02-1994

5.00

MS-DOS

= SUMMARY =

Most PostScipt files, including EPS (Encapsulated PostScript Files), adhere to the Adobe PostScript Document Structuring Conventions. These conventions describe comments that are of use to programs wanting information about a file. One of these comments is called the Bounding Box, which represents the coordinates of a box and describes the size of the image in question. The Bounding Box takes the following form in a Postscript file:

%%BoundingBox: llx lly urx ury

llx represents the lower-left x coordinate of the image. lly represents the lower-left y coordinate of the image. urx represents the upper-right x coordinate of the image. ury represents the upper-right x coordinate of the image.

The four values are numbers in the PostScript default user coordinate system, in points (1/72 of an inch), with the origin at the lower-left corner.

= MORE INFORMATION =

Word recognizes this PostScript comment when printing graphics. For example, if an image is small and prints out with a large amount of white space around the graphic, check the Bounding Box in the PostScript file. This may need adjusting to fit the size of the graphic so that Word can print it correctly with other text and graphics.

Or, if an image is small and you give the actual size of the graphic in the Library Link Graphics command and the output from the printer is compressed, check the Bounding Box in the PostScript file. This could be set to “large” causing all of the white space to be compressed into the graphic size you specify with the Library Link Graphics command.

KBCategory: kbprint KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.