Article View: comp.lang.postscript
Article #5663Help with possible redef of showpage
From: Jim West (Stealth Contractor)
Date: Mon, 13 May 1991 22:16
Date: Mon, 13 May 1991 22:16
47 lines
2451 bytes
2451 bytes
I'm teaching myself PostScript and have gone thru the 'Tutorial and
Cookbook' and have stumbled my way thru the LRM.
Here's what I'm trying to accomplish :
I need the capability to redefine showpage to put a label at the top
and bottom of every page and to print a running page number on each page
as well.
This help is needed for a customer who works in a classified environment
and needs to put the classification on each page.
The PostScript files are being generated from various sources (such as
screen captures, FrameMaker, and others).
What we would like to do is take these PostScript files and run them
thru a filter that would add our 'showpage' procedure and then pipe the
output to the printer.
Also the customer would like to have a banner and a trailer page printed
as well (I figured I could just cat the header, file, and trailer to the
printer).
I've had success with a small example redefining showpage. If that's all
there is to it then I think I'm starting to get the hang of PostScript (the
dict's are still quite fuzzy...). The problem we have with the redefinition
of showpage is that we need each 'original' page scaled down so that there
is not any 'overwriting' of the label and the text from the page.
Any help that anyone can offer will be greatly appreciated. Also, what
other books would you all recommend for learning more about PostScript ?
Much thanx,
-=> Jim <=-
----------------------------------------------------------------------
Jim West | The Schainker Converse
west@widgit.enet.dec.com | to Hoare's Law :
|
These are my opinions. | Inside every small problem
Digital has no idea | is a larger problem struggling
what I'm saying. | to get out.
----------------------------------------------------------------------
Technical Details
Message-ID:
<3138@shodha.enet.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!shodha.enet.dec.com!widgit.enet.dec.com!westShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!shodha.enet.dec.com!widgit.enet.dec.com!west From: west@widgit.enet.dec.com (Jim West (Stealth Contractor)) Newsgroups: comp.lang.postscript Subject: Help with possible redef of showpage Message-ID: <3138@shodha.enet.dec.com> Date: 13 May 91 22:16:02 GMT Sender: news@shodha.enet.dec.com Organization: Digital Equipment Corporation Lines: 47