<div class="content" name="PRINTER_INFO_STRESS" uuid="b026cf5c-680f-464a-8e08-675228ddd42c"><p>The <b>_PRINTER_INFO_STRESS</b> structure specifies printer
diagnostic information.<a id="Appendix_A_Target_120"></a><a aria-label="Product behavior note 120" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_120" data-linktype="relative-path">&lt;120&gt;</a> It is
a custom-<span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_37e89d91-2800-49d1-9d17-45ebe167ad87" data-linktype="relative-path">marshaled</a></span> form of
the <b>_PRINTER_INFO_STRESS</b> (section <span><a href="9e94b8f4-a84b-4c96-b9ae-4b4acb3469b8" data-linktype="relative-path">2.2.1.10.1)</a></span>
structure. This form of the <b>_PRINTER_INFO_STRESS</b> structure corresponds
to an information <b>Level</b> value of 0x00000000.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">Fixed_Portion (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">Variable_Data (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>Fixed_Portion (variable): </b>An array of one or
more groups of fixed-size fields, which are defined as follows.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">PrinterNameOffset</td>
 </tr>
 <tr>
  <td colspan="32">ServerNameOffset</td>
 </tr>
 <tr>
  <td colspan="32">cJobs</td>
 </tr>
 <tr>
  <td colspan="32">cTotalJobs</td>
 </tr>
 <tr>
  <td colspan="32">cTotalBytes</td>
 </tr>
 <tr>
  <td colspan="16">stUpTime.wYear</td>
  <td colspan="16">stUpTime.wMonth</td>
 </tr>
 <tr>
  <td colspan="16">stUpTime.wDayOfWeek</td>
  <td colspan="16">stUpTime.wDay</td>
 </tr>
 <tr>
  <td colspan="16">stUpTime.wHour</td>
  <td colspan="16">stUpTime.wMinute</td>
 </tr>
 <tr>
  <td colspan="16">stUpTime.wSecond</td>
  <td colspan="16">stUpTime.wMilliseconds</td>
 </tr>
 <tr>
  <td colspan="32">MaxcRef</td>
 </tr>
 <tr>
  <td colspan="32">cTotalPagesPrinted</td>
 </tr>
 <tr>
  <td colspan="32">dwGetVersion</td>
 </tr>
 <tr>
  <td colspan="32">fFreeBuild</td>
 </tr>
 <tr>
  <td colspan="32">cSpooling</td>
 </tr>
 <tr>
  <td colspan="32">cMaxSpooling</td>
 </tr>
 <tr>
  <td colspan="32">cRef</td>
 </tr>
 <tr>
  <td colspan="32">cErrorOutOfPaper</td>
 </tr>
 <tr>
  <td colspan="32">cErrorNotReady</td>
 </tr>
 <tr>
  <td colspan="32">cJobError</td>
 </tr>
 <tr>
  <td colspan="32">dwNumberOfProcessors</td>
 </tr>
 <tr>
  <td colspan="32">dwProcessorType</td>
 </tr>
 <tr>
  <td colspan="32">dwHighPartTotalBytes</td>
 </tr>
 <tr>
  <td colspan="32">cChangeID</td>
 </tr>
 <tr>
  <td colspan="32">dwLastError</td>
 </tr>
 <tr>
  <td colspan="32">Status</td>
 </tr>
 <tr>
  <td colspan="32">cEnumerateNetworkPrinters</td>
 </tr>
 <tr>
  <td colspan="32">cAddNetPrinters</td>
 </tr>
 <tr>
  <td colspan="16">wProcessorArchitecture</td>
  <td colspan="16">wProcessorLevel</td>
 </tr>
 <tr>
  <td colspan="32">cRefIC</td>
 </tr>
 <tr>
  <td colspan="32">dwReserved2</td>
 </tr>
 <tr>
  <td colspan="32">dwReserved3</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>PrinterNameOffset (4
bytes): </b>An unsigned integer that specifies the number of bytes from the
start of the structure to the start of the <b>PrinterNameArray</b> member.<b> </b></p>
</dd>
<dd>
<p><b>ServerNameOffset (4
bytes): </b>An unsigned integer that specifies the number of bytes from the
start of the structure to the start of the <b>ServerNameArray</b> member.</p>
</dd>
<dd>
<p><b>cJobs (4
bytes):</b> The number of jobs that are currently in the <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_569f1f1c-f426-46fa-91d2-3d1eb0b19aa1" data-linktype="relative-path">print
queue</a></span> .</p>
</dd>
<dd>
<p><b>cTotalJobs (4
bytes):</b> The total number of jobs that have been spooled since the <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_59fb3ddc-63cf-45df-8a90-46a6af9e00cb" data-linktype="relative-path">print
server</a></span> was started.</p>
</dd>
<dd>
<p><b>cTotalBytes
(4 bytes):</b> The low-order 32 bits of an unsigned 64-bit value that
specifies the total number of bytes that have been printed since system
startup. </p>
</dd>
<dd>
<p><b>stUpTime (16
bytes):</b> The time the printer data structure was created. It is a <b>SYSTEMTIME</b>
structure (<span><a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a></span>
section <span><a href="../ms-dtyp/2fefe8dd-ab48-4e33-a7d5-7171455a9289" data-linktype="relative-path">2.3.13</a></span>).
Each field is 2 bytes that contains a WORD sized member in UTC.</p>
</dd>
<dd>
<p><b>MaxcRef (4
bytes):</b> The historic maximum value of the <b>cRef</b> member.</p>
</dd>
<dd>
<p><b>cTotalPagesPrinted
(4 bytes):</b> The total number of pages printed.</p>
</dd>
<dd>
<p><b>dwGetVersion
(4 bytes):</b> An implementation-specific value that specifies the version
of the operating system.<a id="Appendix_A_Target_121"></a><a aria-label="Product behavior note 121" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_121" data-linktype="relative-path">&lt;121&gt;</a><u> </u></p>
</dd>
<dd>
<p><b>fFreeBuild (4
bytes):</b> An implementation-specific value that MUST be ignored on
receipt.<a id="Appendix_A_Target_122"></a><a aria-label="Product behavior note 122" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_122" data-linktype="relative-path">&lt;122&gt;</a><u> </u></p>
</dd>
<dd>
<p><b>cSpooling (4
bytes):</b> The number of actively spooling jobs.</p>
</dd>
<dd>
<p><b>cMaxSpooling
(4 bytes):</b> The historic maximum number of actively spooling jobs.</p>
</dd>
<dd>
<p><b>cRef (4
bytes):</b> The reference count for opened printer objects.</p>
</dd>
<dd>
<p><b>cErrorOutOfPaper
(4 bytes):</b> The total number of out-of-paper errors.</p>
</dd>
<dd>
<p><b>cErrorNotReady
(4 bytes):</b> The total number of not-ready errors.</p>
</dd>
<dd>
<p><b>cJobError (4
bytes):</b> The total number of job errors.</p>
</dd>
<dd>
<p><b>dwNumberOfProcessors
(4 bytes):</b> The number of processors in the computer on which the print
server is running.</p>
</dd>
<dd>
<p><b>dwProcessorType
(4 bytes):</b> An implementation-specific value that identifies the type
of processor in the computer.<a id="Appendix_A_Target_123"></a><a aria-label="Product behavior note 123" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_123" data-linktype="relative-path">&lt;123&gt;</a> </p>
</dd>
<dd>
<p><b>dwHighPartTotalBytes
(4 bytes):</b> The high-order 32 bits of an unsigned 64-bit value that
specifies the total number of bytes that have been printed since system
startup. The low-order 32 bits are specified by the <b>cTotalBytes</b> member.</p>
</dd>
<dd>
<p><b>cChangeID (4
bytes):</b> A unique number that identifies the last change.</p>
</dd>
<dd>
<p><b>dwLastError
(4 bytes):</b> An implementation-specific error code for the last error
that occurred with this printer.<a id="Appendix_A_Target_124"></a><a aria-label="Product behavior note 124" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_124" data-linktype="relative-path">&lt;124&gt;</a> </p>
</dd>
<dd>
<p><b>Status (4
bytes):</b> The current printer status (section <span><a href="1625e9d9-29e4-48f4-b83d-3bd0fdaea787" data-linktype="relative-path">2.2.3.12</a></span>).</p>
</dd>
<dd>
<p><b>cEnumerateNetworkPrinters
(4 bytes):</b> The number of times the network printers in the &#34;List
of Known Printers&#34; have been requested.</p>
</dd>
<dd>
<p><b>cAddNetPrinters
(4 bytes):</b> The number of network printers added, per server.</p>
</dd>
<dd>
<p><b>wProcessorArchitecture
(2 bytes):</b> An implementation-specific value that identifies the
system&#39;s processor architecture. This value SHOULD be ignored on receipt.<a id="Appendix_A_Target_125"></a><a aria-label="Product behavior note 125" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_125" data-linktype="relative-path">&lt;125&gt;</a> </p>
</dd>
<dd>
<p><b>wProcessorLevel
(2 bytes):</b> An implementation-specific value that identifies the
system&#39;s architecture-dependent processor level. This value SHOULD be ignored
on receipt.<a id="Appendix_A_Target_126"></a><a aria-label="Product behavior note 126" href="e81cbc09-ab05-4a32-ae4a-8ec57b436c43#Appendix_A_126" data-linktype="relative-path">&lt;126&gt;</a> </p>
</dd>
<dd>
<p><b>cRefIC (4
bytes):</b> The number of open <span><a href="831cd729-be7c-451e-b729-bd8d84ce4d24#gt_e6193b0f-37ad-4f30-978b-0e1e1291f674" data-linktype="relative-path">information context (IC)</a></span>
handles.</p>
</dd>
<dd>
<p><b>dwReserved2 (4 bytes):</b> Reserved
for future use. The value of this member SHOULD be set to zero when sent and
MUST be ignored on receipt.</p>
</dd>
<dd>
<p><b>dwReserved3 (4 bytes):</b> Reserved
for future use. The value of this member SHOULD be set to zero when sent and
MUST be ignored on receipt.</p>
</dd></dl><p><b>Variable_Data (variable): </b>An array of zero or
more groups of optional, variable-size fields, which are defined as follows.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="32">PrinterNameArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
 <tr>
  <td colspan="32">ServerNameArray (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p><b>PrinterNameArray
(variable):</b> A string that specifies the printer name. The location of this
buffer is determined by the value of the <b>PrinterNameOffset</b> member. </p>
</dd>
<dd>
<p><b>ServerNameArray
(variable):</b> A string that specifies the server name. The location of this
buffer is determined by the value of the <b>ServerNameOffset</b> member.</p>
</dd></dl></div>