1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4  <head>
5    <meta name="generator" content="HTML Tidy, see www.w3.org">
6    <title>Accessing Printer Hardware Pagecounters</title>
7    <meta name="GENERATOR" content=
8    "Modular DocBook HTML Stylesheet Version 1.7">
9    <link rel="HOME" title=" LPRng Reference Manual" href=
10    "index.htm">
11    <link rel="UP" title="Accounting " href="accountingref.htm">
12    <link rel="PREVIOUS" title="Authorization and Quotas" href=
13    "x9736.htm">
14    <link rel="NEXT" title="Reliable Accounting" href="x9772.htm">
15  </head>
16
17  <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link=
18  "#0000FF" vlink="#840084" alink="#0000FF">
19    <div class="NAVHEADER">
20      <table summary="Header navigation table" width="100%" border=
21      "0" cellpadding="0" cellspacing="0">
22        <tr>
23          <th colspan="3" align="center">LPRng Reference Manual: 5
24          Sep 2003 (For LPRng-3.8.22)</th>
25        </tr>
26
27        <tr>
28          <td width="10%" align="left" valign="bottom"><a href=
29          "x9736.htm" accesskey="P">Prev</a></td>
30
31          <td width="80%" align="center" valign="bottom">Chapter
32          18. Accounting</td>
33
34          <td width="10%" align="right" valign="bottom"><a href=
35          "x9772.htm" accesskey="N">Next</a></td>
36        </tr>
37      </table>
38      <hr align="LEFT" width="100%">
39    </div>
40
41    <div class="SECT1">
42      <h1 class="SECT1"><a name="AEN9761">18.5. Accessing Printer
43      Hardware Pagecounters</a></h1>
44
45      <p>The following is from Hewlett-Packard documentation, <a
46      href=
47      "http://www.hp.com/cposupport/printers/support_doc/bpl02119.html"
48       target=
49      "_top">http://www.hp.com/cposupport/printers/support_doc/bpl02119.html</a></p>
50
51      <p>All HP LaserJet 4/5/6 family printers have a page count
52      feature built into the firmware. However, this feature works
53      differently depending on which HP LaserJet printer is being
54      used. The following is a description of how the page count
55      feature works for each printer within the HP LaserJet 4/5/6
56      printer families.</p>
57
58      <div class="INFORMALEXAMPLE">
59        <a name="AEN9766"></a>
60<pre class="SCREEN">
61    HP LaserJet 4/4M printers
62    HP LaserJet 4 Plus/4M Plus printers
63    HP LaserJet 4P/4MP printers
64    HP LaserJet 4Si/4Si MX printers
65    HP LaserJet 4ML printers
66    HP LaserJet 5P/5MP printers
67    HP LaserJet 6P/6MP printers
68</pre>
69      </div>
70      <br>
71      <br>
72
73      <p>All of the above printers use the same method for keeping
74      track of the number of copies. There are really two different
75      page count values: Primary and Secondary values. Every time a
76      page is printed, whether it is an internal job (such as a
77      self-test) or a standard print job, the Secondary page count
78      increases by one. This value is stored in standard RAM. Once
79      the Secondary page count value reaches 10, the Primary page
80      count will increase by 10. The Primary page count value is
81      stored in a type of memory called NVRAM (Non-Volatile RAM).
82      This is important, since NVRAM is not cleared when the
83      printer is powered off. Standard RAM, on the other hand, is
84      cleared when the printer is turned off or reset. Thus, the
85      Primary page count only increases in increments of 10.</p>
86
87      <p>Example</p>
88
89      <p>You have a brand new HP LaserJet 6P printer and you print
90      a self-test page. When you look on the test page for the Page
91      Count value, you will see that it says 1. Next, you decide to
92      print a two page letter and, after that, another self-test.
93      The page count value now says 4. Internally, the printers
94      Secondary page count (stored in RAM) has the value of 4 while
95      the Primary page count (stored in NVRAM) still has the value
96      of 0. Now, you turn the printer off, then back on, and print
97      another self-test. The page count value again says 1 since
98      the previous value of 4, stored in RAM, was cleared when the
99      printer was powered off. Finally, print a ten page document
100      and then turn the printer off. Upon turning the printer back
101      on and printing out another self test, you see that the page
102      count value is 11. Internally, the Secondary page count value
103      is back at 1 while the Primary page count value (stored in
104      NVRAM) is 10. Added together, you end up with the resulting
105      value seen on the self-test page.</p>
106
107      <p>The HP LaserJet 4L/5L/6L printers differ from that of the
108      other printers in that they do not have any NVRAM available
109      for storing page count values. Thus, no way exists for the
110      printer to retain a page count value once the printer is
111      powered off. The HP LaserJet 4L/5L/6L printers have only a
112      single page count value that increases in increments of one
113      until the printer is powered off.</p>
114    </div>
115
116    <div class="NAVFOOTER">
117      <hr align="LEFT" width="100%">
118
119      <table summary="Footer navigation table" width="100%" border=
120      "0" cellpadding="0" cellspacing="0">
121        <tr>
122          <td width="33%" align="left" valign="top"><a href=
123          "x9736.htm" accesskey="P">Prev</a></td>
124
125          <td width="34%" align="center" valign="top"><a href=
126          "index.htm" accesskey="H">Home</a></td>
127
128          <td width="33%" align="right" valign="top"><a href=
129          "x9772.htm" accesskey="N">Next</a></td>
130        </tr>
131
132        <tr>
133          <td width="33%" align="left" valign="top">Authorization
134          and Quotas</td>
135
136          <td width="34%" align="center" valign="top"><a href=
137          "accountingref.htm" accesskey="U">Up</a></td>
138
139          <td width="33%" align="right" valign="top">Reliable
140          Accounting</td>
141        </tr>
142      </table>
143    </div>
144  </body>
145</html>
146
147