PostScript Commands to Print a Word Under Text on a Page

ID: q26556


The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 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 : kbprint macword macword5
Version : MACINTOSH:4.0,5.0,5.1
Platform : MACINTOSH
Issue type :


Last Reviewed: December 15, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.