Path: utzoo!utgpu!news-server.csri.toronto.edu!me!sun Newsgroups: comp.lang.postscript From: sun@me.utoronto.ca (Andy Sun Anu-guest) Subject: Re: Psroff meets Pageview. Message-ID: <91Feb6.131752est.19475@me.utoronto.ca> Organization: U of Toronto, Dept. of Mechanical Engineering References: <1272@ecicrl.ocunix.on.ca> Date: 6 Feb 91 18:18:02 GMT clewis@ferret.ocunix.on.ca (Chris Lewis) writes: >One of the people using psroff is using X11 pageview to >view the Postscript that psroff generates, and is encountering >a problem which someone may be able to solve. Namely, each >page overlaps rather than replaces the previous page. >(eg: no erase is occuring of the previous page) >Psroff generates Adobe 1.0 conformant format files, which have >prologs, "%%Page:"'s and "%%Trailer:". The postscript isn't >particularly complicated. Pages look something like: > %%Page: ? 1 > (string) x-value y-value Y > (string) x-value X > ShowPage >Y and X are routines that place the string at the coordinates >specified by the x-value and y-value numeric constants (X uses the >previous y coordinate). ShowPage consists of just "showpage" >plus an increment of a page counter. Replacing the ShowPage with >showpage doesn't appear to solve the problem. There are occasional >font definitions using another function I've defined in the prolog. >(the font definition function is fairly complicated because I'm >trying to cache definitions, rather than findfont/scalefont/setfont >invocations each time) >Does anybody know why pageview could be doing this? Any suggestions >that might solve the problem? >Thanks, I am using psroff from Abobe Transcript 2.1 and CAT troff and I do encounter the above problem, sometimes. What I found out was that if you renumber the page somewhere in the middle of the document (like using i, ii, iii and suddenly restart with 1, 2, 3), PageView will screw up and overlapping everything on one page. What I have to do now with documents like this is to view those pages separately by using the -o option in psroff. I also ecountered this on Mac documents, but I have yet to find out what really happens in the case of a Mac. Andy _______________________________________________________________________________ Andy Sun | Internet: sun@me.utoronto.ca University of Toronto, Canada | UUCP : ...!utai!me!sun Dept. of Mechanical Engineering | BITNET : sun@me.utoronto.BITNET