Leaked source code of windows server 2003
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.

261 lines
6.3 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "XR3006.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Xerox 3006"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "hpdjres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.3
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. *Option: MANUAL
  40. {
  41. *rcNameID: =MANUAL_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.3
  45. *Cmd: "<1B>&l3H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "300 x 300 " =DOTS_PER_INCH
  56. *DPI: PAIR(300, 300)
  57. *TextDPI: PAIR(300, 300)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 100
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.6
  66. *Cmd: "<1B>*t300R"
  67. }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "150 x 150 " =DOTS_PER_INCH
  72. *DPI: PAIR(150, 150)
  73. *TextDPI: PAIR(300, 300)
  74. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  75. *SpotDiameter: 100
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.6
  82. *Cmd: "<1B>*t150R"
  83. }
  84. }
  85. }
  86. *Feature: PaperSize
  87. {
  88. *rcNameID: =PAPER_SIZE_DISPLAY
  89. *DefaultOption: LETTER
  90. *Option: LETTER
  91. {
  92. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  93. *PrintableArea: PAIR(2400, 3129)
  94. *PrintableOrigin: PAIR(75, 64)
  95. *switch: Resolution
  96. {
  97. *case: Option2
  98. {
  99. *PrintableArea: PAIR(2398, 3128)
  100. *PrintableOrigin: PAIR(76, 64)
  101. }
  102. }
  103. *CursorOrigin: PAIR(75, 75)
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.5
  107. *Cmd: "<1B>&l2A"
  108. }
  109. }
  110. *Option: LEGAL
  111. {
  112. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  113. *PrintableArea: PAIR(2400, 4025)
  114. *PrintableOrigin: PAIR(75, 55)
  115. *switch: Resolution
  116. {
  117. *case: Option2
  118. {
  119. *PrintableArea: PAIR(2398, 4024)
  120. *PrintableOrigin: PAIR(76, 56)
  121. }
  122. }
  123. *CursorOrigin: PAIR(75, 0)
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.5
  127. *Cmd: "<1B>&l3A"
  128. }
  129. }
  130. *Option: A4
  131. {
  132. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  133. *PrintableArea: PAIR(2400, 3338)
  134. *PrintableOrigin: PAIR(38, 64)
  135. *CursorOrigin: PAIR(75, 75)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.5
  139. *Cmd: "<1B>&l26A"
  140. }
  141. }
  142. }
  143. *Feature: PrintQuality
  144. {
  145. *rcNameID: =TEXT_QUALITY_DISPLAY
  146. *DefaultOption: Option1
  147. *Option: Option1
  148. {
  149. *rcNameID: 272
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.4
  153. *Cmd: "<1B>(s2Q<1B>*r2Q"
  154. }
  155. }
  156. *Option: Option2
  157. {
  158. *rcNameID: 273
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.4
  162. *Cmd: "<1B>(s0Q<1B>*r0Q"
  163. }
  164. }
  165. }
  166. *Feature: Halftone
  167. {
  168. *rcNameID: =HALFTONING_DISPLAY
  169. *DefaultOption: HT_PATSIZE_AUTO
  170. *Option: HT_PATSIZE_AUTO
  171. {
  172. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  173. }
  174. *Ifdef: WINNT_50
  175. *Option: HT_PATSIZE_SUPERCELL_M
  176. {
  177. *rcNameID: =HT_SUPERCELL_DISPLAY
  178. }
  179. *Endif:
  180. *Option: HT_PATSIZE_6x6_M
  181. {
  182. *rcNameID: =HT_DITHER6X6_DISPLAY
  183. }
  184. *Option: HT_PATSIZE_8x8_M
  185. {
  186. *rcNameID: =HT_DITHER8X8_DISPLAY
  187. }
  188. }
  189. *Command: CmdStartDoc
  190. {
  191. *Order: DOC_SETUP.1
  192. *Cmd: "<1B>E<1B>&l0O<1B>&l0L"
  193. }
  194. *Command: CmdStartPage
  195. {
  196. *Order: PAGE_SETUP.1
  197. *Cmd: "<0D>"
  198. }
  199. *Command: CmdEndJob
  200. {
  201. *Order: JOB_FINISH.1
  202. *Cmd: "<1B>E"
  203. }
  204. *Command: CmdEndPage
  205. {
  206. *Order: PAGE_FINISH.1
  207. *Cmd: "<0D>"
  208. }
  209. *RotateCoordinate?: FALSE
  210. *RotateRaster?: FALSE
  211. *RotateFont?: FALSE
  212. *switch: Orientation
  213. {
  214. *case: PORTRAIT
  215. {
  216. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  217. }
  218. *case: LANDSCAPE_CC270
  219. {
  220. *TextCaps: LIST()
  221. }
  222. }
  223. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  224. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  225. *XMoveThreshold: 0
  226. *YMoveThreshold: *
  227. *XMoveUnit: 300
  228. *YMoveUnit: 300
  229. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  230. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  231. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  232. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  233. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  234. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  235. *Command: CmdCR { *Cmd : "<0D>" }
  236. *Command: CmdLF { *Cmd : "<0A>" }
  237. *Command: CmdFF { *Cmd : "<0C>" }
  238. *EjectPageWithFF?: TRUE
  239. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  240. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  241. *OutputDataFormat: H_BYTE
  242. *OptimizeLeftBound?: TRUE
  243. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  244. *CursorYAfterSendBlockData: AUTO_INCREMENT
  245. *LookAheadRegion: 180
  246. *DefaultFont: 1
  247. *DefaultCTT: 0
  248. *CharPosition: BASELINE
  249. *switch: Orientation
  250. {
  251. *case: PORTRAIT
  252. {
  253. *DeviceFonts: LIST(1,7,8,69,70,71,72,73,94,95)
  254. }
  255. *case: LANDSCAPE_CC270
  256. {
  257. *DeviceFonts: LIST()
  258. }
  259. }
  260. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  261. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }