home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.larc.nasa.gov!gatsibm.larc.nasa.gov!jcburt
- From: jcburt@gatsibm.larc.nasa.gov ()
- Newsgroups: comp.unix.aix
- Subject: Re: Printer Accounting...
- Date: 15 Dec 1992 17:55:25 GMT
- Organization: NASA Langley Research Center
- Lines: 60
- Message-ID: <1gl66dINNmn3@rave.larc.nasa.gov>
- References: <1992Dec14.135920.20212@vedge.com> <BzB1Dp.2MvG@austin.ibm.com>
- NNTP-Posting-Host: gatsibm.larc.nasa.gov
-
- In article <BzB1Dp.2MvG@austin.ibm.com> yoder@austin.ibm.com writes:
- >
- >In article <1992Dec14.135920.20212@vedge.com>, kiron@vedge.com (Kiron D. Bondale) writes:
- >> Hi all, having a few problems with setting up the printer accounting.
- >>
- >> 1. Essentially, I have specified my acctfile in /etc/qconfig, made sure
- >> the file was "digested", made sure my acctfile existed and was writable,
- >> made sure accounting was on, and STILL have had none of my printed
- >> files showing up in the log. All my users print via "lp"...none use
- >> enq...is this the problem?
- >>
- >
- >It has nothing to do with which command you use. The lp command in fact
- >calls the enq command. Note that accounting only works for local
- >queues -- for remote printing, accounting will only work on the print
- >server NOT on the print client's remote queue.
- >
- >A question about accounting came up a few days ago and this is what I
- >had posted:
- >
- >...but the following worked fine for me:
- >
- > 1. touch /tmp/qacct
- > 2. edit /etc/qconfig and add the 'acctfile=' parameter
- >
- > lp0:
- > device = lp0
- > acctfile = /tmp/qacct
- > lp0:
- > file = /dev/lp0
- > header = never
- > trailer = never
- > access = both
- > backend = /usr/lib/lpd/piobe
- >
- > 3. run 'enq -d' to make sure that /etc/qconfig is digested
- > 4. print a file to queue lp0
- > 5. as root run the command 'pac -Plp0'
- >
- > get the output:
- >
- > Login pages/feet runs price
- > root 1.00 1 USD .
- >
- > total 1.00 1 USD .
- >
-
- Okay, I did everything you listed above, and I *do* get a similar response
- to the 'pac ' command, but I *still* do not get anything reported
- in my daily reports. I *still* get a column of zeros under the PRINT
- column in the daily reports, even thought the printers are used heavily.
-
- Also, how do you configure 2 printers so that you get seperate accounting
- on *both* printers...right now I'm only attempting to check one, but even that
- doesn't work...suggestions ?
-
- John
- jcburt@gatsibm.larc.nasa.gov
-
-
-