Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.open-look Subject: Re: pageview problems.. Message-ID: <1991May14.154252.4481@alphalpha.com> Date: 14 May 91 15:42:52 GMT References: <1278@opus.NMSU.Edu> Distribution: comp.windows.open-look,alt.sys.sun Organization: none Lines: 33 In article <1278@opus.NMSU.Edu> kalt@nmsu.edu (Kerry Alt) writes: >Has anyone out there encountered problems with pageview ignoring the >page breaks in postscipt files generated by dvi2ps? The .ps file >prints out fine, but when previewed with pageview, all pages are >displayed on one page. Any fixes to be had? I just spent several hours playing with a file that worked and a file that didn't (thanks to the great docs on pageview (are there any docs on pageview?)). What you need is to have %%EndProlog just before the first page (but after all the definitions) and then preceed each page with %%Page: n n Where n is in theory the page number although since I was doing this in a sed script I just used 1 all the time. (Actually I suspect that the second n is supposed to be the total number of pages, but the sample I was looking at didn't have it set to that.) That seemed to do it for me. -- Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.