Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!purdue!decwrl!labrea!polya!rokicki From: rokicki@polya.Stanford.EDU (Tomas G. Rokicki) Newsgroups: comp.lang.postscript Subject: Re: PS libraries Message-ID: <8751@polya.Stanford.EDU> Date: 25 Apr 89 15:05:17 GMT References: <2994@daisy.UUCP> <775@adobe.UUCP> Sender: Tomas G. Rokicki Organization: Stanford University Lines: 20 > The hardest part about this is that PostScript programmers notoriously > neglect this kind of possibility. For example, consider the following > piece of code, which, despite the comments, you can't factor into one > prologue plus more than one instance of the script. It's pretty common: > > /myprog save def > %%BeginProcSet: prologue 1.0 0 ... > %%EndProcSet: prologue 1.0 0 ... > myprog restore > Glenn Reid Okay, so where does a global save/restore go, in the context of EPSF? (Don't tell me that we should assume the save/restore, as supplied by the printer, because many people on microcomputers lack the proper spooling software that sends ^D's at the end of the file.) The restore has to go in the trailer. The save can't be in any of the pages. Between the prologue and the pages? But I want to lose the prologue definitions too, if possible. Comments?