🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.laser-printers
Article #359

Re: Counting PostScript Pages

#359
From: Jordan B Pollack
Date: Sun, 17 Mar 1991 13:30
15 lines
1306 bytes
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
Technical Details
Message-ID: <9103181602.AA11523@crayola.cs.UMD.EDU>
Path: arc1-ca.pugleaf.net!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
References: <9103132037.AA25632@crayola.cs.UMD.EDU> <9103141524.AA00940@crayola.cs.UMD.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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