Path: utzoo!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac,att!ucbvax!CIS.OHIO-STATE.EDU!pollack From: pollack@CIS.OHIO-STATE.EDU (Jordan B Pollack) Newsgroups: comp.laser-printers Subject: Re: Counting PostScript Pages Message-ID: <9103181602.AA11523@crayola.cs.UMD.EDU> Date: 17 Mar 91 13:30:54 GMT References: <9103132037.AA25632@crayola.cs.UMD.EDU> <9103141524.AA00940@crayola.cs.UMD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: Ohio State Computer Science Lines: 15 Approved: laser-lovers@brillig.umd.edu STATIC counting of showpage will not work, because it if often used once, in a definition like "P" or "E". "Conforming" postscript can be counted with "%%Page", but tricky users who don't wish to pay $.15 per page will delete them. The best way is to use a postscript interpreter, or an old laserwriter printer, with a program like the "distillery" which redefines every drawing primitive and just counts DYNAMIC calls to showpage. -- Jordan Pollack Assistant Professor CIS Dept/OSU Laboratory for AI Research 2036 Neil Ave Email: pollack@cis.ohio-state.edu Columbus, OH 43210 Fax/Phone: (614) 292-4890