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.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Paul Reinerfelt
> Sent: Thursday, August 16, 2001 6:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: Accounting doesn't work!
>
>
> On Thu, 16 Aug 2001, Christoph Beyer wrote:
>
> >
> >
> > Paul Reinerfelt schrieb:
> > >
> > > Hi!
> > >
> > > I can't get accountnig to work! Everytime I include anything
> on the :as line I
> > > get no printout whatsoever! I even tried with a tiny script
> that just echoed the
> > > commandline and then indicated JSUCC, same result.
> > >
> > > I sniffed the network during my tries and deamon the doesn't
> even try to connect
> > > to the printer! I can't see any packets going from the
> computer to the printer, not
> > > even a SYN-packet. Despite this, the log claims that it does
> try to open the
> > > connection. This is what it says: 'opening device
> X.X.X.X%9100...', but nothing
> > > happens.
> > >
> > > In a final, desperate, attempt I did a 'truss' (trace system
> calls and signals)
> > > run on the deamon and as far as I can tell, it is stuck in
> trying to access some
> > > file named /etc/.syslog_door as well as trying to access
> various files in
> > > /var/nis/.
> > >
> > > My printcap:
> > > -----
> > > nisse:client
> > >    :cm=Testskrivare
> > >    :force_localhost@
> > >    :rm=radsvinn.cs.lth.se
> > you need  ':rp=nisse' right here (if this is the queuename on the
> > server)
> > regards
> >     ~christoph
>
> But that doesn't explain why it works perfectly well when I
> comment out the two
> lines for accounting!
>
> /Paul Reinerfelt
> Research student of Computer Science in Lund, Sweden
> http://www.cs.lth.se/home/Paul_Reinerfelt/
>
>
> ------------------------------------------------------------------
> -----------
> 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.
> ------------------------------------------------------------------
> -----------
>


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