Welcome toWord.Tips.Net
Ask a Word Question
Make a Comment
Learn Access Now
Free Printable Forms
Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips
Collapsing and Expanding Subdocuments
If you are using a PostScript printer, you can use the Print field code to print a box anywhere on the page. This field can be added anywhere within your document, and affects the current page only. If you want it to affect every page, you can place the field code in the header or footer. To insert the field braces, press Ctrl+F9. With the insertion point between the braces, type the following as one long line:
Print \p page " /Lsize 1 def /Left 5 def /Top 6.5 def /WidthBox 1.5 def /HeightBox 2 def /BeginX Left 72 mul def /BeginY 11 Top sub 72 mul def Lsize setlinewidth BeginX BeginY moveto WidthBox 72 mul 0 rlineto 0 HeightBox 72 mul neg rlineto WidthBox 72 mul 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, Top, WidthBox, and HeightBox. Lsize represents the thickness, in points, of the actual line used to draw the border. The values right after the variable names Left and Top represent the number of inches to leave from the paper edges to the top left corner of the box. The values after the variables WidthBox and HeightBox represent the width and height of the box, respectively, in inches.
Tip #463 applies to Microsoft Word versions: 6 95 97 2000 2002 2003
Save Time! WordTips has been published weekly since early 1997. Past issues are available in convenient WordTips archives. Have your own enhanced archive of WordTips at your fingertips, available to use at any time!