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.

469 lines
12 KiB

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