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.

472 lines
12 KiB

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