<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>Speaking as the primary editor of IETF Printer MIB v2 (RFC 3805):<br><br></div>Counter units in the Printer MIB are determined by the implementation<br></div>and cannot be changed remotely.<br><br></div>Ever since IETF Printer MIB v1 (RFC 1759), it has been true that a given<br></div>Printer can update work counters whenever the implementation chooses<br></div>(for example, only at the completion of an entire job). There has never<br></div>been a requirement that a Printer must update work counters at every<br></div>page.<br><br></div>Simply put - you can't get there from here.<br><br></div>Cheers,<br></div>- Ira<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Ira McDonald (Musician / Software Architect)<br>Co-Chair - TCG Trusted Mobility Solutions WG<br>Chair - Linux Foundation Open Printing WG<br>Secretary - IEEE-ISTO Printer Working Group<br>Co-Chair - IEEE-ISTO PWG Internet Printing Protocol WG<br>IETF Designated Expert - IPP & Printer MIB<br>Blue Roof Music / High North Inc<br><a style="color:rgb(51,51,255)" href="http://sites.google.com/site/blueroofmusic" target="_blank">http://sites.google.com/site/blueroofmusic</a><br><a style="color:rgb(102,0,204)" href="http://sites.google.com/site/highnorthinc" target="_blank">http://sites.google.com/site/highnorthinc</a><br>mailto: <a href="mailto:blueroofmusic@gmail.com" target="_blank">blueroofmusic@gmail.com</a><br>Winter 579 Park Place Saline, MI 48176 734-944-0094<br>Summer PO Box 221 Grand Marais, MI 49839 906-494-2434<br><br><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div></div><div></div><div></div><div></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 9, 2016 at 5:42 AM, Predut, Marius <span dir="ltr"><<a href="mailto:marius.predut@intel.com" target="_blank">marius.predut@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> -----Original Message-----<br>
> From: Johannes Meixner [mailto:<a href="mailto:jsmeix@suse.de">jsmeix@suse.de</a>]<br>
</span><span class="">> Sent: Monday, May 09, 2016 11:40 AM<br>
> To: Predut, Marius<br>
> Cc: <a href="mailto:printing-architecture@lists.linux-foundation.org">printing-architecture@lists.linux-foundation.org</a><br>
> Subject: RE: [Printing-architecture] snmp - average-toner-coverage per page<br>
><br>
><br>
</span><span class="">> Hello,<br>
><br>
> On May 5 20:53 Predut, Marius wrote (excerpt):<br>
> >>>> 4. Get the PostScript stream while print job filtering<br>
> >>>> and analyze it.<br>
> ...<br>
> > I don't have access to the document sent for print<br>
><br>
> Then you cannot analyze the PostScript stream.<br>
><br>
> > I need a solution to query the counter printer and compound somehow<br>
> > the wanted value (an estimate toner spent for page) For example if I<br>
> > know effective area printed on a page I can estimate the coverage<br>
> > percent.<br>
> > The printer have an IP address.<br>
> ><br>
> > So, do you have/see other solution here ?<br>
><br>
> I am afraid, I do not see another solution except to query the network<br>
> printer itself via SNMP.<br>
><br>
> I think when you can only access a network printer itself, you can only query<br>
> its internal counters/values via SNMP.<br>
><br>
> I do not know if usual network printers maintain an internal counter/value<br>
> that can be used to calculate the average toner-coverage per page.<br>
</span>One idea can be to counts pixels on each page,<br>
divides pixel count by pixels possible on a page to give the percentage of coverage,<br>
and keeps a rolling average percent weighted by area printed.<br>
But I don't know if SNMP can give me this counters.<br>
This printer RFC <a href="https://tools.ietf.org/html/rfc3805" rel="noreferrer" target="_blank">https://tools.ietf.org/html/rfc3805</a><br>
Don't help me too much.<br>
(OIDS that can be interesting in this context : somehow this OIDS can be used : prtMarkerSuppliesGroup prtMarkerCounterUnit prtMarkerLifeCount<br>
But I don't know how to deal with)<br>
<div class="HOEnZb"><div class="h5">><br>
> Only FYI:<br>
> For some possible issues that I noticed regarding SNMP with network<br>
> printers, you may have a look at<br>
> <a href="https://en.opensuse.org/SDB:Printer_Accounting" rel="noreferrer" target="_blank">https://en.opensuse.org/SDB:Printer_Accounting</a><br>
><br>
><br>
> Kind Regards<br>
> Johannes Meixner<br>
> --<br>
> SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton -<br>
> HRB 21284 (AG Nuernberg)<br>
<br>
_______________________________________________<br>
Printing-architecture mailing list<br>
<a href="mailto:Printing-architecture@lists.linux-foundation.org">Printing-architecture@lists.linux-foundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture" rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/printing-architecture</a><br>
</div></div></blockquote></div><br></div>