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.

585 lines
15 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSCP710J.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO CP-7100"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CASN4RES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 255
  11. *PrintRate: 12
  12. *PrintRateUnit: PPM
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. *Command: CmdSelect
  21. {
  22. *Order: DOC_SETUP.2
  23. *CallbackID: 93
  24. }
  25. }
  26. *Option: LANDSCAPE_CC90
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. *Command: CmdSelect
  30. {
  31. *Order: DOC_SETUP.2
  32. *CallbackID: 94
  33. }
  34. }
  35. }
  36. *Feature: InputBin
  37. {
  38. *rcNameID: =PAPER_SOURCE_DISPLAY
  39. *DefaultOption: Option1
  40. *Option: Option1
  41. {
  42. *rcNameID: 264
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.1
  46. *CallbackID: 100
  47. }
  48. }
  49. *Option: Option2
  50. {
  51. *rcNameID: 271
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.1
  55. *CallbackID: 103
  56. }
  57. }
  58. *Option: Option3
  59. {
  60. *rcNameID: 272
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.1
  64. *CallbackID: 104
  65. }
  66. }
  67. }
  68. *Feature: Resolution
  69. {
  70. *rcNameID: =RESOLUTION_DISPLAY
  71. *DefaultOption: Option1
  72. *Option: Option1
  73. {
  74. *Name: "300 x 300 dots per inch"
  75. *DPI: PAIR(300, 300)
  76. *TextDPI: PAIR(300, 300)
  77. EXTERN_GLOBAL: *XMoveUnit: 300
  78. EXTERN_GLOBAL: *YMoveUnit: 300
  79. *MinStripBlankPixels: 32
  80. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  81. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  82. *SpotDiameter: 100
  83. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  84. + ";0bi{I" }
  85. *Command: CmdSelect
  86. {
  87. *Order: DOC_SETUP.3
  88. *CallbackID: 70
  89. }
  90. }
  91. *Option: Option2
  92. {
  93. *Name: "600 x 600 dots per inch"
  94. *DPI: PAIR(600, 600)
  95. *TextDPI: PAIR(600, 600)
  96. EXTERN_GLOBAL: *XMoveUnit: 600
  97. EXTERN_GLOBAL: *YMoveUnit: 600
  98. *MinStripBlankPixels: 32
  99. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  100. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  101. *SpotDiameter: 100
  102. *Command: CmdSendBlockData { *Cmd : "<1D>" %d{NumOfDataBytes }";" %d{(RasterDataWidthInBytes * 8) }";" %d{RasterDataHeightInPixels }
  103. + ";0bi{I" }
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.3
  107. *CallbackID: 71
  108. }
  109. }
  110. }
  111. *Feature: PaperSize
  112. {
  113. *rcNameID: =PAPER_SIZE_DISPLAY
  114. *DefaultOption: A4
  115. *Option: A4
  116. {
  117. *rcNameID: =A4_DISPLAY
  118. *switch: Orientation
  119. {
  120. *case: PORTRAIT
  121. {
  122. *PrintableArea: PAIR(9440, 13552)
  123. *PrintableOrigin: PAIR(240, 240)
  124. *CursorOrigin: PAIR(240, 240)
  125. *Command: CmdSelect
  126. {
  127. *Order: DOC_SETUP.11
  128. *Cmd: "<1D>14psE"
  129. }
  130. }
  131. *case: LANDSCAPE_CC90
  132. {
  133. *PrintableArea: PAIR(9440, 13552)
  134. *PrintableOrigin: PAIR(240, 240)
  135. *CursorOrigin: PAIR(240, 13792)
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.11
  139. *Cmd: "<1D>14psE<1D>1poE"
  140. }
  141. }
  142. }
  143. }
  144. *Option: B5
  145. {
  146. *rcNameID: =B5_DISPLAY
  147. *switch: Orientation
  148. {
  149. *case: PORTRAIT
  150. {
  151. *PrintableArea: PAIR(8120, 11664)
  152. *PrintableOrigin: PAIR(240, 240)
  153. *CursorOrigin: PAIR(240, 240)
  154. *Command: CmdSelect
  155. {
  156. *Order: DOC_SETUP.11
  157. *Cmd: "<1D>25psE"
  158. }
  159. }
  160. *case: LANDSCAPE_CC90
  161. {
  162. *PrintableArea: PAIR(8120, 11664)
  163. *PrintableOrigin: PAIR(240, 240)
  164. *CursorOrigin: PAIR(240, 11904)
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.11
  168. *Cmd: "<1D>25psE<1D>1poE"
  169. }
  170. }
  171. }
  172. }
  173. *Option: LETTER
  174. {
  175. *rcNameID: =LETTER_DISPLAY
  176. *switch: Orientation
  177. {
  178. *case: PORTRAIT
  179. {
  180. *PrintableArea: PAIR(9720, 12720)
  181. *PrintableOrigin: PAIR(240, 240)
  182. *CursorOrigin: PAIR(240, 240)
  183. *Command: CmdSelect
  184. {
  185. *Order: DOC_SETUP.11
  186. *Cmd: "<1D>30psE"
  187. }
  188. }
  189. *case: LANDSCAPE_CC90
  190. {
  191. *PrintableArea: PAIR(9720, 12720)
  192. *PrintableOrigin: PAIR(240, 240)
  193. *CursorOrigin: PAIR(240, 12960)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.11
  197. *Cmd: "<1D>30psE<1D>1poE"
  198. }
  199. }
  200. }
  201. }
  202. *Option: CUSTOMSIZE
  203. {
  204. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  205. *MinSize: PAIR(4724,6992)
  206. *MaxSize: PAIR(9924,16772)
  207. *MaxPrintableWidth: 9444
  208. *MinLeftMargin: 240
  209. *CenterPrintable?: FALSE
  210. *switch: Orientation
  211. {
  212. *case: PORTRAIT
  213. {
  214. *CustCursorOriginX: %d{240}
  215. *CustCursorOriginY: %d{240}
  216. *CustPrintableOriginX: %d{240}
  217. *CustPrintableOriginY: %d{240}
  218. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  219. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  220. *switch: Resolution
  221. {
  222. *case: Option1 *% 300dpi
  223. {
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.11
  227. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE"
  228. }
  229. }
  230. *case: Option2 *% 600dpi
  231. {
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.11
  235. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE"
  236. }
  237. }
  238. }
  239. }
  240. *case: LANDSCAPE_CC90
  241. {
  242. *CustCursorOriginX: %d{240}
  243. *CustCursorOriginY: %d{PhysPaperLength - 240}
  244. *CustPrintableOriginX: %d{240}
  245. *CustPrintableOriginY: %d{240}
  246. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  247. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  248. *switch: Resolution
  249. {
  250. *case: Option1 *% 300dpi
  251. {
  252. *Command: CmdSelect
  253. {
  254. *Order: DOC_SETUP.11
  255. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 4)}";" %d{(PhysPaperLength / 4)}"psE<1D>1poE"
  256. }
  257. }
  258. *case: Option2 *% 600dpi
  259. {
  260. *Command: CmdSelect
  261. {
  262. *Order: DOC_SETUP.11
  263. *Cmd: "<1D>-1;" %d{(PhysPaperWidth / 2)}";" %d{(PhysPaperLength / 2)}"psE<1D>1poE"
  264. }
  265. }
  266. }
  267. }
  268. }
  269. }
  270. }
  271. *Feature: Halftone
  272. {
  273. *rcNameID: =HALFTONING_DISPLAY
  274. *DefaultOption: HT_PATSIZE_AUTO
  275. *Option: HT_PATSIZE_AUTO
  276. {
  277. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  278. }
  279. *Option: HT_PATSIZE_SUPERCELL_M
  280. {
  281. *rcNameID: =HT_SUPERCELL_DISPLAY
  282. }
  283. *Option: HT_PATSIZE_6x6_M
  284. {
  285. *rcNameID: =HT_DITHER6X6_DISPLAY
  286. }
  287. *Option: HT_PATSIZE_8x8_M
  288. {
  289. *rcNameID: =HT_DITHER8X8_DISPLAY
  290. }
  291. }
  292. *Feature: Memory
  293. {
  294. *rcNameID: =PRINTER_MEMORY_DISPLAY
  295. *DefaultOption: 4096KB
  296. *Option: 4096KB
  297. {
  298. *Name: "4MB"
  299. *MemoryConfigKB: PAIR(4096, 4096)
  300. }
  301. *Option: 12288KB
  302. {
  303. *Name: "12MB"
  304. *MemoryConfigKB: PAIR(12288, 12288)
  305. }
  306. }
  307. *Feature: Smoothing
  308. {
  309. *rcNameID: 310
  310. *DefaultOption: Option1
  311. *Option: Option1
  312. {
  313. *rcNameID: 290
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.5
  317. *CallbackID: 120
  318. }
  319. }
  320. *Option: Option2
  321. {
  322. *rcNameID: 291
  323. *Command: CmdSelect
  324. {
  325. *Order: DOC_SETUP.5
  326. *CallbackID: 121
  327. }
  328. }
  329. }
  330. *Feature: JamRecovery
  331. {
  332. *rcNameID: 320
  333. *DefaultOption: Option1
  334. *Option: Option1
  335. {
  336. *rcNameID: 290
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.6
  340. *CallbackID: 130
  341. }
  342. }
  343. *Option: Option2
  344. {
  345. *rcNameID: 291
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.6
  349. *CallbackID: 131
  350. }
  351. }
  352. }
  353. *Feature: TonerSave
  354. {
  355. *rcNameID: 330
  356. *DefaultOption: Option1
  357. *Option: Option1
  358. {
  359. *rcNameID: 331
  360. *Command: CmdSelect
  361. {
  362. *Order: DOC_SETUP.7
  363. *CallbackID: 110
  364. }
  365. }
  366. *Option: Option2
  367. {
  368. *rcNameID: 332
  369. *Command: CmdSelect
  370. {
  371. *Order: DOC_SETUP.7
  372. *CallbackID: 111
  373. }
  374. }
  375. *Option: Option3
  376. {
  377. *rcNameID: 333
  378. *Command: CmdSelect
  379. {
  380. *Order: DOC_SETUP.7
  381. *CallbackID: 112
  382. }
  383. }
  384. *Option: Option4
  385. {
  386. *rcNameID: 334
  387. *Command: CmdSelect
  388. {
  389. *Order: DOC_SETUP.7
  390. *CallbackID: 113
  391. }
  392. }
  393. }
  394. *Command: CmdStartDoc
  395. {
  396. *Order: DOC_SETUP.9
  397. *CallbackID: 82
  398. }
  399. *Command: CmdStartPage
  400. {
  401. *Order: PAGE_SETUP.1
  402. *Cmd: "<1D>1alfP<1D>1affP<1D>0;0;0clfP<1D>0X<1D>0Y"
  403. }
  404. *Command: CmdEndJob
  405. {
  406. *Order: JOB_FINISH.1
  407. *CallbackID: 83
  408. }
  409. *Command: CmdCopies
  410. {
  411. *Order: DOC_SETUP.10
  412. *Cmd: "<1D>" %d[1,255]{NumOfCopies }"coO"
  413. }
  414. *RotateCoordinate?: TRUE
  415. *RotateRaster?: TRUE
  416. *RotateFont?: TRUE
  417. *TextCaps: LIST(TC_CR_90,TC_SF_X_YINDEP,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE)
  418. *MemoryUsage: LIST(FONT)
  419. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  420. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  421. *YMoveAttributes: LIST(SEND_CR_FIRST)
  422. *XMoveThreshold: 0
  423. *YMoveThreshold: 0
  424. *switch: Resolution
  425. {
  426. *case: Option1 *% 300dpi
  427. {
  428. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 4) }"X" }
  429. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 4) }"H"}
  430. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 4) }"H" }
  431. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 4) }"Y" }
  432. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 4) }"V" }
  433. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 4) }"V" }
  434. }
  435. *case: Option2 *% 600dpi
  436. {
  437. *Command: CmdXMoveAbsolute { *Cmd : "<1D>" %d{(DestX / 2) }"X" }
  438. *Command: CmdXMoveRelRight { *Cmd : "<1D>" %d{(DestXRel / 2) }"H"}
  439. *Command: CmdXMoveRelLeft { *Cmd : "<1D>-" %d{(DestXRel / 2) }"H" }
  440. *Command: CmdYMoveAbsolute { *Cmd : "<1D>" %d{(DestY / 2) }"Y" }
  441. *Command: CmdYMoveRelDown { *Cmd : "<1D>" %d{(DestYRel / 2) }"V" }
  442. *Command: CmdYMoveRelUp { *Cmd : "<1D>-" %d{(DestYRel / 2) }"V" }
  443. }
  444. }
  445. *Command: CmdCR { *Cmd : "<0D>" }
  446. *Command: CmdLF { *Cmd : "<0A>" }
  447. *Command: CmdFF { *Cmd : "<0C>" }
  448. *Command: CmdBackSpace { *Cmd : "<08>" }
  449. *Command: CmdPushCursor { *Cmd : "<1D>1ppP" }
  450. *Command: CmdPopCursor { *Cmd : "<1D>2ppP" }
  451. *EjectPageWithFF?: TRUE
  452. *Command: CmdEnableFE_RLE { *Cmd : "<1D>1bcI" }
  453. *Command: CmdDisableCompression { *Cmd : "<1D>0bcI" }
  454. *OutputDataFormat: H_BYTE
  455. *OptimizeLeftBound?: TRUE
  456. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  457. *CursorYAfterSendBlockData: NO_MOVE
  458. *DefaultFont: 3
  459. *DefaultCTT: 0
  460. *CharPosition: BASELINE
  461. *DeviceFonts: LIST(1,2,3,4,5,6)
  462. *MinFontID: 512
  463. *MaxFontID: 535
  464. *MaxNumDownFonts: 24
  465. *MinGlyphID: 32
  466. *MaxGlyphID: 255
  467. *Command: CmdSetFontID
  468. {
  469. *CallbackID: 23
  470. *Params: LIST( NextFontID )
  471. }
  472. *Command: CmdSelectFontID
  473. {
  474. *CallbackID: 24
  475. *Params: LIST( CurrentFontID )
  476. }
  477. *Command: CmdSetCharCode
  478. {
  479. *CallbackID: 25
  480. *Params: LIST( NextGlyph )
  481. }
  482. *Command: CmdDeleteFont
  483. {
  484. *CallbackID: 26
  485. *Params: LIST( CurrentFontID )
  486. }
  487. *FontFormat: OEM_CALLBACK
  488. *Command: CmdBoldOn {
  489. *CallbackID: 27
  490. *Params: LIST(FontBold)
  491. }
  492. *Command: CmdBoldOff {
  493. *CallbackID: 28
  494. *Params: LIST(FontBold)
  495. }
  496. *Command: CmdItalicOn {
  497. *CallbackID: 29
  498. *Params: LIST(FontItalic)
  499. }
  500. *Command: CmdItalicOff {
  501. *CallbackID: 30
  502. *Params: LIST(FontItalic)
  503. }
  504. *Command: CmdUnderlineOn { *Cmd : "<1D>0;2rpI<1D>1ulC" }
  505. *Command: CmdUnderlineOff { *Cmd : "<1D>0ulC" }
  506. *Command: CmdWhiteTextOn { *Cmd : "<1D>1;0;0spE<1D>1owE<1D>1tsE" }
  507. *Command: CmdWhiteTextOff { *Cmd : "<1D>1;0;100spE<1D>0owE<1D>0tsE" }
  508. *Command: CmdSelectSingleByteMode { *CallbackID: 21 }
  509. *Command: CmdSelectDoubleByteMode { *CallbackID: 22 }
  510. *Command: CmdVerticalPrintingOn { *Cmd : "<1D>1vpC" }
  511. *Command: CmdVerticalPrintingOff { *Cmd : "<1D>0vpC" }
  512. *InvalidCombination: LIST(Resolution.Option2, Memory.4096KB, PaperSize.A4)
  513. *TTFSEnabled?: TRUE
  514. *TTFS: MINCHOUH
  515. {
  516. *rcTTFontNameID: 141
  517. *rcDevFontNameID:142
  518. }
  519. *TTFS: MINCHOUV
  520. {
  521. *rcTTFontNameID: 143
  522. *rcDevFontNameID:144
  523. }
  524. *TTFS: KGOTHIC
  525. {
  526. *rcTTFontNameID: 145
  527. *rcDevFontNameID:146
  528. }
  529. *TTFS: KGOTHICV
  530. {
  531. *rcTTFontNameID: 147
  532. *rcDevFontNameID:148
  533. }
  534. *TTFS: MINCHOUH_E
  535. {
  536. *rcTTFontNameID: 160
  537. *rcDevFontNameID:142
  538. }
  539. *TTFS: MINCHOUV_E
  540. {
  541. *rcTTFontNameID: 161
  542. *rcDevFontNameID:144
  543. }
  544. *TTFS: KGOTHIC_E
  545. {
  546. *rcTTFontNameID: 162
  547. *rcDevFontNameID:146
  548. }
  549. *TTFS: KGOTHICV_E
  550. {
  551. *rcTTFontNameID: 163
  552. *rcDevFontNameID:148
  553. }
  554. *Command: CmdSetRectWidth {
  555. *CallbackID: 150
  556. *Params: LIST(RectXSize)
  557. }
  558. *Command: CmdSetRectHeight {
  559. *CallbackID: 151
  560. *Params: LIST(RectYSize)
  561. }
  562. *MinGrayFill: 0
  563. *MaxGrayFill: 0
  564. *% *Command: CmdRectGrayFill
  565. *% {
  566. *% *CallbackID: 152
  567. *% *Params: LIST(DestX,DestY,GrayPercentage)
  568. *% }
  569. *Command: CmdRectWhiteFill
  570. {
  571. *CallbackID: 153
  572. *Params: LIST(DestX,DestY)
  573. }
  574. *% *Command: CmdRectBlackFill
  575. *% {
  576. *% *CallbackID: 154
  577. *% *Params: LIST(DestX,DestY)
  578. *% }