PostScript Commands to Print a Word Under Text on a Page

Last reviewed: July 30, 1997
Article ID: Q26556
The information in this article applies to:
  • Microsoft Word for the Macintosh versions 3.x, 4.0, 5.0, 5.1

SUMMARY

You can use PostScript code to make a word such as "DRAFT" or "CONFIDENTIAL" print in large, grey characters on a diagonal across the center of a page. If you want the word to appear on more than one page, place the code in the header. If not, place the code at the top of the page where you want the diagonal text to appear. To set up the PostScript code, enter the following text in the header or at the top of the page:

   /Times-BoldItalic findfont 90 scalefont setfont

   /printDraft
   {0 0 moveto (DRAFT) show} def
   180 288 translate
   45 rotate

   .95 -.05 .6   %start incr. end
   {setgray printDraft -1 .5 translate} for

   .90 setgray printDraft

Note: to use a word other than "Draft" substitute the desired word in the third line of the PostScript code above. For example, to print the word "CONFIDENTIAL," make the third line read:

   {0 0 moveto (CONFIDENTIAL) show} def"

After you have entered the lines, follow these steps:

  1. Select the lines, and apply the PostScript style to them by holding down the SHIFT key and choosing the PostScript style from the style box on the ruler. (If you are using Word version 3.0, apply the PostScript style by holding down the SHIFT key and choosing Styles from the Format menu. Then select the PostScript style in the Styles dialog box).

  2. From the File menu, choose Print. Make sure that the Print Hidden Text option is turned off, and print the document.

MORE INFORMATION

For more information on applying the PostScript style, query on the following words:

   apply and PostScript and style

For more information about PostScript in Word version 5.x, see page 771 of the "Microsoft Word User's Guide" version 5.x manual.

For more information about PostScript in Word version 4.0, see page 284 of the "Reference to Microsoft Word" version 4.0 manual.

For more information about PostScript in Word versions 3.x, see page 279 of the "Reference to Microsoft Word" version 3.0 manual.


Additional query words: watermark

Keywords : kbformat macword macword5 kbprint


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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.