home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / admin / 6327 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.3 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!infocom!pgoujard
  2. From: pgoujard@infocom.UUCP (Philippe Goujard)
  3. Newsgroups: comp.unix.admin
  4. Subject: Re: Automated accounting of pages printed to PostScript printers
  5. Message-ID: <419@infocom.UUCP>
  6. Date: 22 Nov 92 23:14:38 GMT
  7. References: <1992Nov19.185600.4746@mcshub.dcss.mcmaster.ca>
  8. Organization: INFOCOM Public Unix Server, +44 [0] 734 340055
  9. Lines: 19
  10. X-Newsreader: TIN [version 1.1 PL7]
  11.  
  12. Carl Krasnor (krasnor@nimios.eng.mcmaster.ca) wrote:
  13. : As many followers of this group have asked for before, we require software
  14. : to automatically perform accounting of pages printed to a PostScript
  15. : printer. It could be as simple as a running tally of pages printed for
  16. : each user ID on a system.
  17.  
  18. My notion of postscript may be a little bit rusty but if I remember
  19. correctly only the "showpage" command in postscript actually prints a page.
  20. You can send 500kb of graphic information but only when receiving the
  21. showpage your page will be printed (and if the printer receives an
  22. end-of-job (Ctrl D) before the showpage all the work is discarded).
  23.  
  24. So, working on that assumption can a simple "grep showpage | wc -l" sort of
  25. script do the trick?
  26.  
  27. -- 
  28. Philippe Goujard <Sysop>                   Email : pgoujard@infocom.UUCP
  29.        Infocom : Public Usenet access in the UK - (0734) 34 00 55
  30.