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.

503 lines
12 KiB

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