WD: How to Insert the File Name of a Document AutomaticallyLast reviewed: November 24, 1997Article ID: Q64171 |
The information in this article applies to:
SUMMARYIn Word 5.1 and earlier, to automatically insert the name of a document in a Word file, you must use PostScript commands and a graphics box to automatically insert the name of the document in the text of that document. NOTE: In Word versions 6.x and later, you can use the FileName field to automatically include the name of the file in your document. For more information about using fields in Word, see Word Help.
MORE INFORMATIONTo insert the name of a document in the document, use the following steps:
To insert either the file name or the file name with its path into a Word 5.0 or 5.1 document without using PostScript commands, insert the Glossary Entry instead.
MORE INFORMATIONThe following list describes some of the PostScript commands used in this article:
/Times-Roman Specifies which font will be used. This command can be changed to any installed LaserWriter font. Make sure that the name is preceded by a forward slash. Note that even though Apple uses the Times font, the PostScript interpreter only recognizes the command Times-Roman. 12 scalefont Specifies the size of the font (in points). Any number size can be substituted for the number 12. 0 0 moveto Defines where the name will appear within the graphic. The first number indicates the horizontal distance from the lower-left corner, and the second number indicates the vertical distance from the lower-left corner. The position of the document name within the graphic can be adjusted by changing these numbers. |
Additional query words: Post Script filename header footer title
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |