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.

463 lines
12 KiB

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