🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #43101

Re: Postscript fragment needed

#43101
From: Keith Elliston
Date: Fri, 26 May 1989 13:23
43 lines
2370 bytes
In article <17431@usc.edu>, minkus@lesath.usc.edu (Bob Minkus) writes:
> In article <13222@dartvax.Dartmouth.EDU> jonathan@eleazar.dartmouth.edu (Jonathan Altman) writes:
> >like borders around pages, etc.  One nice tip that was given was how
> >to print the word "draft" in a 5% gray on entire pages.  I saw the
> >tip on how to do this and said "that'd be neat" but didn't save the
> >postscript fragment.  Now I have a need to distribute a draft of a
> >user's manual I maintain, and I'd like the sample postscript
> >fragment that would do something of this sort.  If anybody has any
> >bits of postscript that could be included in a MSWord document to do
> >this, and even instructions on where to put the fragment, I'd be
> 
>         "I'd like that also" :-)
> 
 I use this fragment of code (I didnt write it.... but it works...)

gsave
initmatrix 72 dup scale
/Helvetica-Bold findfont 1 scalefont setfont
(DRAFT) dup
stringwidth pop
4.5 5.5 translate
60 rotate 2 div neg 0 moveto
.95 setgray
show
grestore

You can put any characther string in the place of the word draft...(i find
that "confidential" is another good word to use...), and then put this
into the header of the document.  Make sure that you format the text as
hidden and of style Postscript (from the PS glossary).

Hope that helps....

-Keith

===============================================================================
Keith O. Elliston                        |  Usenet:  uunet!rob!elliston 
Senior Information Scientist             |  Arpanet: rob!elliston@uunet.uu.net 
Merck Sharp & Dohme Res. Lab.            |  Bitnet:  elliston%rob.uucp@psuvax1
Rahway, NJ  07065  U.S.A.                |   -or-    elliston@biovax 
===============================================================================
Disclaimer:  I can have no OFFICIAL comments about anything........
===============================================================================
Technical Details
Message-ID: <360@rob.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!rob!elliston
References: <13222@dartvax.Dartmouth.EDU> <17431@usc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!rob!elliston
From: elliston@rob.UUCP ( Keith Elliston)
Newsgroups: comp.sys.mac
Subject: Re: Postscript fragment needed
Summary: hows this....
Message-ID: <360@rob.UUCP>
Date: 26 May 89 13:23:32 GMT
References: <13222@dartvax.Dartmouth.EDU> <17431@usc.edu>
Organization: MSDRL, Merck & Co.,Inc., Rahway, NJ
Lines: 43