home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!news.service.uci.edu!ucivax!ucla-cs!ucla-se!scw
- From: scw@ollie.SEAS.UCLA.EDU
- Newsgroups: comp.unix.aix
- Subject: Re: postscript printer accounting / AIX
- Message-ID: <9198@lee.SEAS.UCLA.EDU>
- Date: 22 Jan 93 18:50:36 GMT
- References: <1993Jan15.182025.25752@syma.sussex.ac.uk> <1993Jan19.140212.7598@magnus.acs.ohio-state.edu>
- Sender: news@SEAS.UCLA.EDU
- Reply-To: scw@ollie.SEAS.UCLA.EDU (Stephen C. Woods)
- Organization: UCLA School Of Engineering & Applied Science
- Lines: 13
-
- >The problem lies in the fact that you would need a full postscript interpreter
- >in order to find out how many pages were written. In the simplest case, you
- >could just could the showpage commands. But, usually the showpage command is
- >conditionally generated via macros, who depend on font sized, etc.
-
- Much simpler is to query the page count before printing (from the printer)
- then read the value returned.
- Then query again when the jobs is finished, and read the new value.
- new - old is page count (exactly).
- -----
- Stephen C. Woods; UCLA SEASNET; 2567 BH;LA CA 90024; (310)-825-8614
- UUCP: ...{ibmsupt,ncar!cepu}!ollie}!scw Internet:scw@SEAS.UCLA.EDU
- "Non, je ne regrette rien"--1er RE de Para 1963
-