<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&#39;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 &amp; 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">&lt;<a href="mailto:marius.predut@intel.com" target="_blank">marius.predut@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt; -----Original Message-----<br>
&gt; From: Johannes Meixner [mailto:<a href="mailto:jsmeix@suse.de">jsmeix@suse.de</a>]<br>
</span><span class="">&gt; Sent: Monday, May 09, 2016 11:40 AM<br>
&gt; To: Predut, Marius<br>
&gt; Cc: <a href="mailto:printing-architecture@lists.linux-foundation.org">printing-architecture@lists.linux-foundation.org</a><br>
&gt; Subject: RE: [Printing-architecture] snmp - average-toner-coverage per page<br>
&gt;<br>
&gt;<br>
</span><span class="">&gt; Hello,<br>
&gt;<br>
&gt; On May 5 20:53 Predut, Marius wrote (excerpt):<br>
&gt; &gt;&gt;&gt;&gt; 4. Get the PostScript stream while print job filtering<br>
&gt; &gt;&gt;&gt;&gt;     and analyze it.<br>
&gt; ...<br>
&gt; &gt; I don&#39;t have access to the document sent for print<br>
&gt;<br>
&gt; Then you cannot analyze the PostScript stream.<br>
&gt;<br>
&gt; &gt; I need a solution to query the counter printer and compound somehow<br>
&gt; &gt; the wanted value (an estimate toner spent for page) For example if I<br>
&gt; &gt; know effective area printed on a page I can estimate the coverage<br>
&gt; &gt; percent.<br>
&gt; &gt; The printer  have an IP address.<br>
&gt; &gt;<br>
&gt; &gt; So, do you have/see other solution here ?<br>
&gt;<br>
&gt; I am afraid, I do not see another solution except to query the network<br>
&gt; printer itself via SNMP.<br>
&gt;<br>
&gt; I think when you can only access a network printer itself, you can only query<br>
&gt; its internal counters/values via SNMP.<br>
&gt;<br>
&gt; I do not know if usual network printers maintain an internal counter/value<br>
&gt; 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&#39;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&#39;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&#39;t know how to deal with)<br>
<div class="HOEnZb"><div class="h5">&gt;<br>
&gt; Only FYI:<br>
&gt; For some possible issues that I noticed regarding SNMP with network<br>
&gt; printers, you may have a look at<br>
&gt; <a href="https://en.opensuse.org/SDB:Printer_Accounting" rel="noreferrer" target="_blank">https://en.opensuse.org/SDB:Printer_Accounting</a><br>
&gt;<br>
&gt;<br>
&gt; Kind Regards<br>
&gt; Johannes Meixner<br>
&gt; --<br>
&gt; SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Graham Norton -<br>
&gt; 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>