On Tue, 20 Mar 2001, Hans O. Lowe wrote:

> Howdy LPRngers,
>
> I am setting up LPRng and ifhp to do accounting. I have not been able
> to get the filters to record the pagecount. Any help would be much
> appreciated.
>
> ##### Versions
> OS:     Linux 2.2.5-15 Redhat 6.0
> LPRng: 3.7.4 (compiled with --disable-gdbm)
> ifhp:  3.4.4
> accounting.pl: 5.5 2000/06/09
>
> ##### /etc/printcap
> test:cm=Spool for testing, use at your own risk
>       :[EMAIL PROTECTED]
>       :ifhp=model=hp4plus,status@
>       :sd=/var/spool/lpd/%P
>       :sh
>       :force_localhost
>       :filter=/usr/local/libexec/filters/ifhp
>       :of=/usr/local/libexec/filters/ifhp
>       :as=|/usr/local/libexec/filters/accounting.pl start
>       :ae=|/usr/local/libexec/filters/accounting.pl end

Try changing that to:

        :lp=123.45.67.89%9100

The other method sends the job to the printer using the LPD protocol.  To
use ifhp to get the pagecount, you need to talk directly to the printer on
port 9100 (as you were doing in your ifhp test).

        Andy


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to