Printing a Page Border with PostScript in Word for Windows

ID: Q64703


The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows


SUMMARY

The following field code may be used to print a page border on a PostScript printer:

{print \p page "clippath 2 setlinewidth stroke"}
This particular code will use the last rectangular clipping path set by Microsoft Word for Windows and print a solid line around the path with a width (2 point) set by the Setlinewidth command.

NOTE: This example will work best for full page borders when the document has no text or has graphics formatted as absolute positioned objects (APO). You must include this sample field on each page that you want to print a border on. The field can be inserted anywhere on the page -- even in a table.


REFERENCES

"Microsoft Word for Windows User's Reference." (Document Number OB 14328-0990) Page 104.

Additional query words: 1.x 2.0 6.0 word6 7.0 word95 word7 winword winword2 word97

Keywords : kbfield
Version : WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97
Platform : WINDOWS
Issue type :


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