home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!caen!nic.umass.edu!news.amherst.edu!twpierce
- From: twpierce@unix.amherst.edu (Tim Pierce)
- Subject: Re: Automated accounting of pages printed to PostScript printers
- Message-ID: <By5DK0.4Gp@unix.amherst.edu>
- Organization: Elitist Usenet Administrators, Stuff & Nonsense Division
- References: <1992Nov19.185600.4746@mcshub.dcss.mcmaster.ca> <419@infocom.UUCP>
- Date: Mon, 23 Nov 1992 02:28:47 GMT
- Lines: 25
-
- In article <419@infocom.UUCP> pgoujard@infocom.UUCP (Philippe Goujard) writes:
-
- >Carl Krasnor (krasnor@nimios.eng.mcmaster.ca) wrote:
- >
- >: As many followers of this group have asked for before, we require software
- >: to automatically perform accounting of pages printed to a PostScript
- >: printer. It could be as simple as a running tally of pages printed for
- >: each user ID on a system.
- >
- >... can a simple "grep showpage | wc -l" sort of
- >script do the trick?
-
- No; a PostScript document can have several "showpage" commands on a
- line. At the very least, you'd need some script to break the document
- up into tokens, but even then, you wouldn't get around sneaky users
- who might plug a "/foobar { showpage } def" into the beginning of
- their document and then use "foobar" instead of "showpage."
-
- I think almost certainly you'd want something much more low-level
- than this.
-
- --
- ____ Tim Pierce /
- \ / twpierce@unix.amherst.edu / Rocks say goodbye.
- \/ (BITnet: TWPIERCE@AMHERST) /
-