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

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!ut-emx!utpapa.ph.utexas.edu!taluskie
  2. From: taluskie@utpapa.ph.utexas.edu (Vince Taluskie)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: postscript printer accounting / AIX
  5. Message-ID: <86624@ut-emx.uucp>
  6. Date: 25 Jan 93 21:26:14 GMT
  7. References: <1993Jan15.182025.25752@syma.sussex.ac.uk> <1993Jan19.140212.7598@magnus.acs.ohio-state.edu>
  8. Sender: news@ut-emx.uucp
  9. Organization: Physics Department, University of Texas at Austin
  10. Lines: 34
  11.  
  12. In article <1993Jan19.140212.7598@magnus.acs.ohio-state.edu> merrick@magnus.acs.ohio-state.edu (Tom Merrick) writes:
  13. >In article <1993Jan15.182025.25752@syma.sussex.ac.uk> peterk@syma.sussex.ac.uk (Peter J Knowles) writes:
  14. >>I wish to keep statistics of number of pages printed by user for a
  15. >>postscript printer. The system is IBM RS6000 / AIX 3.2, and so the
  16. >>solution might or might not use the queue accounting facilities of AIX.
  17. >>
  18. >>Has anyone done it already, please?
  19. >
  20. >There is no accounting information written by AIX for postscript printers.
  21. >
  22. >The problem lies in the fact that you would need a full postscript interpreter
  23. >in order to find out how many pages were written.  In the simplest case, you
  24. >could just could the showpage commands.  But, usually the showpage command is
  25. >conditionally generated via macros, who depend on font sized, etc.
  26.  
  27. Or better yet, you would use a program like lprps which will go out and
  28. querry the pagecounter that is kept on the printer to find out how many
  29. pages have actually been printed (then you don't have to worry about
  30. people redefining showpages and the like).
  31.  
  32. I've just installed lprps on one of our Ultrix machines and it seems to
  33. work great.  I'm getting ready to try the same thing under AIX, and I'm
  34. curious to know what AIX does with certain files: /etc/remote, /etc/ttys,
  35. /etc/printcap.  I'm going to have a look through /usr/lpp/bos/bsdadm
  36. but I'd appreciate any tips on setting up this program under AIX.
  37.  
  38. >Tom Merrick
  39. >Ohio State University
  40.  
  41.  
  42. -- 
  43. Vince Taluskie                               taluskie@utpapa.ph.utexas.edu
  44. Unix Services      Physics Computer Group    University of Texas at Austin
  45.  
  46.