home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13658 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.2 KB

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