home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11301 < prev    next >
Encoding:
Text File  |  1992-11-04  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!mhmann
  3. From: mhmann@nyx.cs.du.edu (Me Mann)
  4. Subject: Re: Problems with Printer-Accounting
  5. Message-ID: <1992Nov5.061639.10556@mnemosyne.cs.du.edu>
  6. X-Disclaimer: Nyx is a public access Unix system run by the University
  7.     of Denver for the Denver community.  The University has neither
  8.     control over nor responsibility for the opinions of users.
  9. Keywords: Printer,Accounting
  10. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  11. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  12. References: <1992Oct27.142545.36422@news.th-darmstadt.de> <1cljraINNi9g@network.ucsd.edu>
  13. Date: Thu, 5 Nov 92 06:16:39 GMT
  14. Lines: 28
  15.  
  16. In article <1cljraINNi9g@network.ucsd.edu> dkf@chem.ucsd.edu (David Knight French) writes:
  17. >In article <1992Oct27.142545.36422@news.th-darmstadt.de> kehr@rs3.hrz.th-darmstadt.de (Roger Kehr) writes:
  18. >> I tried to turn on Printer-Accounting by inserting
  19. >>  acctfile = /var/adm/qacct
  20. >> into the different queues in /etc/qconfig.
  21.  
  22. >    Well, I asked an IBM tech support guy from the printer async
  23. >    group when I had another problem with printing in AIX v3.1.7
  24. >    and he told me that setting ' acctfile = /var/adm/qacct' does 
  25. >    NOT work for PostScript printers.  He said it had something to
  26. >    do with the way piobe thinks of these printers.  I believe
  27. >    he said piobe treats them as passthru, thus no accounting info
  28. >    is returned.
  29. >
  30.  
  31. Absolutely. The piobe does not know how to get the PS pagecount.  The
  32. routine get_pagecount()? in the libdp.a(?) cannot work for a PS
  33. printer. What a shame.  Have anyone out there written a back end
  34. program that can do the print accounting?  What's the reason IBM left
  35. this out?  Could it be because some PS printers can't talk back to report
  36. pagecount?  Off hand I can think of two ways to check the number
  37. of pages printed: (1) from the pagecount on the printer and (2).. pass
  38. the PS file through a PS parser to determine the number of pages.  The
  39. problem is communicating this to the qdaemon which actually write to
  40. qacct....  hence rewriting the piobe. Anyone done this?
  41.  
  42. -Mann
  43.  
  44.