Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!shamash!pwp From: pwp@shamash.cdc.com ( HOUFAC) Newsgroups: comp.sys.mac.programmer Subject: Re: poscript header in msword Summary: Here's the code I use Message-ID: <14215@shamash.cdc.com> Date: 9 Oct 89 13:21:03 GMT References: <13021602MR@MSU> Reply-To: pwp@shamash.UUCP (Pete Poorman - HOUFAC) Organization: Control Data Corp., Houston, Texas Lines: 39 In article <13021602MR@MSU> 21602MR@MSU.BITNET (Mark Rosenberg) writes: >I remember seeing a postscript header in msword that printed "DRAFT" at about >30% grey from the lower left corner of the page to the upper right corner of >the page. Then the text of the document was printed over that. I can't find >the code for that and was wondering if anyone had ti, or could figure out how >to do it ? Following is the code I use to do this. (Except mine goes from the top left corner to the bottom right.) There are two variants -- one for portrait mode (vertical) pages, and another for Landscape mode. To use, put the code into a header or footer for the page(s) you want labelled, and set the style to "Postscript". I made these by hacking-up one of the samples in the Postscript Glossary that comes with Word. No doubt some smart Postscript jockey can improve 'em. --Pete Poorman pwp@shamash.cdc.com ---------------------------------------------------------------------------- .page.% Puts DRAFT in huge letters diagonally on a portrait mode page /Helvetica-Bold findfont 250 scalefont setfont 50 wp$y 140 sub translate .25 setlinewidth 300 rotate 0 0 moveto (Draft) true charpath gsave .99 setgray fill grestore ---------------------------------------------------------------------------- .page.% Puts DRAFT in huge letters diagonally on a landscape mode page /Helvetica-Bold findfont 250 scalefont setfont 50 wp$y 220 sub translate .25 setlinewidth 335 rotate 0 0 moveto (Draft) true charpath gsave .99 setgray fill grestore ---------------------------------------------------------------------------- --Pete Poorman pwp@shamash.cdc.com