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.

452 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "KYF2010.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Kyocera F-2010"
  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. *Option: LOWER
  63. {
  64. *rcNameID: =LOWER_TRAY_DISPLAY
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.2
  68. *Cmd: "<1B>&l4H"
  69. }
  70. }
  71. }
  72. *Feature: Resolution
  73. {
  74. *rcNameID: =RESOLUTION_DISPLAY
  75. *DefaultOption: Option1
  76. *Option: Option1
  77. {
  78. *Name: "300 x 300 " =DOTS_PER_INCH
  79. *DPI: PAIR(300, 300)
  80. *TextDPI: PAIR(300, 300)
  81. *MinStripBlankPixels: 32
  82. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  83. *SpotDiameter: 100
  84. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  85. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  86. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.5
  90. *Cmd: "<1B>*t300R"
  91. }
  92. }
  93. *Option: Option2
  94. {
  95. *Name: "150 x 150 " =DOTS_PER_INCH
  96. *DPI: PAIR(150, 150)
  97. *TextDPI: PAIR(300, 300)
  98. *MinStripBlankPixels: 32
  99. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  100. *SpotDiameter: 100
  101. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  102. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  103. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.5
  107. *Cmd: "<1B>*t150R"
  108. }
  109. }
  110. }
  111. *Feature: PaperSize
  112. {
  113. *rcNameID: =PAPER_SIZE_DISPLAY
  114. *DefaultOption: LETTER
  115. *Option: LETTER
  116. {
  117. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  118. *PrintableArea: PAIR(2400, 3160)
  119. *PrintableOrigin: PAIR(60, 75)
  120. *switch: Resolution
  121. {
  122. *case: Option2
  123. {
  124. *PrintableArea: PAIR(2400, 3158)
  125. *PrintableOrigin: PAIR(60, 76)
  126. }
  127. }
  128. *CursorOrigin: PAIR(60, 75)
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.3
  132. *Cmd: "<1B>&l2a4d1e42F"
  133. }
  134. }
  135. *Option: LEGAL
  136. {
  137. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  138. *PrintableArea: PAIR(2400, 4060)
  139. *PrintableOrigin: PAIR(60, 75)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(2400, 4058)
  145. *PrintableOrigin: PAIR(60, 76)
  146. }
  147. }
  148. *CursorOrigin: PAIR(60, 75)
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.3
  152. *Cmd: "<1B>&l3a4d1e54F"
  153. }
  154. }
  155. *Option: LEDGER
  156. {
  157. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  158. *PrintableArea: PAIR(2400, 3150)
  159. *PrintableOrigin: PAIR(75, 75)
  160. *switch: Resolution
  161. {
  162. *case: Option2
  163. {
  164. *PrintableArea: PAIR(2398, 3148)
  165. *PrintableOrigin: PAIR(76, 76)
  166. }
  167. }
  168. *CursorOrigin: PAIR(75, 75)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.3
  172. *Cmd: "<1B>&l6a4d1E"
  173. }
  174. }
  175. *Option: EXECUTIVE
  176. {
  177. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  178. *PrintableArea: PAIR(2025, 3010)
  179. *PrintableOrigin: PAIR(60, 75)
  180. *switch: Resolution
  181. {
  182. *case: Option2
  183. {
  184. *PrintableArea: PAIR(2024, 3008)
  185. *PrintableOrigin: PAIR(60, 76)
  186. }
  187. }
  188. *CursorOrigin: PAIR(60, 75)
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.3
  192. *Cmd: "<1B>&l1a4d1e40F"
  193. }
  194. }
  195. *Option: A4
  196. {
  197. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  198. *PrintableArea: PAIR(2331, 3367)
  199. *PrintableOrigin: PAIR(60, 75)
  200. *switch: Resolution
  201. {
  202. *case: Option2
  203. {
  204. *PrintableArea: PAIR(2330, 3366)
  205. *PrintableOrigin: PAIR(60, 76)
  206. }
  207. }
  208. *CursorOrigin: PAIR(55, 75)
  209. *Command: CmdSelect
  210. {
  211. *Order: DOC_SETUP.3
  212. *Cmd: "<1B>&l26a4d1e45F"
  213. }
  214. }
  215. *Option: B5
  216. {
  217. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  218. *PrintableArea: PAIR(1961, 2886)
  219. *PrintableOrigin: PAIR(75, 75)
  220. *switch: Resolution
  221. {
  222. *case: Option2
  223. {
  224. *PrintableArea: PAIR(1960, 2884)
  225. *PrintableOrigin: PAIR(76, 76)
  226. }
  227. }
  228. *CursorOrigin: PAIR(61, 75)
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.3
  232. *Cmd: "<1B>&l60p4d1e45F"
  233. }
  234. }
  235. *Option: ENV_10
  236. {
  237. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  238. *PrintableArea: PAIR(1119, 2710)
  239. *PrintableOrigin: PAIR(60, 75)
  240. *switch: Resolution
  241. {
  242. *case: Option2
  243. {
  244. *PrintableArea: PAIR(1118, 2708)
  245. *PrintableOrigin: PAIR(60, 76)
  246. }
  247. }
  248. *CursorOrigin: PAIR(60, 75)
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.3
  252. *Cmd: "<1B>&l81a4d1E"
  253. }
  254. }
  255. *Option: ENV_DL
  256. {
  257. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  258. *PrintableArea: PAIR(1179, 2458)
  259. *PrintableOrigin: PAIR(60, 75)
  260. *switch: Resolution
  261. {
  262. *case: Option2
  263. {
  264. *PrintableArea: PAIR(1178, 2456)
  265. *PrintableOrigin: PAIR(60, 76)
  266. }
  267. }
  268. *CursorOrigin: PAIR(60, 75)
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.3
  272. *Cmd: "<1B>&l90a4d1E"
  273. }
  274. }
  275. *Option: ENV_C5
  276. {
  277. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  278. *PrintableArea: PAIR(1794, 2566)
  279. *PrintableOrigin: PAIR(60, 75)
  280. *switch: Resolution
  281. {
  282. *case: Option2
  283. {
  284. *PrintableArea: PAIR(1794, 2564)
  285. *PrintableOrigin: PAIR(60, 76)
  286. }
  287. }
  288. *CursorOrigin: PAIR(60, 75)
  289. *Command: CmdSelect
  290. {
  291. *Order: DOC_SETUP.3
  292. *Cmd: "<1B>&l91a4d1E"
  293. }
  294. }
  295. *Option: ENV_MONARCH
  296. {
  297. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  298. *PrintableArea: PAIR(1038, 2110)
  299. *PrintableOrigin: PAIR(60, 75)
  300. *switch: Resolution
  301. {
  302. *case: Option2
  303. {
  304. *PrintableArea: PAIR(1038, 2108)
  305. *PrintableOrigin: PAIR(60, 76)
  306. }
  307. }
  308. *CursorOrigin: PAIR(60, 75)
  309. *Command: CmdSelect
  310. {
  311. *Order: DOC_SETUP.3
  312. *Cmd: "<1B>&l80a4d1E"
  313. }
  314. }
  315. *Option: ENV_C3
  316. {
  317. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  318. *PrintableArea: PAIR(2400, 5269)
  319. *PrintableOrigin: PAIR(60, 75)
  320. *switch: Resolution
  321. {
  322. *case: Option2
  323. {
  324. *PrintableArea: PAIR(2400, 5268)
  325. *PrintableOrigin: PAIR(60, 76)
  326. }
  327. }
  328. *CursorOrigin: PAIR(60, 75)
  329. *Command: CmdSelect
  330. {
  331. *Order: DOC_SETUP.3
  332. *Cmd: "<1B>&l80a4d1E"
  333. }
  334. }
  335. }
  336. *Feature: Halftone
  337. {
  338. *rcNameID: =HALFTONING_DISPLAY
  339. *DefaultOption: HT_PATSIZE_AUTO
  340. *Option: HT_PATSIZE_AUTO
  341. {
  342. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  343. }
  344. *Ifdef: WINNT_50
  345. *Option: HT_PATSIZE_SUPERCELL_M
  346. {
  347. *rcNameID: =HT_SUPERCELL_DISPLAY
  348. }
  349. *Endif:
  350. *Option: HT_PATSIZE_6x6_M
  351. {
  352. *rcNameID: =HT_DITHER6X6_DISPLAY
  353. }
  354. *Option: HT_PATSIZE_8x8_M
  355. {
  356. *rcNameID: =HT_DITHER8X8_DISPLAY
  357. }
  358. }
  359. *Feature: Memory
  360. {
  361. *rcNameID: =PRINTER_MEMORY_DISPLAY
  362. *DefaultOption: 1536KB
  363. *Option: 1536KB
  364. {
  365. *Name: "1536KB"
  366. *MemoryConfigKB: PAIR(1536, 1419)
  367. }
  368. }
  369. *Command: CmdStartDoc
  370. {
  371. *Order: DOC_SETUP.1
  372. *Cmd: "<1B>E<1B>&l0L"
  373. }
  374. *Command: CmdStartPage
  375. {
  376. *Order: PAGE_SETUP.1
  377. *Cmd: "<0D>"
  378. }
  379. *Command: CmdEndJob
  380. {
  381. *Order: JOB_FINISH.1
  382. *Cmd: "<1B>E"
  383. }
  384. *Command: CmdCopies
  385. {
  386. *Order: DOC_SETUP.6
  387. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  388. }
  389. *RotateCoordinate?: TRUE
  390. *RotateRaster?: FALSE
  391. *RotateFont?: FALSE
  392. *TextCaps: LIST(TC_UA_ABLE)
  393. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  394. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  395. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  396. *XMoveThreshold: 0
  397. *YMoveThreshold: 0
  398. *XMoveUnit: 300
  399. *YMoveUnit: 300
  400. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  401. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  402. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[1,2400]{max_repeat(DestXRel )}"X" }
  403. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  404. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  405. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  406. *Command: CmdCR { *Cmd : "<0D>" }
  407. *Command: CmdLF { *Cmd : "<0A>" }
  408. *Command: CmdFF { *Cmd : "<0C>" }
  409. *Command: CmdBackSpace { *Cmd : "<08>" }
  410. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  411. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  412. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  413. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  414. *EjectPageWithFF?: TRUE
  415. *OutputDataFormat: H_BYTE
  416. *OptimizeLeftBound?: TRUE
  417. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  418. *CursorYAfterSendBlockData: AUTO_INCREMENT
  419. *DefaultFont: 4
  420. *DefaultCTT: 0
  421. *CharPosition: BASELINE
  422. *switch: Orientation
  423. {
  424. *case: PORTRAIT
  425. {
  426. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  427. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  428. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46)
  429. }
  430. *case: LANDSCAPE_CC90
  431. {
  432. *DeviceFonts: LIST(1,2,3,4,5,8,9,12,13,15,17,19,20,21,22,23,
  433. + 24,25,26,27,30,31,32,33,34,35,38,39,42,43,44,45,46)
  434. }
  435. }
  436. *MinFontID: 1
  437. *MaxFontID: 99
  438. *MaxNumDownFonts: 32
  439. *FontFormat: HPPCL
  440. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  441. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  442. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  443. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  444. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  445. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(s1P" }
  446. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>(s0P" }
  447. *MinGrayFill: 1
  448. *MaxGrayFill: 100
  449. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  450. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  451. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  452. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }