bottom
Great WordTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > WordTips Home > Printing > Adding a Horizontal Watermark with a PostScript Printer

Adding a Horizontal Watermark with a PostScript Printer

Summary: If you have a printer that understands PostScript commands, you can use the code in this tip to add a horizontal watermark behind the text of your page. This is a power (and easy) way to get just the right type of watermark on printouts, without changing the way the document appears on-screen. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

In a previous edition of WordTips you learned how to print a diagonal watermark across a page if you are using a PostScript printer. There may be times, however, when you do not want the watermark to be diagonal. The following command, when placed in a field inserted in a header or footer, will print the word DRAFT in a 100-point font across the center of your page.

Print \p page " /Wmark (DRAFT) def /WSize 100 def wp$x wp$right sub
wp$left add 2 div wp$y wp$top sub wp$bottom add 2 div translate
/Helvetica-BoldOblique findfont WSize scalefont setfont .7 setgray
3 setlinewidth Wmark stringwidth pop 2 div neg WSize .4 mul neg
moveto Wmark true charpath stroke "

Remember that all the text shown here must be placed within a field. You can insert the field braces by pressing Ctrl+F9. The font used is bold italics Helvetica; if you do not have that font in your printer, you can change the font name in the code to a font you do have. You can also change the word that is printed by changing the word DRAFT on the first line.

Tip #460 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007


Create and Merge! Using Word's mail merge tool you can quickly and easily combine data from a variety of data sources to create great individualized documents that incorporate your data in ways that you control. WordTips: Mail Merge Magic is an invaluable source for learning how to harness the full power of Word's mail merging capabilities.
 
Check out WordTips: Mail Merge Magic today!

Helpful Links

Ask a Word Question
Make a Comment

Tips.Net Home

WordTips FAQ
WordTips Premium

Learn Access Now

Bugs and Pests Tips
ExcelTips
Family Tips
Health Tips
Home Tips
Organizing Tips
WordTips

Advertise on the
WordTips Site

 

Great Info!

Get tips like this every week in WordTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)