🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2458

Re: ps commands to print "DRAFT"

#2458
From: Woody Baker Eagle Signal
Date: Fri, 06 Jul 1990 03:10
26 lines
1557 bytes
In article <3937@dogie.macc.wisc.edu>, yahnke@vms.macc.wisc.edu (Ross Yahnke, MACC) writes:
> August 1990 MacUser had a tip on how to print the large word "DRAFT"
> over a document, using a PS escape font. I've sort of gotten it to
> work in Nisus, only problem is the word "DRAFT" obscures the
> underlying text - unlike the example in the magazine. Can anybody
> suggest what must be done to make the word "DRAFT" transparent?
> Here's the code, thanks!:
> 
> gsave
> 
> >>> yahnke@macc.wisc.edu <<<
First of all, don't do initpage.  that is a NO NO.
The make sure that the draft routine gets called AT THE FIRST OF THE PAGE,
so that it gets layed down first.  Postscript uses an OPAQUE painting model
(unfortunatly that is *ALL* you get, there is no way to get quite the
same effect transparently).  At anyrate, by placing the DRAFT down
on the page first, then text will get put on top of it.  In addition, you 
should pick a fine, but light (very light) gray shade.  I like the one
Don uses,

106 45 {dup mul exch dup mul add 1.0 exch sub } setscreen

This establishes a fine gray...

Cheers
Woody
Technical Details
Message-ID: <1378@chinacat.Unicom.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!chinacat!woody
References: <3937@dogie.macc.wisc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!chinacat!woody
From: woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal)
Newsgroups: comp.lang.postscript
Subject: Re: ps commands to print "DRAFT"
Summary: Arrange the order.
Message-ID: <1378@chinacat.Unicom.COM>
Date: 6 Jul 90 03:10:12 GMT
References: <3937@dogie.macc.wisc.edu>
Organization: a guest of Unicom Systems Development, Austin
Lines: 26