home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.apps
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!morganucodon.cis.ohio-state.edu!jgreely
- From: jgreely@morganucodon.cis.ohio-state.edu (J Greely)
- Subject: Re: Pageview overlays pages of some postscript files
- In-Reply-To: daves@assip.csasyd.oz.au's message of 7 Sep 92 03: 20:40 GMT
- Message-ID: <JGREELY.92Sep8161437@morganucodon.cis.ohio-state.edu>
- Originator: jgreely@morganucodon.cis.ohio-state.edu
- Sender: news@cis.ohio-state.edu (NETnews )
- Organization: Ohio State University Computer and Information Science
- References: <8372@sirius.ucs.adelaide.edu.au> <daves.715836040@condor>
- Date: Tue, 8 Sep 1992 21:14:37 GMT
- Lines: 40
-
- In article <daves.715836040@condor> daves@assip.csasyd.oz.au
- (David Smart) writes:
- >The problem is that PageView uses the %%page command to determine
- >where pages end. If there aren't any, it doesn't stop. This is the
- >wrong behaviour, as the %%page is specifically a comment (called a
- >"body comment" in the "red book").
-
- This is perfectly sensible behavior for a previewer. While it's nice
- that some other previewers manage to trap all showpage commands
- correctly, the problem is "poor PostScript", not "poor previewer".
-
- >The red book indicates that an application that "operates on the
- >structure of a PostScript page description (to extract page subsets,
- >reverse the order of pages, etc.) must pay attention to these
- >boundaries". IMHO, PageView is emulating a printer, not an
- >application that extracts page subsets, etc.
-
- Unless you cache all of the bitmaps, how else is the previewer going
- to page backwards? Also, if I want to read page 300 of a 300-page
- document, it's damn silly to have to wait for all of the pages to be
- rendered. Proper use of the Adobe Document Structuring Conventions
- makes life much simpler.
-
- >It's easy to see why they did it - it makes provision of
- >next/previous facilities very easy - but it makes the program
- >incompatible with very correct PostScript.
-
- It makes it incompatible with those grubby little PostScript files
- that people show to Mom and say "look what followed me home; can I
- keep it?".
-
- >However, it's much easier to create filters for your favourite
- >PostScript producers - simply get them to shove %%page commands in
- >after the calls to the appropriate page-throw macros.
-
- This is necessary but not sufficient; read the DSC (currently at
- version 3.0, found in appendix G of the second edition of the
- PostScript Language Reference Manual).
- --
- J Greely (jgreely@cis.ohio-state.edu; osu-cis!jgreely)
-