On Thu, 16 Aug 2001, Ryan Novosielski wrote:
> Accounting, to my best recollection, requires the machine that is actually
> talking to the printer to have a printcap entry for lp of "/dev/null" and
> ifhp must include dev=printer%port...
> That's the only thing that really works for me.
I never used entry "/dev/null" ... and accounting works fine. I still use
LPRng-3.5.1 and ifhp-2.2.8 on RedHat 6.2 server. 2 or 3 years ago when
I first installed the LPRng, the system find that printer attached, is
raw@zbi (?! ... zbi is nickname for zbi.ee, which also works as DNS
server). In the hosts file printer is: laser4m.zbi.ee
##PRINTTOOL3## LOCAL ljet4 600x600 a4 {} LaserJet4 Default {}
lp|raw@zbi
:sd=/var/spool/lpd/lp
:mx#0
:sh
:sf
:cm=HP LaserJet 4M Plus
:lf=log
:rw
:ps=status
:af=acct
:lp=laser4m%9100
:if=/usr/local/lib/filters/ifhp
-Tpagecount=off,forcepagecount=on,infostatus=off,quiet=on
# :of=/usr/local/lib/filters/ofhp
-Tpagecount=off,forcepagecount=on,infostatus=off,quiet=on
:as=/usr/local/lib/filters/accounting.pl start
:ae=/usr/local/lib/filters/accounting.pl end
--------------------------------
Aavo Kuslapuu
Engineer
Institute of Zoology and Botany
Riia 181, Tartu, Estonia
Voice (372) 472 447
GSM: 052 76 169
--------------------------------
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------