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.

443 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "KYF1010.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Kyocera F-1010"
  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. *Option: ENV_10
  227. {
  228. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  229. *PrintableArea: PAIR(1119, 2710)
  230. *PrintableOrigin: PAIR(60, 75)
  231. *switch: Resolution
  232. {
  233. *case: Option2
  234. {
  235. *PrintableArea: PAIR(1118, 2708)
  236. *PrintableOrigin: PAIR(60, 76)
  237. }
  238. }
  239. *CursorOrigin: PAIR(60, 75)
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.3
  243. *Cmd: "<1B>&l81a4d1E"
  244. }
  245. }
  246. *Option: ENV_DL
  247. {
  248. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  249. *PrintableArea: PAIR(1179, 2458)
  250. *PrintableOrigin: PAIR(60, 75)
  251. *switch: Resolution
  252. {
  253. *case: Option2
  254. {
  255. *PrintableArea: PAIR(1178, 2456)
  256. *PrintableOrigin: PAIR(60, 76)
  257. }
  258. }
  259. *CursorOrigin: PAIR(60, 75)
  260. *Command: CmdSelect
  261. {
  262. *Order: DOC_SETUP.3
  263. *Cmd: "<1B>&l90a4d1E"
  264. }
  265. }
  266. *Option: ENV_C5
  267. {
  268. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  269. *PrintableArea: PAIR(1794, 2566)
  270. *PrintableOrigin: PAIR(60, 75)
  271. *switch: Resolution
  272. {
  273. *case: Option2
  274. {
  275. *PrintableArea: PAIR(1794, 2564)
  276. *PrintableOrigin: PAIR(60, 76)
  277. }
  278. }
  279. *CursorOrigin: PAIR(60, 75)
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.3
  283. *Cmd: "<1B>&l91a4d1E"
  284. }
  285. }
  286. *Option: ENV_MONARCH
  287. {
  288. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  289. *PrintableArea: PAIR(1038, 2110)
  290. *PrintableOrigin: PAIR(60, 75)
  291. *switch: Resolution
  292. {
  293. *case: Option2
  294. {
  295. *PrintableArea: PAIR(1038, 2108)
  296. *PrintableOrigin: PAIR(60, 76)
  297. }
  298. }
  299. *CursorOrigin: PAIR(60, 75)
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.3
  303. *Cmd: "<1B>&l80a4d1E"
  304. }
  305. }
  306. *Option: ENV_C3
  307. {
  308. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  309. *PrintableArea: PAIR(2400, 5269)
  310. *PrintableOrigin: PAIR(60, 75)
  311. *switch: Resolution
  312. {
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(2400, 5268)
  316. *PrintableOrigin: PAIR(60, 76)
  317. }
  318. }
  319. *CursorOrigin: PAIR(60, 75)
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.3
  323. *Cmd: "<1B>&l80a4d1E"
  324. }
  325. }
  326. }
  327. *Feature: Halftone
  328. {
  329. *rcNameID: =HALFTONING_DISPLAY
  330. *DefaultOption: HT_PATSIZE_AUTO
  331. *Option: HT_PATSIZE_AUTO
  332. {
  333. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  334. }
  335. *Ifdef: WINNT_50
  336. *Option: HT_PATSIZE_SUPERCELL_M
  337. {
  338. *rcNameID: =HT_SUPERCELL_DISPLAY
  339. }
  340. *Endif:
  341. *Option: HT_PATSIZE_6x6_M
  342. {
  343. *rcNameID: =HT_DITHER6X6_DISPLAY
  344. }
  345. *Option: HT_PATSIZE_8x8_M
  346. {
  347. *rcNameID: =HT_DITHER8X8_DISPLAY
  348. }
  349. }
  350. *Feature: Memory
  351. {
  352. *rcNameID: =PRINTER_MEMORY_DISPLAY
  353. *DefaultOption: 1024KB
  354. *Option: 1024KB
  355. {
  356. *Name: "1MB"
  357. *MemoryConfigKB: PAIR(1024, 907)
  358. }
  359. }
  360. *Command: CmdStartDoc
  361. {
  362. *Order: DOC_SETUP.1
  363. *Cmd: "<1B>E<1B>&l0L"
  364. }
  365. *Command: CmdStartPage
  366. {
  367. *Order: PAGE_SETUP.1
  368. *Cmd: "<0D>"
  369. }
  370. *Command: CmdEndJob
  371. {
  372. *Order: JOB_FINISH.1
  373. *Cmd: "<1B>E"
  374. }
  375. *Command: CmdCopies
  376. {
  377. *Order: DOC_SETUP.6
  378. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  379. }
  380. *RotateCoordinate?: TRUE
  381. *RotateRaster?: FALSE
  382. *RotateFont?: FALSE
  383. *TextCaps: LIST(TC_UA_ABLE)
  384. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  385. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  386. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  387. *XMoveThreshold: 0
  388. *YMoveThreshold: 0
  389. *XMoveUnit: 300
  390. *YMoveUnit: 300
  391. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  392. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  393. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[1,2400]{max_repeat(DestXRel )}"X" }
  394. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  395. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  396. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  397. *Command: CmdCR { *Cmd : "<0D>" }
  398. *Command: CmdLF { *Cmd : "<0A>" }
  399. *Command: CmdFF { *Cmd : "<0C>" }
  400. *Command: CmdBackSpace { *Cmd : "<08>" }
  401. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  402. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  403. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  404. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  405. *EjectPageWithFF?: TRUE
  406. *OutputDataFormat: H_BYTE
  407. *OptimizeLeftBound?: TRUE
  408. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  409. *CursorYAfterSendBlockData: AUTO_INCREMENT
  410. *DefaultFont: 4
  411. *DefaultCTT: 0
  412. *CharPosition: BASELINE
  413. *switch: Orientation
  414. {
  415. *case: PORTRAIT
  416. {
  417. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  418. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  419. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46)
  420. }
  421. *case: LANDSCAPE_CC90
  422. {
  423. *DeviceFonts: LIST(1,2,3,4,5,8,9,12,13,15,17,19,20,21,22,23,
  424. + 24,25,26,27,30,31,32,33,34,35,38,39,42,43,44,45,46)
  425. }
  426. }
  427. *MinFontID: 1
  428. *MaxFontID: 99
  429. *MaxNumDownFonts: 32
  430. *FontFormat: HPPCL
  431. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  432. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  433. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  434. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  435. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  436. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(s1P" }
  437. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>(s0P" }
  438. *MinGrayFill: 1
  439. *MaxGrayFill: 100
  440. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  441. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  442. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  443. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }