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.

445 lines
10 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSCP220J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO CP-2200"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CAPPLRES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 99
  11. *PrintRate: 12
  12. *PrintRateUnit: PPM
  13. *Macros: CAPPLCBID
  14. {
  15. CM_XM_ABS : 20
  16. CM_YM_ABS : 22
  17. AUTOFEED : 30
  18. PS_B4 : 41
  19. PS_A4 : 42
  20. PS_B5 : 43
  21. PS_LETTER : 44
  22. PS_POSTCARD : 45
  23. PS_FREE : 48
  24. CBID_PORT : 50
  25. CBID_LAND : 51
  26. PRN_2000 : 60
  27. OPT_NOSET : Option1
  28. OPT_B4 : Option3
  29. OPT_A4 : Option4
  30. OPT_B5 : Option5
  31. OPT_LETTER : Option6
  32. OPT_POSTCARD : Option7
  33. }
  34. *Command: CmdCopies
  35. {
  36. *Order: DOC_SETUP.60
  37. *Cmd: "<1B>%<1" %2d[1,99]{NumOfCopies }
  38. }
  39. *Feature: Orientation
  40. {
  41. *rcNameID: =ORIENTATION_DISPLAY
  42. *DefaultOption: PORTRAIT
  43. *Option: PORTRAIT
  44. {
  45. *rcNameID: =PORTRAIT_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.58
  49. *CallbackID: =CBID_PORT
  50. }
  51. }
  52. *Option: LANDSCAPE_CC90
  53. {
  54. *rcNameID: =LANDSCAPE_DISPLAY
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.58
  58. *CallbackID: =CBID_LAND
  59. }
  60. }
  61. }
  62. *Feature: InputBin
  63. {
  64. *rcNameID: =PAPER_SOURCE_DISPLAY
  65. *DefaultOption: AUTO
  66. *Option: Option3
  67. {
  68. *rcNameID: 259
  69. *Command: CmdSelect
  70. {
  71. *Order: DOC_SETUP.55
  72. *Cmd: "<1B>@)0"
  73. }
  74. }
  75. *Option: Option4
  76. {
  77. *rcNameID: 260
  78. *Command: CmdSelect
  79. {
  80. *Order: DOC_SETUP.55
  81. *Cmd: "<1B>@)1"
  82. }
  83. }
  84. *Option: MANUAL
  85. {
  86. *rcNameID: 264
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.55
  90. *Cmd: "<1B>@)3"
  91. }
  92. }
  93. *Option: Option2
  94. {
  95. *rcNameID: 258
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.55
  99. *Cmd: "<1B>@)2"
  100. }
  101. }
  102. *Option: AUTO
  103. {
  104. *rcNameID: 263
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.55
  108. *CallbackID: =AUTOFEED
  109. }
  110. }
  111. }
  112. *Feature: Resolution
  113. {
  114. *rcNameID: =RESOLUTION_DISPLAY
  115. *DefaultOption: Option1
  116. *Option: Option1
  117. {
  118. *Name: "240 x 240 dots per inch"
  119. *DPI: PAIR(240, 240)
  120. *TextDPI: PAIR(240, 240)
  121. EXTERN_GLOBAL: *XMoveUnit: 240
  122. EXTERN_GLOBAL: *YMoveUnit: 240
  123. *MinStripBlankPixels: 128
  124. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  125. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  126. *SpotDiameter: 100
  127. }
  128. }
  129. *Feature: PaperSize
  130. {
  131. *rcNameID: =PAPER_SIZE_DISPLAY
  132. *DefaultOption: A4
  133. *Option: LETTER
  134. {
  135. *rcNameID: =LETTER_DISPLAY
  136. *PrintableArea: PAIR(9680, 12720)
  137. *PrintableOrigin: PAIR(400, 120)
  138. *% 2001/03/01 ->
  139. *switch: Orientation
  140. {
  141. *case: PORTRAIT
  142. {
  143. *CursorOrigin: PAIR(400, 120)
  144. }
  145. *case: LANDSCAPE_CC90
  146. {
  147. *CursorOrigin: PAIR(400, 12840)
  148. }
  149. }
  150. *% 2001/03/01 <-
  151. *Command: CmdSelect
  152. {
  153. *Order: DOC_SETUP.50
  154. *CallbackID: =PS_LETTER
  155. }
  156. }
  157. *Option: A4
  158. {
  159. *rcNameID: =A4_DISPLAY
  160. *PrintableArea: PAIR(9360, 13550)
  161. *PrintableOrigin: PAIR(405, 240)
  162. *% 2001/03/01 ->
  163. *switch: Orientation
  164. {
  165. *case: PORTRAIT
  166. {
  167. *CursorOrigin: PAIR(405, 240)
  168. }
  169. *case: LANDSCAPE_CC90
  170. {
  171. *CursorOrigin: PAIR(405, 13790)
  172. }
  173. }
  174. *% 2001/03/01 <-
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.50
  178. *CallbackID: =PS_A4
  179. }
  180. }
  181. *Option: B4
  182. {
  183. *rcNameID: =B4_DISPLAY
  184. *PrintableArea: PAIR(11520, 16670)
  185. *PrintableOrigin: PAIR(405, 240)
  186. *% 2001/03/01 ->
  187. *switch: Orientation
  188. {
  189. *case: PORTRAIT
  190. {
  191. *CursorOrigin: PAIR(405, 240)
  192. }
  193. *case: LANDSCAPE_CC90
  194. {
  195. *CursorOrigin: PAIR(405, 16910)
  196. }
  197. }
  198. *% 2001/03/01 <-
  199. *Command: CmdSelect
  200. {
  201. *Order: DOC_SETUP.50
  202. *CallbackID: =PS_B4
  203. }
  204. }
  205. *Option: B5
  206. {
  207. *rcNameID: =B5_DISPLAY
  208. *PrintableArea: PAIR(8080, 11660)
  209. *PrintableOrigin: PAIR(405, 240)
  210. *% 2001/03/01 ->
  211. *switch: Orientation
  212. {
  213. *case: PORTRAIT
  214. {
  215. *CursorOrigin: PAIR(405, 240)
  216. }
  217. *case: LANDSCAPE_CC90
  218. {
  219. *CursorOrigin: PAIR(405, 11900)
  220. }
  221. }
  222. *% 2001/03/01 <-
  223. *Command: CmdSelect
  224. {
  225. *Order: DOC_SETUP.50
  226. *CallbackID: =PS_B5
  227. }
  228. }
  229. *Option: JAPANESE_POSTCARD
  230. {
  231. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  232. *PrintableArea: PAIR(4160, 6480)
  233. *PrintableOrigin: PAIR(400, 160)
  234. *% 2001/03/01 ->
  235. *switch: Orientation
  236. {
  237. *case: PORTRAIT
  238. {
  239. *CursorOrigin: PAIR(400, 160)
  240. }
  241. *case: LANDSCAPE_CC90
  242. {
  243. *CursorOrigin: PAIR(400, 6640)
  244. }
  245. }
  246. *% 2001/03/01 <-
  247. *Command: CmdSelect
  248. {
  249. *Order: DOC_SETUP.50
  250. *CallbackID: =PS_POSTCARD
  251. }
  252. }
  253. *Option: CUSTOMSIZE
  254. {
  255. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  256. *MinSize: PAIR(4255, 6995)
  257. *MaxSize: PAIR(12145, 17200)
  258. *MaxPrintableWidth: 11345
  259. *MinLeftMargin: 400
  260. *CenterPrintable?: FALSE
  261. *CustCursorOriginX: %d{400}
  262. *% 2001/03/01 ->
  263. *% *CustCursorOriginY: %d{240}
  264. *switch: Orientation
  265. {
  266. *case: PORTRAIT
  267. {
  268. *CustCursorOriginY: %d{240}
  269. }
  270. *case: LANDSCAPE_CC90
  271. {
  272. *CustCursorOriginY: %d{PhysPaperLength - 240}
  273. }
  274. }
  275. *% 2001/03/01 <-
  276. *CustPrintableOriginX: %d{400}
  277. *CustPrintableOriginY: %d{240}
  278. *CustPrintableSizeX: %d{PhysPaperWidth - 800}
  279. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  280. *Command: CmdSelect
  281. {
  282. *Order: DOC_SETUP.50
  283. *CallbackID: =PS_FREE
  284. *Params: LIST(PhysPaperWidth,PhysPaperLength)
  285. }
  286. }
  287. }
  288. *Feature: Halftone
  289. {
  290. *rcNameID: =HALFTONING_DISPLAY
  291. *DefaultOption: HT_PATSIZE_AUTO
  292. *Option: HT_PATSIZE_AUTO
  293. {
  294. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  295. }
  296. *Option: HT_PATSIZE_SUPERCELL_M
  297. {
  298. *rcNameID: =HT_SUPERCELL_DISPLAY
  299. }
  300. *Option: HT_PATSIZE_6x6_M
  301. {
  302. *rcNameID: =HT_DITHER6X6_DISPLAY
  303. }
  304. *Option: HT_PATSIZE_8x8_M
  305. {
  306. *rcNameID: =HT_DITHER8X8_DISPLAY
  307. }
  308. }
  309. *Feature: Memory
  310. {
  311. *rcNameID: =PRINTER_MEMORY_DISPLAY
  312. *DefaultOption: 1024KB
  313. *Option: 1024KB
  314. {
  315. *Name: "1MB"
  316. *MemoryConfigKB: PAIR(1024, 700)
  317. }
  318. }
  319. *Feature: MPFSetting
  320. {
  321. *FeatureType: DOC_PROPERTY
  322. *rcNameID: 5500
  323. *DefaultOption: =OPT_NOSET
  324. *Option: =OPT_NOSET
  325. {
  326. *rcNameID: 5010
  327. }
  328. *Option: =OPT_B4
  329. {
  330. *rcNameID: =B4_DISPLAY
  331. *Constraints: InputBin.MANUAL
  332. *Constraints: InputBin.Option2
  333. *Constraints: InputBin.Option3
  334. *Constraints: InputBin.Option4
  335. }
  336. *Option: =OPT_A4
  337. {
  338. *rcNameID: =A4_DISPLAY
  339. *Constraints: InputBin.MANUAL
  340. *Constraints: InputBin.Option2
  341. *Constraints: InputBin.Option3
  342. *Constraints: InputBin.Option4
  343. }
  344. *Option: =OPT_B5
  345. {
  346. *rcNameID: =B5_DISPLAY
  347. *Constraints: InputBin.MANUAL
  348. *Constraints: InputBin.Option2
  349. *Constraints: InputBin.Option3
  350. *Constraints: InputBin.Option4
  351. }
  352. *Option: =OPT_LETTER
  353. {
  354. *rcNameID: =LETTER_DISPLAY
  355. *Constraints: InputBin.MANUAL
  356. *Constraints: InputBin.Option2
  357. *Constraints: InputBin.Option3
  358. *Constraints: InputBin.Option4
  359. }
  360. *Option: =OPT_POSTCARD
  361. {
  362. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  363. *Constraints: InputBin.MANUAL
  364. *Constraints: InputBin.Option2
  365. *Constraints: InputBin.Option3
  366. *Constraints: InputBin.Option4
  367. }
  368. }
  369. *% 2001/03/01 ->
  370. *% *RotateCoordinate?: FALSE
  371. *RotateCoordinate?: TRUE
  372. *% 2001/03/01 <-
  373. *RotateRaster?: TRUE
  374. *RotateFont?: FALSE
  375. *TextCaps: LIST(TC_RA_ABLE)
  376. *MemoryUsage: LIST(FONT)
  377. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  378. *XMoveThreshold: 0
  379. *YMoveThreshold: 0
  380. *EjectPageWithFF?: TRUE
  381. *OutputDataFormat: H_BYTE
  382. *OptimizeLeftBound?: TRUE
  383. *CursorXAfterSendBlockData: AT_GRXDATA_END
  384. *CursorYAfterSendBlockData: AUTO_INCREMENT
  385. *DefaultCTT: 0
  386. *Command: CmdStartJob
  387. {
  388. *Order: JOB_SETUP.1
  389. *CallbackID: =PRN_2000
  390. }
  391. *Command: CmdStartDoc
  392. {
  393. *Order: DOC_SETUP.10
  394. *Cmd: "<1B>c1"
  395. }
  396. *Command: CmdStartPage
  397. {
  398. *Order: PAGE_SETUP.10
  399. *Cmd: "<1B><5C>9<0000><0000>"
  400. }
  401. *Command: CmdEndJob
  402. {
  403. *Order: JOB_FINISH.10
  404. *Cmd: "<1B>c1"
  405. }
  406. *Command: CmdXMoveAbsolute
  407. {
  408. *CallbackID: =CM_XM_ABS
  409. *Params: LIST(DestX,DestY)
  410. }
  411. *Command: CmdYMoveAbsolute {
  412. *CallbackID: =CM_YM_ABS
  413. *Params: LIST(DestX,DestY)
  414. }
  415. *Command: CmdCR { *Cmd : "<0D>" }
  416. *Command: CmdLF { *Cmd : "<0A>" }
  417. *Command: CmdFF { *Cmd : "<0C>" }
  418. *Command: CmdSendBlockData
  419. {
  420. *Cmd: "<1B>w" %m[1,2047]{RasterDataWidthInBytes}
  421. + %m[1,16383]{RasterDataHeightInPixels}
  422. }