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.

487 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "KOKL21J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "KONICA KL-2010"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "KPDLRES.DLL"
  13. *PrinterType: SERIAL
  14. *PrintRate: 10
  15. *PrintRateUnit: PPM
  16. *MaxCopies: 99
  17. *% ========== Orientation ==========
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. }
  26. *Option: LANDSCAPE_CC270
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. }
  30. }
  31. *% ========== InputBin ==========
  32. *Feature: InputBin
  33. {
  34. *rcNameID: =PAPER_SOURCE_DISPLAY
  35. *DefaultOption: CASSETTE
  36. *Option: CASSETTE
  37. {
  38. *rcNameID: =CASSETTE_DISPLAY
  39. *switch: Orientation
  40. {
  41. *case: PORTRAIT
  42. {
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.2
  46. *Cmd: "<1C>fPC1."
  47. }
  48. }
  49. *case: LANDSCAPE_CC270
  50. {
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.2
  54. *Cmd: "<1C>fLC1."
  55. }
  56. }
  57. }
  58. }
  59. *Option: MANUAL
  60. {
  61. *rcNameID: =MANUAL_FEED_DISPLAY
  62. *switch: Orientation
  63. {
  64. *case: PORTRAIT
  65. {
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.2
  69. *Cmd: "<1C>fPCM."
  70. }
  71. }
  72. *case: LANDSCAPE_CC270
  73. {
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.2
  77. *Cmd: "<1C>fLCM."
  78. }
  79. }
  80. }
  81. }
  82. }
  83. *% ========== Resolution ==========
  84. *Feature: Resolution
  85. {
  86. *rcNameID: =RESOLUTION_DISPLAY
  87. *DefaultOption: Option1
  88. *Option: Option1
  89. {
  90. *Name: "300 x 300" =DOTS_PER_INCH
  91. *DPI: PAIR(300, 300)
  92. *TextDPI: PAIR(300, 300)
  93. *MinStripBlankPixels: 1
  94. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  95. *SpotDiameter: 100
  96. *Command: CmdSendBlockData
  97. {
  98. *CallbackID: 36
  99. *Params: LIST(NumOfDataBytes,
  100. + RasterDataWidthInBytes, RasterDataHeightInPixels, DestX, DestY)
  101. }
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.4
  105. *CallbackID: 35
  106. }
  107. }
  108. }
  109. *% ========== PaperSize ==========
  110. *Feature: PaperSize
  111. {
  112. *rcNameID: =PAPER_SIZE_DISPLAY
  113. *DefaultOption: A4
  114. *Option: A3
  115. {
  116. *rcNameID: =A3_DISPLAY
  117. *PrintableArea: PAIR(3390, 4830)
  118. *PrintableOrigin: PAIR(50, 50)
  119. *switch: Orientation
  120. {
  121. *case: PORTRAIT
  122. {
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.3
  126. *Cmd: "<1C>fPA3."
  127. }
  128. }
  129. *case: LANDSCAPE_CC270
  130. {
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.3
  134. *Cmd: "<1C>fLA3."
  135. }
  136. }
  137. }
  138. }
  139. *Option: A4
  140. {
  141. *rcNameID: =A4_DISPLAY
  142. *PrintableArea: PAIR(2340, 3389)
  143. *PrintableOrigin: PAIR(50, 50)
  144. *switch: Orientation
  145. {
  146. *case: PORTRAIT
  147. {
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.3
  151. *Cmd: "<1C>fPA4."
  152. }
  153. }
  154. *case: LANDSCAPE_CC270
  155. {
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.3
  159. *Cmd: "<1C>fLA4."
  160. }
  161. }
  162. }
  163. }
  164. *Option: B4
  165. {
  166. *rcNameID: =B4_DISPLAY
  167. *PrintableArea: PAIR(2847, 4171)
  168. *PrintableOrigin: PAIR(50, 50)
  169. *switch: Orientation
  170. {
  171. *case: PORTRAIT
  172. {
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.3
  176. *Cmd: "<1C>fPB4."
  177. }
  178. }
  179. *case: LANDSCAPE_CC270
  180. {
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.3
  184. *Cmd: "<1C>fLB4."
  185. }
  186. }
  187. }
  188. }
  189. *Option: B5
  190. {
  191. *rcNameID: =B5_DISPLAY
  192. *PrintableArea: PAIR(2008, 2905)
  193. *PrintableOrigin: PAIR(50, 50)
  194. *switch: Orientation
  195. {
  196. *case: PORTRAIT
  197. {
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.3
  201. *Cmd: "<1C>fPB5."
  202. }
  203. }
  204. *case: LANDSCAPE_CC270
  205. {
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.3
  209. *Cmd: "<1C>fLB5."
  210. }
  211. }
  212. }
  213. }
  214. }
  215. *% ========== ColorMode ==========
  216. *% *ChangeColorModeOnPage?: TRUE
  217. *ChangeColorModeOnDoc?: FALSE
  218. *UseExpColorSelectCmd? : TRUE
  219. *BlockMacro: PALETTE_DEFINITIONS
  220. {
  221. *PaletteSize: 256
  222. *PaletteProgrammable?: TRUE
  223. *RasterMode: INDEXED
  224. *Command: CmdDefinePaletteEntry
  225. {
  226. *Cmd: "<1C>!R" %d{PaletteIndexToProgram} ",0,"
  227. + %d{RedValue} "," %d{GreenValue} "," %d{BlueValue} ",0."
  228. }
  229. *Command: CmdSelectPaletteEntry
  230. {
  231. *Cmd: "<1C>!o.<1C>!S0," %d{CurrentPaletteIndex} "."
  232. }
  233. }
  234. *Feature: ColorMode
  235. {
  236. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  237. *DefaultOption: COLOR_3PLANES
  238. *Option: COLOR_24BPP_2
  239. {
  240. *InsertBlock: =PALETTE_DEFINITIONS
  241. *rcNameID: 276
  242. *DevNumOfPlanes: 1
  243. *DevBPP: 24
  244. *DrvBPP: 24
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.7
  248. *CallbackID: 120
  249. }
  250. }
  251. *Option: COLOR_24BPP_4
  252. {
  253. *InsertBlock: =PALETTE_DEFINITIONS
  254. *rcNameID: 277
  255. *DevNumOfPlanes: 1
  256. *DevBPP: 24
  257. *DrvBPP: 24
  258. *Command: CmdSelect
  259. {
  260. *Order: DOC_SETUP.7
  261. *CallbackID: 121
  262. }
  263. }
  264. *Option: COLOR_24BPP_8
  265. {
  266. *InsertBlock: =PALETTE_DEFINITIONS
  267. *rcNameID: 278
  268. *DevNumOfPlanes: 1
  269. *DevBPP: 24
  270. *DrvBPP: 24
  271. *Command: CmdSelect
  272. {
  273. *Order: DOC_SETUP.7
  274. *CallbackID: 122
  275. }
  276. }
  277. *Option: COLOR_3PLANES
  278. {
  279. *InsertBlock: =PALETTE_DEFINITIONS
  280. *rcNameID: =COLOR_DISPLAY
  281. *DevNumOfPlanes: 3
  282. *DevBPP: 1
  283. *DrvBPP: 4
  284. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  285. *Command: CmdSendCyanData { *CallbackID: 141 }
  286. *Command: CmdSendMagentaData { *CallbackID: 142 }
  287. *Command: CmdSendYellowData { *CallbackID: 143 }
  288. *Command: CmdSelect
  289. {
  290. *Order: DOC_SETUP.7
  291. *CallbackID: 123
  292. }
  293. }
  294. *Option: MONOCHROME
  295. {
  296. *rcNameID: =MONO_DISPLAY
  297. *DevNumOfPlanes: 1
  298. *DevBPP: 1
  299. *Color?: FALSE
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.7
  303. *CallbackID: 124
  304. }
  305. }
  306. }
  307. *% ========== Halftone ==========
  308. *Feature: Halftone
  309. {
  310. *rcNameID: =HALFTONING_DISPLAY
  311. *DefaultOption: HT_PATSIZE_AUTO
  312. *Option: HT_PATSIZE_AUTO
  313. {
  314. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  315. }
  316. *Option: HT_PATSIZE_SUPERCELL_M
  317. {
  318. *rcNameID: =HT_SUPERCELL_DISPLAY
  319. }
  320. *Option: HT_PATSIZE_6x6_M
  321. {
  322. *rcNameID: =HT_DITHER6X6_DISPLAY
  323. }
  324. *Option: HT_PATSIZE_8x8_M
  325. {
  326. *rcNameID: =HT_DITHER8X8_DISPLAY
  327. }
  328. }
  329. *% ========== Job Control Command ==========
  330. *Command: CmdStartDoc
  331. {
  332. *Order: DOC_SETUP.1
  333. *Cmd: "<1B>c1<1C>d240."
  334. }
  335. *Command: CmdStartPage
  336. {
  337. *Order: PAGE_SETUP.1
  338. *Cmd: "<1C>!h1.<1C>e0,0."
  339. }
  340. *Command: CmdEndJob
  341. {
  342. *Order: JOB_FINISH.1
  343. *Cmd: "<1B>c1"
  344. }
  345. *Command: CmdCopies
  346. {
  347. *Order: PAGE_SETUP.2
  348. *Cmd: "<1C>x" %d[1,99]{NumOfCopies}"."
  349. }
  350. *% ========== Printer Capabilities ==========
  351. *RotateCoordinate?: FALSE
  352. *RotateRaster?: TRUE
  353. *RotateFont?: TRUE
  354. *TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_CR_ANY,TC_SF_X_YINDEP,
  355. +TC_SA_DOUBLE,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
  356. *% ========== Cursor Move ==========
  357. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  358. *XMoveUnit: 300
  359. *YMoveUnit: 300
  360. *Command: CmdXMoveAbsolute
  361. {
  362. *CallbackID: 101
  363. *Params: LIST(DestX)
  364. }
  365. *Command: CmdYMoveAbsolute
  366. {
  367. *CallbackID: 102
  368. *Params: LIST(DestY)
  369. }
  370. *Command: CmdCR { *CallbackID: 103 }
  371. *Command: CmdFF { *CallbackID: 104 }
  372. *Command: CmdLF { *CallbackID: 105 }
  373. *Command: CmdSetSimpleRotation { *CallbackID: 9 }
  374. *EjectPageWithFF?: TRUE
  375. *% ========== Raster Data Emission ==========
  376. *OutputDataFormat: H_BYTE
  377. *OptimizeLeftBound?: TRUE
  378. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  379. *CursorYAfterSendBlockData: NO_MOVE
  380. *SendMultipleRows?: TRUE
  381. *switch: ColorMode
  382. {
  383. *case: COLOR_24BPP_8
  384. {
  385. *SendMultipleRows?: FALSE
  386. }
  387. }
  388. *% ========== Device Fonts ==========
  389. *DefaultFont: 1
  390. *DefaultCTT: 0
  391. *CharPosition: BASELINE
  392. *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
  393. *LookAheadRegion: 1
  394. *% ========== Font Simulation ==========
  395. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  396. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  397. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  398. *Command: CmdWhiteTextOn { *Cmd : "<1C>%"R.<1C>$100." }
  399. *Command: CmdWhiteTextOff { *Cmd : "<1C>%"O.<1C>$0." }
  400. *Command: CmdSelectSingleByteMode { *CallbackID: 20 }
  401. *Command: CmdSelectDoubleByteMode { *CallbackID: 21 }
  402. *%========== RectFillCommands ==========
  403. *MinGrayFill: 1
  404. *MaxGrayFill: 100
  405. *Command: CmdSetRectWidth {
  406. *CallbackID: 130
  407. *Params: LIST(RectXSize)
  408. }
  409. *Command: CmdSetRectHeight {
  410. *CallbackID: 131
  411. *Params: LIST(RectYSize)
  412. }
  413. *Command: CmdRectWhiteFill {
  414. *CallbackID: 132
  415. *Params: LIST(DestX, DestY)
  416. }
  417. *Command: CmdRectGrayFill {
  418. *CallbackID: 133
  419. *Params: LIST(DestX, DestY,GrayPercentage)
  420. }
  421. *%========== UI Constraints ==========
  422. *InvalidCombination: LIST(PaperSize.A3, ColorMode.COLOR_24BPP_2)
  423. *InvalidCombination: LIST(PaperSize.A3, ColorMode.COLOR_24BPP_4)
  424. *InvalidCombination: LIST(PaperSize.A3, ColorMode.COLOR_24BPP_8)
  425. *InvalidCombination: LIST(PaperSize.A3, ColorMode.COLOR_3PLANES)
  426. *InvalidCombination: LIST(PaperSize.B4, ColorMode.COLOR_24BPP_2)
  427. *InvalidCombination: LIST(PaperSize.B4, ColorMode.COLOR_24BPP_4)
  428. *InvalidCombination: LIST(PaperSize.B4, ColorMode.COLOR_24BPP_8)
  429. *InvalidCombination: LIST(PaperSize.B4, ColorMode.COLOR_3PLANES)
  430. *%========== TrueType Font Substitution ==========
  431. *TTFS: MSMincho_V
  432. {
  433. *rcTTFontNameID: 300
  434. *rcDevFontNameID: 301
  435. }
  436. *TTFS: MSGothic_V
  437. {
  438. *rcTTFontNameID: 302
  439. *rcDevFontNameID: 303
  440. }
  441. *TTFS: MSMincho
  442. {
  443. *rcTTFontNameID: 304
  444. *rcDevFontNameID: 305
  445. }
  446. *TTFS: MSGothic
  447. {
  448. *rcTTFontNameID: 306
  449. *rcDevFontNameID: 307
  450. }
  451. *TTFS: MSMinchoV_E
  452. {
  453. *rcTTFontNameID: 320
  454. *rcDevFontNameID:301
  455. }
  456. *TTFS: MSGothicV_E
  457. {
  458. *rcTTFontNameID: 321
  459. *rcDevFontNameID:303
  460. }
  461. *TTFS: MSMincho_E
  462. {
  463. *rcTTFontNameID: 322
  464. *rcDevFontNameID:305
  465. }
  466. *TTFS: MSGothic_E
  467. {
  468. *rcTTFontNameID: 323
  469. *rcDevFontNameID:307
  470. }
  471. *TTFSEnabled?: TRUE