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.

488 lines
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "KYF800A.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Kyocera F-800A"
  10. *MasterUnits: PAIR(300, 300)
  11. *ResourceDLL: "kyrares.dll"
  12. *PrintRate: 8
  13. *PrintRatePPM: 8
  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. *Option: 512KB
  360. {
  361. *Name: "512KB"
  362. *MemoryConfigKB: PAIR(512, 369)
  363. }
  364. *Option: 1536KB
  365. {
  366. *Name: "1536KB"
  367. *MemoryConfigKB: PAIR(1536, 1419)
  368. }
  369. *Option: 2048KB
  370. {
  371. *Name: "2MB"
  372. *MemoryConfigKB: PAIR(2048, 1931)
  373. }
  374. *Option: 2560KB
  375. {
  376. *Name: "2560KB"
  377. *MemoryConfigKB: PAIR(2560, 2243)
  378. }
  379. *Option: 3072KB
  380. {
  381. *Name: "3MB"
  382. *MemoryConfigKB: PAIR(3072, 2995)
  383. }
  384. *Option: 3584KB
  385. {
  386. *Name: "3584KB"
  387. *MemoryConfigKB: PAIR(3584, 3467)
  388. }
  389. *Option: 4096KB
  390. {
  391. *Name: "4MB"
  392. *MemoryConfigKB: PAIR(4096, 3979)
  393. }
  394. *Option: 4608KB
  395. {
  396. *Name: "4608KB"
  397. *MemoryConfigKB: PAIR(4608, 4465)
  398. }
  399. *Option: 5120KB
  400. {
  401. *Name: "5MB"
  402. *MemoryConfigKB: PAIR(5120, 5003)
  403. }
  404. }
  405. *Command: CmdStartDoc
  406. {
  407. *Order: DOC_SETUP.1
  408. *Cmd: "<1B>E<1B>&l0L"
  409. }
  410. *Command: CmdStartPage
  411. {
  412. *Order: PAGE_SETUP.1
  413. *Cmd: "<0D>"
  414. }
  415. *Command: CmdEndJob
  416. {
  417. *Order: JOB_FINISH.1
  418. *Cmd: "<1B>E"
  419. }
  420. *Command: CmdCopies
  421. {
  422. *Order: DOC_SETUP.6
  423. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  424. }
  425. *RotateCoordinate?: TRUE
  426. *RotateRaster?: FALSE
  427. *RotateFont?: FALSE
  428. *TextCaps: LIST(TC_UA_ABLE)
  429. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  430. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  431. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  432. *XMoveThreshold: 0
  433. *YMoveThreshold: 0
  434. *XMoveUnit: 300
  435. *YMoveUnit: 300
  436. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  437. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  438. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[1,2400]{max_repeat(DestXRel )}"X" }
  439. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  440. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  441. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d[1,3150]{max_repeat(DestYRel )}"Y" }
  442. *Command: CmdCR { *Cmd : "<0D>" }
  443. *Command: CmdLF { *Cmd : "<0A>" }
  444. *Command: CmdFF { *Cmd : "<0C>" }
  445. *Command: CmdBackSpace { *Cmd : "<08>" }
  446. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  447. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  448. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  449. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  450. *EjectPageWithFF?: TRUE
  451. *OutputDataFormat: H_BYTE
  452. *OptimizeLeftBound?: TRUE
  453. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  454. *CursorYAfterSendBlockData: AUTO_INCREMENT
  455. *DefaultFont: 4
  456. *DefaultCTT: 0
  457. *CharPosition: BASELINE
  458. *switch: Orientation
  459. {
  460. *case: PORTRAIT
  461. {
  462. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  463. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  464. + 33,34,35,36,37,38,39,40,41,42,43,44,45,46)
  465. }
  466. *case: LANDSCAPE_CC90
  467. {
  468. *DeviceFonts: LIST(1,2,3,4,5,8,9,12,13,15,17,19,20,21,22,23,
  469. + 24,25,26,27,30,31,32,33,34,35,38,39,42,43,44,45,46)
  470. }
  471. }
  472. *MinFontID: 1
  473. *MaxFontID: 99
  474. *MaxNumDownFonts: 32
  475. *FontFormat: HPPCL
  476. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  477. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  478. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  479. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  480. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  481. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>(s1P" }
  482. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>(s0P" }
  483. *MinGrayFill: 1
  484. *MaxGrayFill: 100
  485. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  486. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  487. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  488. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }