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.

363 lines
9.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "KY1800A.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Kyocera F-1800A"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "kyrares.dll"
  12. *PrintRate: 10
  13. *PrintRatePPM: 10
  14. *PrintRateUnit: PPM
  15. *PrinterType: PAGE
  16. *MaxCopies: 99
  17. *Feature: Orientation
  18. {
  19. *rcNameID: =ORIENTATION_DISPLAY
  20. *DefaultOption: PORTRAIT
  21. *Option: PORTRAIT
  22. {
  23. *rcNameID: =PORTRAIT_DISPLAY
  24. *Command: CmdSelect
  25. {
  26. *Order: DOC_SETUP.4
  27. *Cmd: "<1B>&l0o1E"
  28. }
  29. }
  30. *Option: LANDSCAPE_CC90
  31. {
  32. *rcNameID: =LANDSCAPE_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.4
  36. *Cmd: "<1B>&l1o1E"
  37. }
  38. }
  39. }
  40. *Feature: InputBin
  41. {
  42. *rcNameID: =PAPER_SOURCE_DISPLAY
  43. *DefaultOption: UPPER
  44. *Option: UPPER
  45. {
  46. *rcNameID: =UPPER_TRAY_DISPLAY
  47. *Command: CmdSelect
  48. {
  49. *Order: DOC_SETUP.2
  50. *Cmd: "<1B>&l1H"
  51. }
  52. }
  53. *Option: MANUAL
  54. {
  55. *rcNameID: =MANUAL_FEED_DISPLAY
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.2
  59. *Cmd: "<1B>&l2H"
  60. }
  61. }
  62. }
  63. *Feature: Resolution
  64. {
  65. *rcNameID: =RESOLUTION_DISPLAY
  66. *DefaultOption: Option1
  67. *Option: Option1
  68. {
  69. *Name: "300 x 300 " =DOTS_PER_INCH
  70. *DPI: PAIR(300, 300)
  71. *TextDPI: PAIR(300, 300)
  72. *MinStripBlankPixels: 32
  73. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  74. *SpotDiameter: 100
  75. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  76. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.5
  81. *Cmd: "<1B>*t300R"
  82. }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "150 x 150 " =DOTS_PER_INCH
  87. *DPI: PAIR(150, 150)
  88. *TextDPI: PAIR(300, 300)
  89. *MinStripBlankPixels: 32
  90. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  91. *SpotDiameter: 100
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.5
  98. *Cmd: "<1B>*t150R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: LETTER
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *PrintableArea: PAIR(2400, 3160)
  110. *PrintableOrigin: PAIR(60, 75)
  111. *switch: Resolution
  112. {
  113. *case: Option2
  114. {
  115. *PrintableArea: PAIR(2400, 3158)
  116. *PrintableOrigin: PAIR(60, 76)
  117. }
  118. }
  119. *CursorOrigin: PAIR(60, 75)
  120. *Command: CmdSelect
  121. {
  122. *Order: DOC_SETUP.3
  123. *Cmd: "<1B>&l2a4d1e42F"
  124. }
  125. }
  126. *Option: LEGAL
  127. {
  128. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  129. *PrintableArea: PAIR(2400, 4060)
  130. *PrintableOrigin: PAIR(60, 75)
  131. *switch: Resolution
  132. {
  133. *case: Option2
  134. {
  135. *PrintableArea: PAIR(2400, 4058)
  136. *PrintableOrigin: PAIR(60, 76)
  137. }
  138. }
  139. *CursorOrigin: PAIR(60, 75)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.3
  143. *Cmd: "<1B>&l3a4d1e54F"
  144. }
  145. }
  146. *Option: LEDGER
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *PrintableArea: PAIR(2400, 3150)
  150. *PrintableOrigin: PAIR(75, 75)
  151. *switch: Resolution
  152. {
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(2398, 3148)
  156. *PrintableOrigin: PAIR(76, 76)
  157. }
  158. }
  159. *CursorOrigin: PAIR(75, 75)
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.3
  163. *Cmd: "<1B>&l6a4d1E"
  164. }
  165. }
  166. *Option: EXECUTIVE
  167. {
  168. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  169. *PrintableArea: PAIR(2025, 3010)
  170. *PrintableOrigin: PAIR(60, 75)
  171. *switch: Resolution
  172. {
  173. *case: Option2
  174. {
  175. *PrintableArea: PAIR(2024, 3008)
  176. *PrintableOrigin: PAIR(60, 76)
  177. }
  178. }
  179. *CursorOrigin: PAIR(60, 75)
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.3
  183. *Cmd: "<1B>&l1a4d1e40F"
  184. }
  185. }
  186. *Option: A4
  187. {
  188. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  189. *PrintableArea: PAIR(2331, 3367)
  190. *PrintableOrigin: PAIR(60, 75)
  191. *switch: Resolution
  192. {
  193. *case: Option2
  194. {
  195. *PrintableArea: PAIR(2330, 3366)
  196. *PrintableOrigin: PAIR(60, 76)
  197. }
  198. }
  199. *CursorOrigin: PAIR(55, 75)
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.3
  203. *Cmd: "<1B>&l26a4d1e45F"
  204. }
  205. }
  206. *Option: B5
  207. {
  208. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  209. *PrintableArea: PAIR(1961, 2886)
  210. *PrintableOrigin: PAIR(75, 75)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(1960, 2884)
  216. *PrintableOrigin: PAIR(76, 76)
  217. }
  218. }
  219. *CursorOrigin: PAIR(61, 75)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.3
  223. *Cmd: "<1B>&l60p4d1e45F"
  224. }
  225. }
  226. }
  227. *Feature: Halftone
  228. {
  229. *rcNameID: =HALFTONING_DISPLAY
  230. *DefaultOption: HT_PATSIZE_AUTO
  231. *Option: HT_PATSIZE_AUTO
  232. {
  233. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  234. }
  235. *Ifdef: WINNT_50
  236. *Option: HT_PATSIZE_SUPERCELL_M
  237. {
  238. *rcNameID: =HT_SUPERCELL_DISPLAY
  239. }
  240. *Endif:
  241. *Option: HT_PATSIZE_6x6_M
  242. {
  243. *rcNameID: =HT_DITHER6X6_DISPLAY
  244. }
  245. *Option: HT_PATSIZE_8x8_M
  246. {
  247. *rcNameID: =HT_DITHER8X8_DISPLAY
  248. }
  249. }
  250. *Feature: Memory
  251. {
  252. *rcNameID: =PRINTER_MEMORY_DISPLAY
  253. *DefaultOption: 1024KB
  254. *Option: 1024KB
  255. {
  256. *Name: "1MB"
  257. *MemoryConfigKB: PAIR(1024, 907)
  258. }
  259. *Option: 2048KB
  260. {
  261. *Name: "2MB"
  262. *MemoryConfigKB: PAIR(2048, 1931)
  263. }
  264. *Option: 3072KB
  265. {
  266. *Name: "3MB"
  267. *MemoryConfigKB: PAIR(3072, 2995)
  268. }
  269. *Option: 4096KB
  270. {
  271. *Name: "4MB"
  272. *MemoryConfigKB: PAIR(4096, 3979)
  273. }
  274. *Option: 5120KB
  275. {
  276. *Name: "5MB"
  277. *MemoryConfigKB: PAIR(5120, 5003)
  278. }
  279. }
  280. *Command: CmdStartDoc
  281. {
  282. *Order: DOC_SETUP.1
  283. *Cmd: "<1B>E<1B>&l0L"
  284. }
  285. *Command: CmdStartPage
  286. {
  287. *Order: PAGE_SETUP.1
  288. *Cmd: "<0D>"
  289. }
  290. *Command: CmdEndJob
  291. {
  292. *Order: JOB_FINISH.1
  293. *Cmd: "<1B>E"
  294. }
  295. *Command: CmdCopies
  296. {
  297. *Order: DOC_SETUP.6
  298. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  299. }
  300. *RotateCoordinate?: TRUE
  301. *RotateRaster?: FALSE
  302. *RotateFont?: FALSE
  303. *TextCaps: LIST(TC_UA_ABLE)
  304. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  305. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  306. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  307. *XMoveThreshold: 0
  308. *YMoveThreshold: 0
  309. *XMoveUnit: 300
  310. *YMoveUnit: 300
  311. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  312. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  313. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[1,2400]{max_repeat(DestXRel )}"X" }
  314. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  315. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  316. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  317. *Command: CmdCR { *Cmd : "<0D>" }
  318. *Command: CmdLF { *Cmd : "<0A>" }
  319. *Command: CmdFF { *Cmd : "<0C>" }
  320. *Command: CmdBackSpace { *Cmd : "<08>" }
  321. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  322. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  323. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  324. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  325. *EjectPageWithFF?: TRUE
  326. *OutputDataFormat: H_BYTE
  327. *OptimizeLeftBound?: TRUE
  328. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  329. *CursorYAfterSendBlockData: AUTO_INCREMENT
  330. *DefaultFont: 4
  331. *DefaultCTT: 0
  332. *CharPosition: BASELINE
  333. *switch: Orientation
  334. {
  335. *case: PORTRAIT
  336. {
  337. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  338. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  339. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46)
  340. }
  341. *case: LANDSCAPE_CC90
  342. {
  343. *DeviceFonts: LIST(1,2,3,4,5,8,9,12,13,15,17,19,20,21,22,23,
  344. + 24,25,26,27,30,31,32,33,34,35,38,39,42,43,44,45,46)
  345. }
  346. }
  347. *MinFontID: 1
  348. *MaxFontID: 99
  349. *MaxNumDownFonts: 32
  350. *FontFormat: HPPCL
  351. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  352. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  353. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  354. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  355. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  356. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(s1P" }
  357. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>(s0P" }
  358. *MinGrayFill: 1
  359. *MaxGrayFill: 100
  360. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  361. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  362. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  363. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }