Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

225 lines
8.1 KiB

  1. <html xmlns:o="urn:schemas-microsoft-com:office:office"
  2. xmlns:w="urn:schemas-microsoft-com:office:word"
  3. xmlns="http://www.w3.org/TR/REC-html40">
  4. <head>
  5. <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
  6. <meta name=ProgId content=Word.Document>
  7. <meta name=Generator content="Microsoft Word 10">
  8. <meta name=Originator content="Microsoft Word 10">
  9. <link rel=File-List href="genprint_files/filelist.xml">
  10. <title>Genprint</title>
  11. <!--[if gte mso 9]><xml>
  12. <w:WordDocument>
  13. <w:HideSpellingErrors/>
  14. <w:HideGrammaticalErrors/>
  15. <w:ActiveWritingStyle Lang="EN-US" VendorID="64" DLLVersion="131078"
  16. NLCheck="1">1</w:ActiveWritingStyle>
  17. <w:ActiveWritingStyle Lang="EN-US" VendorID="64" DLLVersion="131077"
  18. NLCheck="1">1</w:ActiveWritingStyle>
  19. <w:GrammarState>Clean</w:GrammarState>
  20. <w:Compatibility>
  21. <w:ApplyBreakingRules/>
  22. </w:Compatibility>
  23. <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  24. </w:WordDocument>
  25. </xml><![endif]-->
  26. <style>
  27. <!--
  28. /* Font Definitions */
  29. @font-face
  30. {font-family:Verdana;
  31. panose-1:2 11 6 4 3 5 4 4 2 4;
  32. mso-font-charset:0;
  33. mso-generic-font-family:swiss;
  34. mso-font-pitch:variable;
  35. mso-font-signature:536871559 0 0 0 415 0;}
  36. @font-face
  37. {font-family:"MS Sans Serif";
  38. panose-1:0 0 0 0 0 0 0 0 0 0;
  39. mso-font-charset:0;
  40. mso-generic-font-family:swiss;
  41. mso-font-format:other;
  42. mso-font-pitch:variable;
  43. mso-font-signature:3 0 0 0 1 0;}
  44. /* Style Definitions */
  45. p.MsoNormal, li.MsoNormal, div.MsoNormal
  46. {mso-style-parent:"";
  47. margin:0in;
  48. margin-bottom:.0001pt;
  49. mso-pagination:widow-orphan;
  50. font-size:12.0pt;
  51. font-family:"Times New Roman";
  52. mso-fareast-font-family:"Times New Roman";}
  53. h2
  54. {mso-margin-top-alt:auto;
  55. margin-right:0in;
  56. mso-margin-bottom-alt:auto;
  57. margin-left:0in;
  58. mso-pagination:widow-orphan;
  59. mso-outline-level:2;
  60. font-size:18.0pt;
  61. font-family:"Times New Roman";
  62. font-weight:bold;}
  63. h3
  64. {mso-margin-top-alt:auto;
  65. margin-right:0in;
  66. mso-margin-bottom-alt:auto;
  67. margin-left:0in;
  68. mso-pagination:widow-orphan;
  69. mso-outline-level:3;
  70. font-size:13.5pt;
  71. font-family:"Times New Roman";
  72. font-weight:bold;}
  73. h4
  74. {mso-margin-top-alt:auto;
  75. margin-right:0in;
  76. mso-margin-bottom-alt:auto;
  77. margin-left:0in;
  78. mso-pagination:widow-orphan;
  79. mso-outline-level:4;
  80. font-size:12.0pt;
  81. font-family:"Times New Roman";
  82. font-weight:bold;}
  83. a:link, span.MsoHyperlink
  84. {color:blue;
  85. text-decoration:underline;
  86. text-underline:single;}
  87. a:visited, span.MsoHyperlinkFollowed
  88. {color:blue;
  89. text-decoration:underline;
  90. text-underline:single;}
  91. p
  92. {mso-margin-top-alt:auto;
  93. margin-right:0in;
  94. mso-margin-bottom-alt:auto;
  95. margin-left:0in;
  96. mso-pagination:widow-orphan;
  97. font-size:12.0pt;
  98. font-family:"Times New Roman";
  99. mso-fareast-font-family:"Times New Roman";}
  100. pre
  101. {margin:0in;
  102. margin-bottom:.0001pt;
  103. mso-pagination:widow-orphan;
  104. tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
  105. font-size:10.0pt;
  106. font-family:"Courier New";
  107. mso-fareast-font-family:"Times New Roman";}
  108. span.grame
  109. {mso-style-name:grame;}
  110. span.GramE
  111. {mso-style-name:"";
  112. mso-gram-e:yes;}
  113. @page Section1
  114. {size:8.5in 11.0in;
  115. margin:1.0in 1.25in 1.0in 1.25in;
  116. mso-header-margin:.5in;
  117. mso-footer-margin:.5in;
  118. mso-paper-source:0;}
  119. div.Section1
  120. {page:Section1;}
  121. -->
  122. </style>
  123. <!--[if gte mso 10]>
  124. <style>
  125. /* Style Definitions */
  126. table.MsoNormalTable
  127. {mso-style-name:"Table Normal";
  128. mso-tstyle-rowband-size:0;
  129. mso-tstyle-colband-size:0;
  130. mso-style-noshow:yes;
  131. mso-style-parent:"";
  132. mso-padding-alt:0in 5.4pt 0in 5.4pt;
  133. mso-para-margin:0in;
  134. mso-para-margin-bottom:.0001pt;
  135. mso-pagination:widow-orphan;
  136. font-size:10.0pt;
  137. font-family:"Times New Roman";}
  138. </style>
  139. <![endif]-->
  140. </head>
  141. <body lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
  142. <div class=Section1>
  143. <h2><span style='font-family:Verdana'>Genprint<o:p></o:p></span></h2>
  144. <h3><span style='font-family:Verdana'>SUMMARY<o:p></o:p></span></h3>
  145. <p><span style='font-size:10.0pt;font-family:Verdana'>A Print Processor is a user-mode
  146. DLL responsible for converting a print job's spooled data into a format that
  147. can be sent to a print monitor. Please refer to the DDK documentation for more
  148. information. <o:p></o:p></span></p>
  149. <p><span style='font-size:10.0pt;font-family:Verdana'>This print processor
  150. sample runs on the <span class=GramE><span class=grame>x86 platform</span></span>
  151. and is 64-bit compliant. <o:p></o:p></span></p>
  152. <h3><span style='font-family:Verdana'>BUILDING THE SAMPLE<o:p></o:p></span></h3>
  153. <p><span style='font-size:10.0pt;font-family:Verdana'>To build the sample, use
  154. the <b>build</b> command. Once built, the sample produces the binary
  155. Genprint.dll.<o:p></o:p></span></p>
  156. <p><span style='font-size:10.0pt;font-family:Verdana'>To install the sample
  157. print processor, an installation application must call the spooler's <b>AddPrintProcessor</b>
  158. function. No INF file is needed to install the sample print processor.<o:p></o:p></span></p>
  159. <p><b><span style='font-size:10.0pt;font-family:Verdana'>Known issue</span></b><span
  160. style='font-size:10.0pt;font-family:Verdana'>: If used in a mixed Microsoft
  161. Windows NT� 4.0 / Windows�&nbsp;2000 clustering environment, RAW only should be
  162. selected as data type. (No EMF). <o:p></o:p></span></p>
  163. <h3><span style='font-family:Verdana'>CODE TOUR<o:p></o:p></span></h3>
  164. <h4><span style='font-family:Verdana'>File Manifest<o:p></o:p></span></h4>
  165. <pre><u>File<span style='mso-tab-count:2'>���������� </span>Description<o:p></o:p></u></pre><pre>&nbsp;</pre><pre>Emf.c<span
  166. style='mso-tab-count:2'>��������� </span>Handles EMF data type</pre><pre>Genprint.htm<span
  167. style='mso-tab-count:1'>�� </span>Documentation for this sample (this file) </pre><pre>Local.c<span
  168. style='mso-tab-count:2'>������� </span>Contains debugging functions</pre><pre>Local.h<span
  169. style='mso-tab-count:2'>������� </span>Local header file</pre><pre>Makefile<span
  170. style='mso-tab-count:1'>������ </span>Makefile used by build</pre><pre>Parsparm.c<span
  171. style='mso-tab-count:1'>���� </span>Routine to send formfeed to a printer</pre><pre>Raw.c<span
  172. style='mso-tab-count:2'>��������� </span>Handles RAW data type</pre><pre>Sources<span
  173. style='mso-tab-count:2'>������� </span>File used by build</pre><pre>Support.c<span
  174. style='mso-tab-count:1'>����� </span>Support routines for GenPrint</pre><pre>Text.c<span
  175. style='mso-tab-count:2'>�������� </span>Handles TEXT data type</pre><pre>Util.c<span
  176. style='mso-tab-count:2'>�������� </span>Other support routines for GenPrint</pre><pre>Winprint.c<span
  177. style='mso-tab-count:1'>���� </span>Win32 print processor support functions</pre><pre>Winprint.def<span
  178. style='mso-tab-count:1'>�� </span>Def file</pre><pre>Winprint.h<span
  179. style='mso-tab-count:1'>���� </span>Header <span class=GramE>file</span> for Win32 print processor support functions</pre><pre>Winprint.prf<span
  180. style='mso-tab-count:1'>�� </span>.prf file</pre><pre>Winprint.rc<span
  181. style='mso-tab-count:1'>��� </span>Resources<span style='mso-tab-count:1'>����� </span></pre><pre>&nbsp;</pre>
  182. <p align=center style='text-align:center;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span
  183. style='font-size:10.0pt;font-family:"Courier New"'><a href="#top"><span
  184. style='font-family:Verdana'>Top of page</span></a></span><span
  185. style='font-size:10.0pt;font-family:Verdana;mso-bidi-font-family:"Courier New"'>
  186. <o:p></o:p></span></p>
  187. <pre>&nbsp;</pre>
  188. <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=624
  189. style='width:6.5in;mso-cellspacing:0in;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
  190. <tr style='mso-yfti-irow:0;mso-yfti-lastrow:yes;height:1.5pt'>
  191. <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:1.5pt'>
  192. <p class=MsoNormal>&nbsp;</p>
  193. </td>
  194. </tr>
  195. </table>
  196. <pre>&nbsp;</pre><pre>&nbsp;</pre>
  197. <p style='tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span
  198. style='font-size:7.5pt;font-family:"MS Sans Serif";mso-bidi-font-family:"Courier New"'>�
  199. 1999 Microsoft Corporation</span><span style='font-size:10.0pt;font-family:
  200. Verdana;mso-bidi-font-family:"Courier New"'> <o:p></o:p></span></p>
  201. </div>
  202. </body>
  203. </html>