
Tips.Net > WordTips Home > Printing > Creating a Full-Page Border Using PostScript
Summary: With a PostScript printer, you can create a full-page border, even if your version of Word doesn't support full-page borders. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)
For the last several versions of Word, you've been able to easily add full-page borders to your documents. For those with PostScript printers, you may want to consider a different way to add a full-page border—through the use of PostScript commands.
You can easily add a full-page border by using a Print field code in your header or footer. Every page that uses the header or footer will show the border. The following command, when placed in a field in your header or footer, will print the border:
Print \p page " /Lsize 1 def /Left .5 def /Right .5 def /Top .5 def /Bottom .5 def /BeginX Left 72 mul def /BeginY 11 Top sub 72 mul def /WidthBox 8.5 Right sub Left sub 72 mul def /HeightBox 11 Top sub Bottom sub 72 mul def Lsize setlinewidth BeginX BeginY moveto WidthBox 0 rlineto 0 HeightBox neg rlineto WidthBox neg 0 rlineto closepath stroke "
There are a few variables in this code which you should adjust. These are the values assigned to Lsize, Left, Right, Top, and Bottom. Lsize represents the thickness, in points, of the actual line used to draw the border. In this example, the thickness is set to 1 point. The values right after the variable names Left, Right, Top, and Bottom represent the number of inches to leave from the paper edges to the border.
Tip #407 applies to Microsoft Word versions: 97 2000 2002 2003 2007
Create and Merge! Discover how to use Word's mail merge tool to create your own custom documents. WordTips: Mail Merge Magic includes all the information you need to make your merges more productive.
Add power to your purpose with Word. A comprehensive 480+ page e-book explains everything you need to know about macros. (more information...)
Ask a Word Question
Make a Comment
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Pet Tips
Word2007 Tips
WordTips