> From [EMAIL PROTECTED] Tue Aug  8 07:34:24 2000
> Date: Tue, 8 Aug 2000 15:19:19 +0200 (SAST)
> From: Susan McGlashan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: pagecount and accounting.pl
>
> Hi
>
> I must be missing something, but having reread the ifhp and lprng how-tos,
> I have 2 major problems, and would appreciate assistance.
>
> If anyone is using the HP4050N, and has accounting working, please let me
> know how.
>
> Otherwise, I have 2 problems:
> 1     The pagecount is always zero.
> 2     Whenever I try to run accounting.pl,  the printjob is aborted
> (lpq shows abort).
>
> lp|ug-printer
>       :sd=/var/spool/lpd/ug-printer:\
>       :mx=0:\
>   :sh:\ 
>       :lp=lp@ip_address                 *****<--- here is the problem

The RFC1179 protocol does not return status.  Please use:
        :lp=ip_address%9100

>       :lpd_bounce
>       :ifhp=model=hp4050
>   :filter=/usr/libexec/filters/ifhp
>       :lf=log
>       :af=acct
>   #:achk                              ***** remove this for now

Comment out the above entry until you get status back.

>   # :as=|/usr/libexex/filters/accounting.pl start
>   # :ae=|/usr/libexex/filters/accounting.pl end
>

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
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