WD: PostScript Code Seems to Be MissingLast reviewed: February 3, 1998Article ID: Q125419 |
The information in this article applies to:
SYMPTOMSWhen you convert a document from Microsoft Word 4.0 or 5.x for the Macintosh to Microsoft Word 6.0 and later, text that was formatted with the PostScript style seems to be missing.
-or-When you insert a PostScript command from an AutoText entry, the entry is not visible and cannot be edited.
CAUSEWord 6.0 and later converts this text to a PRINT field. If you have not selected the option to view field codes, you cannot see the PostScript text. However, Microsoft Word 6.0 and later print the PostScript code correctly.
RESOLUTIONTo make the PostScript-formatted text visible, turn on field codes (in other words, do not show the field code results):
MORE INFORMATIONIn Word versions 4.0 and 5.x for the Macintosh, PostScript code could be typed directly in the document and then formatted with the built-in PostScript style. The PostScript style is not available in Word 6.0. The PRINT field is used instead. Below are instructions on how to create a PRINT field and instructions for a macro that automates this process.
Creating a PostScript PRINT Field
PostScript-to-PRINT-Field MacroMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/The following macro (Microsoft Word 6.0 and 7.0 only) converts a selection into a PRINT field:
Sub MAIN ViewFieldCodes 1 If SelType() = 2 Then a$ = Selection$() EditClear InsertField .Field = "Print \p page " + Chr$(34) + a$ + Chr$(34) Else MsgBox "This is not a valid selection." + Chr$(13) + Chr$(13) + "Please select the raw PostScript code in " + Chr$(13) + "your document and rerun the macro. ", 16 End If End Sub |
Additional query words: Style Missing PostScript code glossary entry field
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |