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.

642 lines
16 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSCP325J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO CP-3250"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CAPPLRES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 255
  11. *PrintRate: 8
  12. *PrintRateUnit: PPM
  13. *Macros: CAPPLCBID
  14. {
  15. RES_SELECTRES_240 : 14
  16. RES_SELECTRES_400 : 15
  17. CM_XM_ABS : 20
  18. CM_YM_ABS : 22
  19. AUTOFEED : 30
  20. PS_A3 : 40
  21. PS_B4 : 41
  22. PS_A4 : 42
  23. PS_B5 : 43
  24. PS_LETTER : 44
  25. PS_POSTCARD : 45
  26. PS_A5 : 47
  27. PS_FREE : 48
  28. CBID_PORT : 50
  29. CBID_LAND : 51
  30. PRN_3000 : 62
  31. OPT_NOSET : Option1
  32. OPT_A3 : Option2
  33. OPT_B4 : Option3
  34. OPT_A4 : Option4
  35. OPT_B5 : Option5
  36. OPT_LETTER : Option6
  37. OPT_POSTCARD : Option7
  38. OPT_A5 : Option8
  39. }
  40. *Command: CmdCopies
  41. {
  42. *Order: DOC_SETUP.60
  43. *Cmd: "<1B>[1<0004>D0" %m[1,255]{NumOfCopies}
  44. }
  45. *Feature: Orientation
  46. {
  47. *rcNameID: =ORIENTATION_DISPLAY
  48. *DefaultOption: PORTRAIT
  49. *Option: PORTRAIT
  50. {
  51. *rcNameID: =PORTRAIT_DISPLAY
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.58
  55. *CallbackID: =CBID_PORT
  56. }
  57. }
  58. *Option: LANDSCAPE_CC90
  59. {
  60. *rcNameID: =LANDSCAPE_DISPLAY
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.58
  64. *CallbackID: =CBID_LAND
  65. }
  66. }
  67. }
  68. *Feature: InputBin
  69. {
  70. *rcNameID: =PAPER_SOURCE_DISPLAY
  71. *DefaultOption: AUTO
  72. *Option: Option2
  73. {
  74. *rcNameID: 259
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.55
  78. *Cmd: "<1B>@)0"
  79. }
  80. }
  81. *Option: Option3
  82. {
  83. *rcNameID: 260
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.55
  87. *Cmd: "<1B>@)1"
  88. }
  89. }
  90. *Option: MANUAL
  91. {
  92. *rcNameID: 265
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.55
  96. *Cmd: "<1B>@)7"
  97. }
  98. }
  99. *Option: AUTO
  100. {
  101. *rcNameID: 263
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.55
  105. *CallbackID: =AUTOFEED
  106. }
  107. }
  108. }
  109. *Feature: Resolution
  110. {
  111. *rcNameID: =RESOLUTION_DISPLAY
  112. *DefaultOption: Option2
  113. *Option: Option1
  114. {
  115. *Name: "240 x 240 dots per inch"
  116. *DPI: PAIR(240, 240)
  117. *TextDPI: PAIR(240, 240)
  118. EXTERN_GLOBAL: *XMoveUnit: 240
  119. EXTERN_GLOBAL: *YMoveUnit: 240
  120. *MinStripBlankPixels: 128
  121. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  122. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  123. *SpotDiameter: 100
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.30
  127. *CallbackID: =RES_SELECTRES_240
  128. }
  129. }
  130. *Option: Option2
  131. {
  132. *Name: "400 x 400 dots per inch"
  133. *DPI: PAIR(400, 400)
  134. *TextDPI: PAIR(400, 400)
  135. EXTERN_GLOBAL: *XMoveUnit: 400
  136. EXTERN_GLOBAL: *YMoveUnit: 400
  137. *MinStripBlankPixels: 64
  138. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  139. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  140. *SpotDiameter: 100
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.30
  144. *CallbackID: =RES_SELECTRES_400
  145. }
  146. }
  147. }
  148. *Feature: PaperSize
  149. {
  150. *rcNameID: =PAPER_SIZE_DISPLAY
  151. *DefaultOption: A4
  152. *Option: LETTER
  153. {
  154. *rcNameID: =LETTER_DISPLAY
  155. *PrintableArea: PAIR(9720, 12720)
  156. *PrintableOrigin: PAIR(240, 240)
  157. *% 2001/03/01 ->
  158. *switch: Orientation
  159. {
  160. *case: PORTRAIT
  161. {
  162. *CursorOrigin: PAIR(240, 240)
  163. }
  164. *case: LANDSCAPE_CC90
  165. {
  166. *CursorOrigin: PAIR(240, 12960)
  167. }
  168. }
  169. *% 2001/03/01 <-
  170. *Command: CmdSelect
  171. {
  172. *Order: DOC_SETUP.50
  173. *CallbackID: =PS_LETTER
  174. }
  175. }
  176. *Option: A3
  177. {
  178. *rcNameID: =A3_DISPLAY
  179. *PrintableArea: PAIR(13550, 19360)
  180. *PrintableOrigin: PAIR(240, 240)
  181. *% 2001/03/01 ->
  182. *CursorOrigin: PAIR(240, 240)
  183. *% 2001/03/01 <-
  184. *switch: Resolution
  185. {
  186. *% 2001/03/01 ->
  187. *case: Option1
  188. {
  189. *switch: Orientation
  190. {
  191. *case: LANDSCAPE_CC90
  192. {
  193. *CursorOrigin: PAIR(240, 19600)
  194. }
  195. }
  196. }
  197. *% 2001/03/01 <-
  198. *case: Option2
  199. {
  200. *% Warning: the following printable width is adjusted (13550->13548) so it is divisible by the resolution X scale.
  201. *% Warning: the following printable length is adjusted (19360->19359) so it is divisible by the resolution Y scale.
  202. *PrintableArea: PAIR(13548, 19359)
  203. *% 2001/03/01 ->
  204. *switch: Orientation
  205. {
  206. *case: LANDSCAPE_CC90
  207. {
  208. *CursorOrigin: PAIR(240, 19599)
  209. }
  210. }
  211. *% 2001/03/01 <-
  212. }
  213. }
  214. *Command: CmdSelect
  215. {
  216. *Order: DOC_SETUP.50
  217. *CallbackID: =PS_A3
  218. }
  219. }
  220. *Option: A4
  221. {
  222. *rcNameID: =A4_DISPLAY
  223. *PrintableArea: PAIR(9440, 13550)
  224. *PrintableOrigin: PAIR(240, 240)
  225. *% 2001/03/01 ->
  226. *CursorOrigin: PAIR(240, 240)
  227. *% 2001/03/01 <-
  228. *switch: Resolution
  229. {
  230. *% 2001/03/01 ->
  231. *case: Option1
  232. {
  233. *switch: Orientation
  234. {
  235. *case: LANDSCAPE_CC90
  236. {
  237. *CursorOrigin: PAIR(240, 13790)
  238. }
  239. }
  240. }
  241. *% 2001/03/01 <-
  242. *case: Option2
  243. {
  244. *% Warning: the following printable width is adjusted (9440->9438) so it is divisible by the resolution X scale.
  245. *% Warning: the following printable length is adjusted (13550->13548) so it is divisible by the resolution Y scale.
  246. *PrintableArea: PAIR(9438, 13548)
  247. *% 2001/03/01 ->
  248. *switch: Orientation
  249. {
  250. *case: LANDSCAPE_CC90
  251. {
  252. *CursorOrigin: PAIR(240, 13788)
  253. }
  254. }
  255. *% 2001/03/01 <-
  256. }
  257. }
  258. *Command: CmdSelect
  259. {
  260. *Order: DOC_SETUP.50
  261. *CallbackID: =PS_A4
  262. }
  263. }
  264. *Option: B4
  265. {
  266. *rcNameID: =B4_DISPLAY
  267. *PrintableArea: PAIR(11660, 16715)
  268. *PrintableOrigin: PAIR(240, 240)
  269. *% 2001/03/01 ->
  270. *CursorOrigin: PAIR(240, 240)
  271. *% 2001/03/01 <-
  272. *switch: Resolution
  273. {
  274. *% 2001/03/01 ->
  275. *case: Option1
  276. {
  277. *switch: Orientation
  278. {
  279. *case: LANDSCAPE_CC90
  280. {
  281. *CursorOrigin: PAIR(240, 16955)
  282. }
  283. }
  284. }
  285. *% 2001/03/01 <-
  286. *case: Option2
  287. {
  288. *% Warning: the following printable width is adjusted (11660->11658) so it is divisible by the resolution X scale.
  289. *% Warning: the following printable length is adjusted (16715->16713) so it is divisible by the resolution Y scale.
  290. *PrintableArea: PAIR(11658, 16713)
  291. *% 2001/03/01 ->
  292. *switch: Orientation
  293. {
  294. *case: LANDSCAPE_CC90
  295. {
  296. *CursorOrigin: PAIR(240, 16953)
  297. }
  298. }
  299. *% 2001/03/01 <-
  300. }
  301. }
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.50
  305. *CallbackID: =PS_B4
  306. }
  307. }
  308. *Option: B5
  309. {
  310. *rcNameID: =B5_DISPLAY
  311. *PrintableArea: PAIR(8115, 11660)
  312. *PrintableOrigin: PAIR(240, 240)
  313. *% 2001/03/01 ->
  314. *CursorOrigin: PAIR(240, 240)
  315. *% 2001/03/01 <-
  316. *switch: Resolution
  317. {
  318. *% 2001/03/01 ->
  319. *case: Option1
  320. {
  321. *switch: Orientation
  322. {
  323. *case: LANDSCAPE_CC90
  324. {
  325. *CursorOrigin: PAIR(240, 11900)
  326. }
  327. }
  328. }
  329. *% 2001/03/01 <-
  330. *case: Option2
  331. {
  332. *% Warning: the following printable length is adjusted (11660->11658) so it is divisible by the resolution Y scale.
  333. *PrintableArea: PAIR(8115, 11658)
  334. *% 2001/03/01 ->
  335. *switch: Orientation
  336. {
  337. *case: LANDSCAPE_CC90
  338. {
  339. *CursorOrigin: PAIR(240, 11898)
  340. }
  341. }
  342. *% 2001/03/01 <-
  343. }
  344. }
  345. *Command: CmdSelect
  346. {
  347. *Order: DOC_SETUP.50
  348. *CallbackID: =PS_B5
  349. }
  350. }
  351. *Option: A5
  352. {
  353. *rcNameID: =A5_DISPLAY
  354. *% 2001/03/01 ->
  355. *% *PrintableArea: PAIR(6555, 9440)
  356. *% *PrintableOrigin: PAIR(240, 240)
  357. *PrintableArea: PAIR(6510, 9440)
  358. *PrintableOrigin: PAIR(240, 240)
  359. *CursorOrigin: PAIR(240, 240)
  360. *% 2001/03/01 <-
  361. *switch: Resolution
  362. {
  363. *% 2001/03/01 ->
  364. *case: Option1
  365. {
  366. *switch: Orientation
  367. {
  368. *case: LANDSCAPE_CC90
  369. {
  370. *CursorOrigin: PAIR(240, 9680)
  371. }
  372. }
  373. }
  374. *% 2001/03/01 <-
  375. *case: Option2
  376. {
  377. *% Warning: the following printable length is adjusted (9440->9438) so it is divisible by the resolution Y scale.
  378. *% 2001/03/01 ->
  379. *% *PrintableArea: PAIR(6555, 9438)
  380. *PrintableArea: PAIR(6510, 9438)
  381. *switch: Orientation
  382. {
  383. *case: LANDSCAPE_CC90
  384. {
  385. *CursorOrigin: PAIR(240, 9678)
  386. }
  387. }
  388. *% 2001/03/01 <-
  389. }
  390. }
  391. *Command: CmdSelect
  392. {
  393. *Order: DOC_SETUP.50
  394. *CallbackID: =PS_A5
  395. }
  396. }
  397. *Option: JAPANESE_POSTCARD
  398. {
  399. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  400. *PrintableArea: PAIR(4240, 6510)
  401. *PrintableOrigin: PAIR(240, 240)
  402. *% 2001/03/01 ->
  403. *switch: Orientation
  404. {
  405. *case: PORTRAIT
  406. {
  407. *CursorOrigin: PAIR(240, 240)
  408. }
  409. *case: LANDSCAPE_CC90
  410. {
  411. *CursorOrigin: PAIR(240, 6750)
  412. }
  413. }
  414. *% 2001/03/01 <-
  415. *switch: Resolution
  416. {
  417. *case: Option2
  418. {
  419. *% Warning: the following printable width is adjusted (4240->4239) so it is divisible by the resolution X scale.
  420. *PrintableArea: PAIR(4239, 6510)
  421. }
  422. }
  423. *Command: CmdSelect
  424. {
  425. *Order: DOC_SETUP.50
  426. *CallbackID: =PS_POSTCARD
  427. }
  428. }
  429. *Option: CUSTOMSIZE
  430. {
  431. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  432. *switch: Resolution
  433. {
  434. *case: Option1
  435. {
  436. *MinSize: PAIR(4250, 4250)
  437. *MaxSize: PAIR(14035, 20365)
  438. *MaxPrintableWidth: 13555
  439. }
  440. *case: Option2
  441. {
  442. *MinSize: PAIR(4251, 4251)
  443. *MaxSize: PAIR(14034, 20364)
  444. *MaxPrintableWidth: 13554
  445. }
  446. }
  447. *MinLeftMargin: 240
  448. *CenterPrintable?: FALSE
  449. *CustCursorOriginX: %d{240}
  450. *% 2001/03/01 ->
  451. *% *CustCursorOriginY: %d{240}
  452. *switch: Orientation
  453. {
  454. *case: PORTRAIT
  455. {
  456. *CustCursorOriginY: %d{240}
  457. }
  458. *case: LANDSCAPE_CC90
  459. {
  460. *CustCursorOriginY: %d{PhysPaperLength - 240}
  461. }
  462. }
  463. *% 2001/03/01 <-
  464. *CustPrintableOriginX: %d{240}
  465. *CustPrintableOriginY: %d{240}
  466. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  467. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  468. *Command: CmdSelect
  469. {
  470. *Order: DOC_SETUP.50
  471. *CallbackID: =PS_FREE
  472. *Params: LIST(PhysPaperWidth, PhysPaperLength)
  473. }
  474. }
  475. }
  476. *Feature: Halftone
  477. {
  478. *rcNameID: =HALFTONING_DISPLAY
  479. *DefaultOption: HT_PATSIZE_AUTO
  480. *Option: HT_PATSIZE_AUTO
  481. {
  482. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  483. }
  484. *Option: HT_PATSIZE_SUPERCELL_M
  485. {
  486. *rcNameID: =HT_SUPERCELL_DISPLAY
  487. }
  488. *Option: HT_PATSIZE_6x6_M
  489. {
  490. *rcNameID: =HT_DITHER6X6_DISPLAY
  491. }
  492. *Option: HT_PATSIZE_8x8_M
  493. {
  494. *rcNameID: =HT_DITHER8X8_DISPLAY
  495. }
  496. }
  497. *Feature: Memory
  498. {
  499. *rcNameID: =PRINTER_MEMORY_DISPLAY
  500. *DefaultOption: 4096KB
  501. *Option: 4096KB
  502. {
  503. *Name: "4MB"
  504. *MemoryConfigKB: PAIR(4096, 2560)
  505. }
  506. }
  507. *Feature: MPFSetting
  508. {
  509. *FeatureType: DOC_PROPERTY
  510. *rcNameID: 5500
  511. *DefaultOption: =OPT_NOSET
  512. *Option: =OPT_NOSET
  513. {
  514. *rcNameID: 5010
  515. }
  516. *Option: =OPT_A3
  517. {
  518. *rcNameID: =A3_DISPLAY
  519. *Constraints: InputBin.MANUAL
  520. *Constraints: InputBin.Option2
  521. *Constraints: InputBin.Option3
  522. }
  523. *Option: =OPT_B4
  524. {
  525. *rcNameID: =B4_DISPLAY
  526. *Constraints: InputBin.MANUAL
  527. *Constraints: InputBin.Option2
  528. *Constraints: InputBin.Option3
  529. }
  530. *Option: =OPT_A4
  531. {
  532. *rcNameID: =A4_DISPLAY
  533. *Constraints: InputBin.MANUAL
  534. *Constraints: InputBin.Option2
  535. *Constraints: InputBin.Option3
  536. }
  537. *Option: =OPT_B5
  538. {
  539. *rcNameID: =B5_DISPLAY
  540. *Constraints: InputBin.MANUAL
  541. *Constraints: InputBin.Option2
  542. *Constraints: InputBin.Option3
  543. }
  544. *Option: =OPT_A5
  545. {
  546. *rcNameID: =A5_DISPLAY
  547. *Constraints: InputBin.MANUAL
  548. *Constraints: InputBin.Option2
  549. *Constraints: InputBin.Option3
  550. }
  551. *Option: =OPT_LETTER
  552. {
  553. *rcNameID: =LETTER_DISPLAY
  554. *Constraints: InputBin.MANUAL
  555. *Constraints: InputBin.Option2
  556. *Constraints: InputBin.Option3
  557. }
  558. *Option: =OPT_POSTCARD
  559. {
  560. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  561. *Constraints: InputBin.MANUAL
  562. *Constraints: InputBin.Option2
  563. *Constraints: InputBin.Option3
  564. }
  565. }
  566. *% 2001/03/01 ->
  567. *% *RotateCoordinate?: FALSE
  568. *RotateCoordinate?: TRUE
  569. *% 2001/03/01 <-
  570. *RotateRaster?: TRUE
  571. *RotateFont?: FALSE
  572. *TextCaps: LIST(TC_RA_ABLE)
  573. *MemoryUsage: LIST(FONT)
  574. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  575. *XMoveThreshold: 0
  576. *YMoveThreshold: 0
  577. *EjectPageWithFF?: TRUE
  578. *OutputDataFormat: H_BYTE
  579. *OptimizeLeftBound?: TRUE
  580. *CursorXAfterSendBlockData: AT_GRXDATA_END
  581. *CursorYAfterSendBlockData: AUTO_INCREMENT
  582. *DefaultCTT: 0
  583. *Command: CmdStartJob
  584. {
  585. *Order: JOB_SETUP.10
  586. *CallbackID: =PRN_3000
  587. }
  588. *Command: CmdStartDoc
  589. {
  590. *Order: DOC_SETUP.10
  591. *Cmd: "<1B>c1"
  592. }
  593. *Command: CmdStartPage
  594. {
  595. *Order: PAGE_SETUP.10
  596. *Cmd: "<1B><5C>9<0000><0000>"
  597. }
  598. *Command: CmdEndJob
  599. {
  600. *Order: JOB_FINISH.10
  601. *Cmd: "<1B>c1<1B>iw="
  602. }
  603. *Command: CmdXMoveAbsolute
  604. {
  605. *CallbackID: =CM_XM_ABS
  606. *Params: LIST(DestX,DestY)
  607. }
  608. *Command: CmdYMoveAbsolute
  609. {
  610. *CallbackID: =CM_YM_ABS
  611. *Params: LIST(DestX,DestY)
  612. }
  613. *Command: CmdCR { *Cmd : "<0D>" }
  614. *Command: CmdLF { *Cmd : "<0A>" }
  615. *Command: CmdFF { *Cmd : "<0C>" }
  616. *Command: CmdSendBlockData
  617. {
  618. *Cmd: "<1B>w" %m[1,2047]{RasterDataWidthInBytes}
  619. + %m[1,16383]{RasterDataHeightInPixels}
  620. }