From owner-freebsd-questions Sun Oct 21 16:50:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from taz.secure.icr.com.au (fantasy.icr.com.au [203.17.49.120]) by hub.freebsd.org (Postfix) with ESMTP id 89F0337B403 for ; Sun, 21 Oct 2001 16:50:32 -0700 (PDT) Received: from icr.com.au (localhost.secure.icr.com.au [127.0.0.1]) by taz.secure.icr.com.au (8.11.1/8.11.1) with ESMTP id f9LNtFR40852 for ; Mon, 22 Oct 2001 09:55:16 +1000 (EST) (envelope-from dale@icr.com.au) Message-Id: <200110212355.f9LNtFR40852@taz.secure.icr.com.au> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: dale@icr.com.au To: freebsd-questions@freebsd.org X-Image-URL: http://www.icr.com.au/~dale/face.gif Subject: Printcap / Accounting Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 22 Oct 2001 09:55:14 +1000 From: Dale Walker Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi All, I am trying to implement printer accounting, and I have tried the following: /etc/printcap: ----------------------------------------------- testprn:\ :sh:af=/var/account/testprn.acct:\ :pw#77:pl#58:\ :lp=/tmp/testprn:\ :sd=/var/spool/output/testprn:\ :lf=/var/log/lpd-errs: ----------------------------------------------- send printjob, eg. 'lp -dtestprn /etc/namedb/named.conf' results 1. output is created normally in /tmp/testprn (I don't have a printer attached) 2. nothing is created in /var/account for it 3. pac -Ptestprn returns nothing next, I tried to 'touch' the accounting file, and retry. # touch /var/account/testprn.acct # chmod 777 /var/account/testprn.acct result was same as before... Has anyone got print accounting working on the lpd system before?? -- Dale Walker < dale@icr.com.au > Independent Computer Retailers (ICR) Pty Ltd http://www.icr.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message