TIA
Mats Karlsson
ma...@nettaxi.com
MatsK wrote:
>
> Is there anyone that can direct me to where I can find the ODI for no. of
> pages printed from a HP printer.
>
> Mats Karlsson
It depends on the printer. Recent HP LaserJets generally implement RFC
1759 and the page count is found at
prtMarkerLifeCount = 1.3.6.1.2.1.43.10.2.1.4.1.1
also interesting for this class of printers is
prtMarkerPowerOnCount = 1.3.6.1.2.1.43.10.2.1.5.1.1
For other HP printers the page count figure may be found in the
proprietary PML MIB (of the printer). These are accessed in the standard
way using SNMP.
Possible objects within the printer PML MIB are:
TOTAL-ENGINE-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.5.0
DUPLEX-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.22.0
PCL-TOTAL-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.3.5.0
POSTSCRIPT-TOTAL-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.3.3.4.5.0
TOTAL-COLOR-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.7.0
TOTAL-MONO-PAGE-COUNT 1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.6.0
For printers that do not have a PML MIB the TOTAL-ENGINE-PAGE-COUNT and
the TOTAL-COLOR-PAGE-COUNT may never-the-less be given figures from the
JetDirect card. These figures may come from say: novell accounting.
Typically the NVRAM is only updated every 10 pages, hence all of these
numbers may go down by up to 9 over a power cycle.
Which OIDs are relevant to a particular printer is easiest to find out
by trial and error.
Jeremy Carroll
HP Labs, Bristol
----
This posting is a private communication from the author and not official
product information from HP.
MatsK wrote:
>
> Is there anyone that can direct me to where I can find the ODI for no. of
> pages printed from a HP printer.
>
> TIA
> Mats Karlsson
> ma...@nettaxi.com
I noticed that my previous post did not answer the question of where the
information I posted is available. (Other than RFC 1759).
AFAIK HP does not provide a public (or even private!) site where printer
management information is available. As part of my job I track a number
of HP internal sources.
I also try and follow comp.protocols.snmp partly to reply to queries
about HP Printer MIBs. If I do not reply to such a posting please prompt
me by e-mail. However, I do not wish to get into private e-mail
exchanges.
Jeremy Carroll
Printing Systems and Solutions
HP Labs
THANKS
Mats
Jeremy Carroll <j...@hplb.hpl.hp.com> wrote in message
news:37BD6461...@hplb.hpl.hp.com...
Try this OID:
.1.3.6.1.2.1.43.10.2.1.4.1.1
Barron Hulver
CWRUnet Services
Case Western Reserve University
Cleveland, Ohio 44106-7072
bar...@po.cwru.edu
I plot this in MRTG using the following configuration file:
#WorkDir: /usr/packages/.../mrtgprinterpages
WorkDir: /usr/.../mrtg/mrtgprinterpages
Refresh: 600
Interval: 60
# rfc 1759 printer mib
#
# iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).printmib(43)
# 2/23/99 09:49 a.m.? Name: 43.10.2.1.4.1.1 -> Counter: 236007
# 2/26/99 10:15 a.m. 239048
#
# The number of pages/second is typically < 1 (not an integer),
# Therefore calculate number of pages/hour to make an integer
#
MaxBytes[_]: 999999
Suppress[_]: y
YLegend[_]: Pages/Hour
ShortLegend[_]: p/h
Legend1[_]:Pages Per Hour
LegendI[_]:
LegendO[_]: Pages:
Options[_]: growright, nopercent
#Colour1#RRGGBB,Colour2#RRGGBB,Colour3#RRGGBB,Colour4#RRGGBB
#Colours[ezwf]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff
example
#Colours[_]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#000000,VIOLET#000000
fairly good
#Colours[_]: GREEN#00fe00,BLUE#1000ff,DARK GREEN#000000,VIOLET#000000
very light green
#Colours[_]: GREEN#fefefe,BLUE#1000ff,DARK GREEN#000000,VIOLET#000000
whiter than background
#Colours[_]: GREEN#ccfecc,BLUE#1000ff,DARK GREEN#000000,VIOLET#000000
Colours[_]: GREEN#eefeee,BLUE#1000ff,DARK GREEN#000000,VIOLET#000000
Title[hplj5si]: Crawford HP LaserJet 5 si pages
PageTop[hplj5si]: <h2>Crawford HP LaserJet 5 si pages</h2>
<a href="http://www.cis.ohio-state.edu/htbin/rfc/rfc1759.html">rfc
1759 - click here to read this rfc</a><br>
rfc 1759<br>
iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).printmib(43).<br>
prtMarker(10).prtMakerTable(2).prtMarkerEntry(1).prtMarkerLifeCount(4)
Target[hplj5si]: 3600 *
.1.3.6.1.2.1.43.10.2.1.4.1.1&.1.3.6.1.2.1.43.10.2.1.4.1.1:pub...@10.1.1.1
LegendI[hplj5si]:
LegendO[hplj5si]: Pages:
Legend2[hplj5si]:Pages per Hour