WD: Introduction to PostScript Using Microsoft Word

Last reviewed: November 17, 1997
Article ID: Q64783
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 3.0, 3.01, 3.02, 4.0, 5.0, 5.1, 6.0

SUMMARY

The information in this article describes procedures for using PostScript with Microsoft Word. This information is available as part of an Application Note titled "MW0316: Introduction to PostScript Using Microsoft Word."

The following file is available for download from the Microsoft Software Library:

 ~ MW0316.HQX (size: 49888 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

Included with this Application Note is a much more extensive description of PostScript, an explanation of the PostScript interface in Microsoft Word, and several PostScript examples. Because of the extensive use of graphics in this Application Note, however, the full text of MW0316 could not be included here.

MORE INFORMATION

PostScript is a powerful and versatile language used by the Apple LaserWriter and other PostScript printers to produce graphics and text. Using Microsoft Word, you can program your own PostScript code and send it to any PostScript printer.

The Coordinate System and the Pen

As far as PostScript is concerned, a piece of paper is a coordinate system measured in points (a point is 1/72 of an inch). The origin, or point (0,0), is in the bottom-left corner. On a standard 8.5-inch by 11-inch page, the bottom-right corner is coordinate (612,0), the top-left corner is coordinate (0,792), and a point 4 inches over and 4 inches up from the point of origin is (288,288).

PostScript describes graphics by defining the line that an imaginary pen would follow on this coordinate system.

The Stack

The most distinctive element of the PostScript language is that it uses a concept it refers to as a "stack" to store and manipulate information. Any number that is typed in PostScript goes to the top of the stack, and the numbers that preceded it are moved down one position in the stack. The stack is accessed by commands from the top down, so that the only way to move farther down in the stack is to remove the top item in the stack. The concept of the stack is important in understanding how PostScript code is interpreted and written.


Additional query words: appnote
Keywords : macword macword5 word6 kbappnote kbprint
Version : MACINTOSH: 3.0, 3.01, 3.02, 4.0, 5.0, 5.1, 6.0
Platform : MACINTOSH
Issue type : kbinfo
Solution Type : kbfile


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.