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