On Fri, 9 Feb 2001, Luke Bakken wrote:

> Hi all,
>
> I'm trying to get a pagecount using ifhp and an HP4000 with a jetdirect
> 3111A card.  IF anyone has been successful with this, please let me know!!
> I've fiddled with the stock ifhp.conf and printcap to no avail.  netcat
> with the supplied PS pagecount program and @PJL INFO PAGECOUNT work, as
> well as a perl script to get the count via a connection, but it's slow and
> i'm wondering how this will affect performance (probably not good!)
>
> Thanks,
> Luke Bakken

We do this for an hp4000.  Here is the entry we use in /etc/printcap:

aihm5000|:
        :lp=aihm5000.xxxx.xxx%9100:
        :mx#0:rw:sh:
        :ps=status
        :af=acct
        :lf=log
        :sd=/var/spool/lpd/aihm5000
        :fx=flpv
        :ifhp=model=hp4000
        :if=/usr/local/libexec/filters/ifhp
#       :of=/usr/local/libexec/filters/ofhp
        :as=|/usr/local/libexec/filters/acct.pl start
        :ae=|/usr/local/libexec/filters/acct.pl end

        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