--- Andreia Pio da Silva - func
<[EMAIL PROTECTED]> wrote:
> Patrick Powell wrote:
> >
> > > From [EMAIL PROTECTED] Mon Mar 11
> 09:41:27 2002
> > > Date: Mon, 11 Mar 2002 13:44:46 -0300
> > > From: Andreia Pio da Silva - func
> <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: LPRng: Pagecounter - HP LaserJet 4
> > >
> > > Hi,
> > >
> > > How can I access the pagecounter (HW) of
> > > the printer HP LaserJet 4 ?
> > >
> > > my printcap:
> > > lj4|lp
> > > :af=acct
> > > :as=|/usr/local/libexec/filters/accounting.pl
> start
> > > :ae=|/usr/local/libexec/filters/accounting.pl
> end
> > > :cm=HP Laserjet 4
> > > :filter=/usr/local/libexec/filters/ifhp
> > > :ifhp=model=hp4,status,sync,pagecount,waitend
> > > :lf=log
> > > :lp=/dev/lpt0
> > > :mx=0
> > > :rw@
> > > :sd=/var/spool/lpd/%P
> > > :of=/usr/local/libexec/filters/ifhp -q
> -Tsync,pagecount,waitend
> > > :sh
> > >
> > > my file accounting (acct):
> > > START 'A=root@open+367' 'P=lj4' 'n=root'
> 'H=open.ifi.unicamp.br'
> > > 'D=1015865033'
> > > start '-q371' '-p0' '-t2002-03-11-13:43:53.390'
> '-Aroot@open+367'
> > > '-nroot' '-Plj4'
> > > filestart '-q372' '-p0'
> '-t2002-03-11-13:43:53.493' '-Aroot@open+367'
> > > '-nroot' '-Plj4'
> > > fileend '-b0' '-T0' '-q372' '-p0'
> '-t2002-03-11-13:43:53.509'
> > > '-Aroot@open+367'
> > > '-nroot' '-Plj4'
> > > end '-b0' '-T0' '-q371' '-p0'
> '-t2002-03-11-13:43:53.513'
> > > '-Aroot@open+367' '-nroot' '-Plj4'
> > > END 't=0' 'p=0' 's=0' 'q=0' 'D=1015865033'
> 'A=root@open+367' 'P=lj4'
> > > 'n=root' 'H=open.ifi.unicamp.br' 'S=1015865033'
> > >
> > > thanks,
> > >
> > > --
> > > Andr�ia Pio da Silva
> > >
>
________________________________________________________________________
> > > Centro de Computa��o John David Rogers - CCJDR
> voice: +55 19 3788.5306
> > > Instituto de F�sica Gleb Wataghin - IFGW -
> UNICAMP
> >
> > Your parallel port must be in bidirectional mode.
> >
> > a) if you are using linux, do you get the IEEE1492
> stuff reported?
> > if you do not, then it is not bidirectional
> and you are in trouble.
> >
> > b) make sure you have a bidirectional cable...
> >
> > Patrick
> >
>
> Hi,
>
> a) My s.o. is FreeBSD 4.5
> b) I have a bidirectional cable and port
> (ECP+EPP/BIOS)
>
> I think that HP LaserJet4 don't available to
> read your hardware
> pagecounter. The option
> ":rw" of printcap don't work.
>
> The LPRng-HOWTO says:
>
> "There are two approaches to printing accounting:
> use software determine
> the number of pages that should be printed or use a
> hardware pagecounter
> facility on the printer to accurately determine the
> number of pages
> used. LPRng provides facilities to use either method
> to determine page
> counts."
>
> How can I use software to determine the number of
> pages ?
> How can I configure my printcap to determine the
> number of pages printed
> if I don't read my hardware pagecounter ?
>
> thanks,
>
> --
> Andr�ia Pio da Silva
>
________________________________________________________________________
> Centro de Computa��o John David Rogers - CCJDR
> voice: +55 19 3788.5306
> Instituto de F�sica Gleb Wataghin - IFGW - UNICAMP
>
>
>
-----------------------------------------------------------------------------
> 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.
>
-----------------------------------------------------------------------------
hi,
go to the test menu from the LCD display of your
lj4 and select postscript configuration page for
printing. you should get the total page count at the
bottom
regards
sidharth
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------