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.

481 lines
12 KiB

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