Microsoft KB Archive/61050

PostScript Procedures Not Retained from Group to Group

PSS ID Number: Q61050 Article last modified on 03-07-1997

=
========================================================= 3.00 3.01 3.02 4.00 MACINTOSH kbprint

= SUMMARY =

When using PostScript commands to define procedures in Microsoft Word, the procedure definition will be forgotten after each group of PostScript commands is executed. This requires that the procedure be redefined for each group of PostScript commands in the document. However, there is a way to work around this.

If a group of procedures is defined at the beginning of the page using the .dict. command, the procedure will be remembered for the entire page. This command works the same as the .page., .para., and .cell. group commands. Type this command (.dict.) in the first line of the PostScript code. Any code in the .dict. group should have only procedure definitions; it should not actually draw anything on the page.

With this method, a user-written procedure can be remembered for an entire page. To use this procedure on several pages, place the .dict. group in the header of the document.

= MORE INFORMATION =

Another method of storing PostScript routines in Word is described in “Working with Word, Second Edition,” by Chris Kinata and Gordon McComb (Microsoft Press, 1989). The description can be found on Pages 679-684.

KBCategory: kbprint KBSubcategory: Additional reference words: macword macword5

= ====================================================================== =

Copyright Microsoft Corporation 1997.