Path: utzoo!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac,att!ucbvax!RODAN.ACS.SYR.EDU!amichiel From: amichiel@RODAN.ACS.SYR.EDU (Allen J Michielsen) Newsgroups: comp.laser-printers Subject: Re: Counting PostScript Pages Keywords: postscript, accounting Message-ID: <9103181601.AA11459@crayola.cs.UMD.EDU> Date: 15 Mar 91 19:18:37 GMT References: <9103132037.AA25632@crayola.cs.UMD.EDU> <9103141524.AA00940@crayola.cs.UMD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: Syracuse University, Syracuse, NY Lines: 22 Approved: laser-lovers@brillig.umd.edu <9103141524.AA00940@crayola.cs.UMD.EDU> kludge@GRISSOM.LARC.NASA.GOV (Scott Dorsey) writes: >In article <9103132037.AA25632@crayola.cs.UMD.EDU> jlg@UNCCVAX.UNCC.EDU (john l grant) writes: >>Does anyone have a filter program that will count Postscript >>pages before the file goes to the printer? I've taken a quick >how about > egrep showpage | wc -l >Crude but fairly efficient. I don't suppose this crude but fairly efficient model works too well when using copypage or when showpage has been logically defined as sp or when ..... al -- Al. Michielsen, Mechanical & Aerospace Engineering, Syracuse University InterNet: amichiel@rodan.acs.syr.edu amichiel@sunrise.acs.syr.edu Bitnet: AMICHIEL@SUNRISE