🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4095

PostScript page count filter for Unix

#4095
From: McEWAN Shane
Date: Wed, 07 Oct 1992 06:43
21 lines
1259 bytes
G'day! In recent weeks I've been given the task of gathering accounting
information about our PostScript laser printers attached to our central
server here. Ideally I'd like to keep a record of the number of pages each
job prints.

I was wondering if anyone has written a program that will read
through a PostScript file looking for "showpage" as well as any macros that
include a showpage command.

That's the tricky bit.....you need to effectively write a mini PostScript
interpreter which is something I'm not quite up to, yet. *sigh*

Any hints, tips and tricks (or even full blown solutions ;-) will be much
appreciated.

Catchya!
--

  Shane McEwan     CSIRO Division of Atmospheric Research    spm@dar.csiro.au
================================================================================
              ______|    ______|    __  __|    ____  |    ____  |
Technical Details
Message-ID: <1992Oct7.064348.18507@aurora.dar.csiro.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!aurora!spm

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!aurora!spm
From: spm@dar.csiro.au (McEWAN Shane)
Subject: PostScript page count filter for Unix
Message-ID: <1992Oct7.064348.18507@aurora.dar.csiro.au>
Sender: @aurora.dar.csiro.au
Organization: CSIRO Division of Atmospheric Research
Date: Wed, 7 Oct 1992 06:43:48 GMT
Lines: 21