Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!rutgers!njin!princeton!phoenix!rjchen From: rjchen@phoenix.Princeton.EDU (Raymond Juimong Chen) Newsgroups: comp.lang.postscript Subject: n-up printing of Encapsulated PS file Message-ID: <6114@phoenix.Princeton.EDU> Date: 4 Feb 89 17:02:00 GMT Organization: Princeton University, NJ Lines: 31 What I mean by n-up is printing n logical pages on one physical page. From what I can figure from the EPS specs, an EPS-processing program cannot be guaranteed that the last command on a logical page is a "showpage". Moreover, it cannot be guaranteed that the "showpage" is not buried inside a macro that is "bind def"ed. For example, %%Page: ? 1 bop % a beginning-of-page macro, which perhaps sets up something % (although I don't see what, since everything should have been % set up by the prologue; all I can imagine it doing is a "save") ......... % assorted page information eop % an end-of-page macro, which perhaps completes some output begun % by the "...", does a "showpage", and a "restore". %%Page: ? 2 ... and so on ... Now, merely redefining /showpage doesn't seem to be feasible, since the /eop macro might have been "bind def"'ed, so that it always grabs the "official" showpage macro. Am I misreading the specs? (Does anyone already have a program that does n-up printing of EPS files?) -- Raymond Chen UUCP: ...allegra!princeton!{phoenix|pucc}!rjchen BITNET: rjchen@phoenix.UUCP, rjchen@pucc ARPA: rjchen@phoenix.PRINCETON.EDU, rjchen@pucc.PRINCETON.EDU "Say something, please! ('Yes' would be best.)" - The Doctor