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.

904 lines
23 KiB

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.00"
  3. *GPDFileName: "CSCP32WJ.GPD"
  4. *Include: "STDNAMES.GPD"
  5. *CodePage: 1252
  6. *ModelName: "CASIO CP-3250GT"
  7. *MasterUnits: PAIR(1200, 1200)
  8. *ResourceDLL: "CSWINRES.DLL"
  9. *PrinterType: PAGE
  10. *MaxCopies: 255
  11. *PrintRate: 8
  12. *PrintRateUnit: PPM
  13. *Macros: CSWINCBID
  14. {
  15. RES_SENDBLOCK : 12
  16. RES_SELECTRES_240 : 14
  17. RES_SELECTRES_400 : 15
  18. CM_XM_ABS : 20
  19. CM_YM_ABS : 22
  20. CM_REL_LEFT : 24
  21. CM_REL_RIGHT : 25
  22. CM_REL_UP : 26
  23. CM_REL_DOWN : 27
  24. CM_FE_RLE : 30
  25. CM_DISABLECOMP : 31
  26. WM_CR : 40
  27. WM_COPY : 45
  28. WM_FF : 47
  29. WM_LF : 48
  30. AUTOFEED : 49
  31. PS_A3 : 60
  32. PS_B4 : 61
  33. PS_A4 : 62
  34. PS_B5 : 63
  35. PS_LETTER : 64
  36. PS_POSTCARD : 65
  37. PS_A5 : 66
  38. PS_FREE : 67
  39. PRN_3250GTWM : 109
  40. SBYTE : 120
  41. DBYTE : 121
  42. CM_BOLD_ON : 122
  43. CM_BOLD_OFF : 123
  44. CM_ITALIC_ON : 124
  45. CM_ITALIC_OFF : 125
  46. CM_WHITE_ON : 126
  47. CM_WHITE_OFF : 127
  48. START_DOC : 130
  49. END_DOC : 131
  50. DRW_WHITE_RECT : 140
  51. DRW_BLACK_RECT : 141
  52. DRW_GRAY_RECT : 142
  53. DRW_RECT_WIDTH : 143
  54. DRW_RECT_HEIGHT : 144
  55. OPT_NOSET : Option1
  56. OPT_A3 : Option2
  57. OPT_B4 : Option3
  58. OPT_A4 : Option4
  59. OPT_B5 : Option5
  60. OPT_LETTER : Option6
  61. OPT_POSTCARD : Option7
  62. OPT_A5 : Option8
  63. OPT_TS_NORMAL : Option1
  64. OPT_TS_LV1 : Option2
  65. OPT_TS_LV2 : Option3
  66. OPT_TS_LV3 : Option4
  67. OPT_TS_NOTSELECT : Option5
  68. OPT_SMOOTH_OFF : Option1
  69. OPT_SMOOTH_ON : Option2
  70. OPT_SMOOTH_NOTSELECT : Option3
  71. }
  72. *Command: CmdCopies
  73. {
  74. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  75. *% ~~ ~~
  76. *% CP(Copy) 01h - FFh(1 - 255)
  77. *% OS(character Offset) 80h: All 0
  78. *% Win mode IN
  79. *% Engine Resolution
  80. *% Clipping Area
  81. *Order: DOC_SETUP.60
  82. *CallbackID: =WM_COPY
  83. *Params: LIST(NumOfCopies)
  84. }
  85. *Feature: Orientation
  86. {
  87. *rcNameID: =ORIENTATION_DISPLAY
  88. *DefaultOption: PORTRAIT
  89. *Option: PORTRAIT
  90. {
  91. *rcNameID: =PORTRAIT_DISPLAY
  92. *Command: CmdSelect
  93. {
  94. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  95. *% ~~
  96. *% PO(Paper Orientation) 01h: Portrait
  97. *Order: DOC_SETUP.50
  98. *Cmd: "<01>"
  99. }
  100. }
  101. *% 2001/03/01 ->
  102. *% *Option: LANDSCAPE_CC270
  103. *Option: LANDSCAPE_CC90
  104. *% 2001/03/01 <-
  105. {
  106. *rcNameID: =LANDSCAPE_DISPLAY
  107. *Command: CmdSelect
  108. {
  109. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  110. *% ~~
  111. *% PO(Paper Orientation) 02h: Landscape
  112. *Order: DOC_SETUP.50
  113. *Cmd: "<02>"
  114. }
  115. }
  116. }
  117. *Feature: InputBin
  118. {
  119. *rcNameID: =PAPER_SOURCE_DISPLAY
  120. *DefaultOption: AUTO
  121. *Option: Option2
  122. {
  123. *rcNameID: 259
  124. *Command: CmdSelect
  125. {
  126. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  127. *% ~~
  128. *% PS(Paper feed Select) 01h: CPF1
  129. *Order: DOC_SETUP.40
  130. *Cmd: "<01>"
  131. }
  132. }
  133. *Option: Option3
  134. {
  135. *rcNameID: 260
  136. *Command: CmdSelect
  137. {
  138. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  139. *% ~~
  140. *% PS(Paper feed Select) 02h: CPF2
  141. *Order: DOC_SETUP.40
  142. *Cmd: "<02>"
  143. }
  144. }
  145. *Option: MANUAL
  146. {
  147. *rcNameID: 265
  148. *Command: CmdSelect
  149. {
  150. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  151. *% ~~
  152. *% PS(Paper feed Select) 11h: MPF
  153. *Order: DOC_SETUP.40
  154. *Cmd: "<11>"
  155. }
  156. }
  157. *Option: AUTO
  158. {
  159. *rcNameID: 263
  160. *Command: CmdSelect
  161. {
  162. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  163. *% ~~
  164. *Order: DOC_SETUP.40
  165. *CallbackID: =AUTOFEED
  166. }
  167. }
  168. }
  169. *Feature: Resolution
  170. {
  171. *rcNameID: =RESOLUTION_DISPLAY
  172. *DefaultOption: Option2
  173. *Option: Option1
  174. {
  175. *Name: "240 x 240 dots per inch"
  176. *DPI: PAIR(240, 240)
  177. *TextDPI: PAIR(240, 240)
  178. EXTERN_GLOBAL: *XMoveUnit: 240
  179. EXTERN_GLOBAL: *YMoveUnit: 240
  180. *MinStripBlankPixels: 128
  181. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  182. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  183. *SpotDiameter: 100
  184. *Command: CmdSelect
  185. {
  186. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  187. *% ~~ ~~ ~~
  188. *Order: DOC_SETUP.20
  189. *CallbackID: =RES_SELECTRES_240
  190. }
  191. }
  192. *Option: Option2
  193. {
  194. *Name: "400 x 400 dots per inch"
  195. *DPI: PAIR(400, 400)
  196. *TextDPI: PAIR(400, 400)
  197. EXTERN_GLOBAL: *XMoveUnit: 400
  198. EXTERN_GLOBAL: *YMoveUnit: 400
  199. *MinStripBlankPixels: 64
  200. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  201. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  202. *SpotDiameter: 100
  203. *Command: CmdSelect
  204. {
  205. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  206. *% ~~ ~~ ~~
  207. *Order: DOC_SETUP.20
  208. *CallbackID: =RES_SELECTRES_400
  209. }
  210. }
  211. }
  212. *Feature: PaperSize
  213. {
  214. *rcNameID: =PAPER_SIZE_DISPLAY
  215. *DefaultOption: A4
  216. *Option: A3
  217. {
  218. *rcNameID: =A3_DISPLAY
  219. *PrintableArea: PAIR(13550, 19360)
  220. *PrintableOrigin: PAIR(240, 240)
  221. *% 2001/03/01 ->
  222. *CursorOrigin: PAIR(240, 240)
  223. *% 2001/03/01 <-
  224. *switch: Resolution
  225. {
  226. *% 2001/03/01 ->
  227. *case: Option1
  228. {
  229. *switch: Orientation
  230. {
  231. *case: LANDSCAPE_CC90
  232. {
  233. *CursorOrigin: PAIR(240, 19600)
  234. }
  235. }
  236. }
  237. *% 2001/03/01 <-
  238. *case: Option2
  239. {
  240. *% Warning: the following printable width is adjusted (13550->13548) so it is divisible by the resolution X scale.
  241. *% Warning: the following printable length is adjusted (19360->19359) so it is divisible by the resolution Y scale.
  242. *PrintableArea: PAIR(13548, 19359)
  243. *% 2001/03/01 ->
  244. *switch: Orientation
  245. {
  246. *case: LANDSCAPE_CC90
  247. {
  248. *CursorOrigin: PAIR(240, 19599)
  249. }
  250. }
  251. *% 2001/03/01 <-
  252. }
  253. }
  254. *Command: CmdSelect
  255. {
  256. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  257. *% ~~ ~~
  258. *% MF(MPF Free size) Not Support Free
  259. *% MS(MPF paper Size) 1Fh: A3 |
  260. *Order: DOC_SETUP.30
  261. *CallbackID: =PS_A3
  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. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  305. *% ~~ ~~
  306. *% MF(MPF Free size) Not Support Free
  307. *% MS(MPF paper Size) 25h: B4 |
  308. *Order: DOC_SETUP.30
  309. *CallbackID: =PS_B4
  310. }
  311. }
  312. *Option: A4
  313. {
  314. *rcNameID: =A4_DISPLAY
  315. *PrintableArea: PAIR(9440, 13550)
  316. *PrintableOrigin: PAIR(240, 240)
  317. *% 2001/03/01 ->
  318. *CursorOrigin: PAIR(240, 240)
  319. *% 2001/03/01 <-
  320. *switch: Resolution
  321. {
  322. *% 2001/03/01 ->
  323. *case: Option1
  324. {
  325. *switch: Orientation
  326. {
  327. *case: LANDSCAPE_CC90
  328. {
  329. *CursorOrigin: PAIR(240, 13790)
  330. }
  331. }
  332. }
  333. *% 2001/03/01 <-
  334. *case: Option2
  335. {
  336. *% Warning: the following printable width is adjusted (9440->9438) so it is divisible by the resolution X scale.
  337. *% Warning: the following printable length is adjusted (13550->13548) so it is divisible by the resolution Y scale.
  338. *PrintableArea: PAIR(9438, 13548)
  339. *% 2001/03/01 ->
  340. *switch: Orientation
  341. {
  342. *case: LANDSCAPE_CC90
  343. {
  344. *CursorOrigin: PAIR(240, 13788)
  345. }
  346. }
  347. *% 2001/03/01 <-
  348. }
  349. }
  350. *Command: CmdSelect
  351. {
  352. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  353. *% ~~ ~~
  354. *% MF(MPF Free size) Not Support Free
  355. *% MS(MPF paper Size) 2Ah: A4 -
  356. *Order: DOC_SETUP.30
  357. *CallbackID: =PS_A4
  358. }
  359. }
  360. *Option: B5
  361. {
  362. *rcNameID: =B5_DISPLAY
  363. *PrintableArea: PAIR(8115, 11660)
  364. *PrintableOrigin: PAIR(240, 240)
  365. *% 2001/03/01 ->
  366. *CursorOrigin: PAIR(240, 240)
  367. *% 2001/03/01 <-
  368. *switch: Resolution
  369. {
  370. *% 2001/03/01 ->
  371. *case: Option1
  372. {
  373. *switch: Orientation
  374. {
  375. *case: LANDSCAPE_CC90
  376. {
  377. *CursorOrigin: PAIR(240, 11900)
  378. }
  379. }
  380. }
  381. *% 2001/03/01 <-
  382. *case: Option2
  383. {
  384. *% Warning: the following printable length is adjusted (11660->11658) so it is divisible by the resolution Y scale.
  385. *PrintableArea: PAIR(8115, 11658)
  386. *% 2001/03/01 ->
  387. *switch: Orientation
  388. {
  389. *case: LANDSCAPE_CC90
  390. {
  391. *CursorOrigin: PAIR(240, 11898)
  392. }
  393. }
  394. *% 2001/03/01 <-
  395. }
  396. }
  397. *Command: CmdSelect
  398. {
  399. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  400. *% ~~ ~~
  401. *% MF(MPF Free size) Not Support Free
  402. *% MS(MPF paper Size) 2Ch: B5 -
  403. *Order: DOC_SETUP.30
  404. *CallbackID: =PS_B5
  405. }
  406. }
  407. *Option: A5
  408. {
  409. *rcNameID: =A5_DISPLAY
  410. *% 2001/03/01 ->
  411. *% *PrintableArea: PAIR(6555, 9440)
  412. *% *PrintableOrigin: PAIR(240, 240)
  413. *PrintableArea: PAIR(6510, 9440)
  414. *PrintableOrigin: PAIR(240, 240)
  415. *CursorOrigin: PAIR(240, 240)
  416. *% 2001/03/01 <-
  417. *switch: Resolution
  418. {
  419. *% 2001/03/01 ->
  420. *case: Option1
  421. {
  422. *switch: Orientation
  423. {
  424. *case: LANDSCAPE_CC90
  425. {
  426. *CursorOrigin: PAIR(240, 9680)
  427. }
  428. }
  429. }
  430. *% 2001/03/01 <-
  431. *case: Option2
  432. {
  433. *% Warning: the following printable length is adjusted (9440->9438) so it is divisible by the resolution Y scale.
  434. *% 2001/03/01 ->
  435. *% *PrintableArea: PAIR(6555, 9438)
  436. *PrintableArea: PAIR(6510, 9438)
  437. *switch: Orientation
  438. {
  439. *case: LANDSCAPE_CC90
  440. {
  441. *CursorOrigin: PAIR(240, 9678)
  442. }
  443. }
  444. *% 2001/03/01 <-
  445. }
  446. }
  447. *Command: CmdSelect
  448. {
  449. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  450. *% ~~ ~~
  451. *% MF(MPF Free size) Not Support Free
  452. *% MS(MPF paper Size) 2Eh: A5 -
  453. *Order: DOC_SETUP.30
  454. *CallbackID: =PS_A5
  455. }
  456. }
  457. *Option: LETTER
  458. {
  459. *rcNameID: =LETTER_DISPLAY
  460. *PrintableArea: PAIR(9720, 12720)
  461. *PrintableOrigin: PAIR(240, 240)
  462. *% 2001/03/01 ->
  463. *switch: Orientation
  464. {
  465. *case: PORTRAIT
  466. {
  467. *CursorOrigin: PAIR(240, 240)
  468. }
  469. *case: LANDSCAPE_CC90
  470. {
  471. *CursorOrigin: PAIR(240, 12960)
  472. }
  473. }
  474. *% 2001/03/01 <-
  475. *Command: CmdSelect
  476. {
  477. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  478. *% ~~ ~~
  479. *% MF(MPF Free size) Not Support Free
  480. *% MS(MPF paper Size) 28h: Letter -
  481. *Order: DOC_SETUP.30
  482. *CallbackID: =PS_LETTER
  483. }
  484. }
  485. *Option: JAPANESE_POSTCARD
  486. {
  487. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  488. *PrintableArea: PAIR(4240, 6510)
  489. *PrintableOrigin: PAIR(240, 240)
  490. *% 2001/03/01 ->
  491. *switch: Orientation
  492. {
  493. *case: PORTRAIT
  494. {
  495. *CursorOrigin: PAIR(240, 240)
  496. }
  497. *case: LANDSCAPE_CC90
  498. {
  499. *CursorOrigin: PAIR(240, 6750)
  500. }
  501. }
  502. *% 2001/03/01 <-
  503. *switch: Resolution
  504. {
  505. *case: Option2
  506. {
  507. *% Warning: the following printable width is adjusted (4240->4239) so it is divisible by the resolution X scale.
  508. *PrintableArea: PAIR(4239, 6510)
  509. }
  510. }
  511. *Command: CmdSelect
  512. {
  513. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  514. *% ~~ ~~
  515. *% MF(MPF Free size) Not Support Free
  516. *% MS(MPF paper Size) 31h: PostCard |
  517. *Order: DOC_SETUP.30
  518. *CallbackID: =PS_POSTCARD
  519. }
  520. }
  521. *Option: CUSTOMSIZE
  522. {
  523. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  524. *switch: Resolution
  525. {
  526. *case: Option1
  527. {
  528. *MinSize: PAIR(4250, 4250)
  529. *MaxSize: PAIR(14035, 20365)
  530. *MaxPrintableWidth: 13555
  531. }
  532. *case: Option2
  533. {
  534. *MinSize: PAIR(4251, 4251)
  535. *MaxSize: PAIR(14034, 20364)
  536. *MaxPrintableWidth: 13554
  537. }
  538. }
  539. *MinLeftMargin: 240
  540. *CenterPrintable?: FALSE
  541. *CustCursorOriginX: %d{240}
  542. *% 2001/03/01 ->
  543. *% *CustCursorOriginY: %d{240}
  544. *switch: Orientation
  545. {
  546. *case: PORTRAIT
  547. {
  548. *CustCursorOriginY: %d{240}
  549. }
  550. *case: LANDSCAPE_CC90
  551. {
  552. *CustCursorOriginY: %d{PhysPaperLength - 240}
  553. }
  554. }
  555. *% 2001/03/01 <-
  556. *CustPrintableOriginX: %d{240}
  557. *CustPrintableOriginY: %d{240}
  558. *CustPrintableSizeX: %d{PhysPaperWidth - 480}
  559. *CustPrintableSizeY: %d{PhysPaperLength - 480}
  560. *Command: CmdSelect
  561. {
  562. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  563. *% ~~ ~~
  564. *% MF(MPF Free size) XSize,YSize mm (X[hi],X[lo],Y[hi],Y[lo])
  565. *% MS(MPF paper Size) FFh: FreePaper |
  566. *Order: DOC_SETUP.30
  567. *CallbackID: =PS_FREE
  568. *Params: LIST(PhysPaperWidth, PhysPaperLength)
  569. }
  570. }
  571. }
  572. *Feature: Halftone
  573. {
  574. *rcNameID: =HALFTONING_DISPLAY
  575. *DefaultOption: HT_PATSIZE_AUTO
  576. *Option: HT_PATSIZE_AUTO
  577. {
  578. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  579. }
  580. *Option: HT_PATSIZE_SUPERCELL_M
  581. {
  582. *rcNameID: =HT_SUPERCELL_DISPLAY
  583. }
  584. *Option: HT_PATSIZE_6x6_M
  585. {
  586. *rcNameID: =HT_DITHER6X6_DISPLAY
  587. }
  588. *Option: HT_PATSIZE_8x8_M
  589. {
  590. *rcNameID: =HT_DITHER8X8_DISPLAY
  591. }
  592. }
  593. *Feature: Memory
  594. {
  595. *rcNameID: =PRINTER_MEMORY_DISPLAY
  596. *DefaultOption: 4096KB
  597. *Option: 4096KB
  598. {
  599. *Name: "4MB"
  600. *MemoryConfigKB: PAIR(4096, 2560)
  601. }
  602. }
  603. *Feature: MPFSetting
  604. {
  605. *FeatureType: DOC_PROPERTY
  606. *rcNameID: 5500
  607. *DefaultOption: =OPT_NOSET
  608. *Option: =OPT_NOSET
  609. {
  610. *rcNameID: 5010
  611. }
  612. *Option: =OPT_A3
  613. {
  614. *rcNameID: =A3_DISPLAY
  615. *Constraints: InputBin.MANUAL
  616. *Constraints: InputBin.Option2
  617. *Constraints: InputBin.Option3
  618. }
  619. *Option: =OPT_B4
  620. {
  621. *rcNameID: =B4_DISPLAY
  622. *Constraints: InputBin.MANUAL
  623. *Constraints: InputBin.Option2
  624. *Constraints: InputBin.Option3
  625. }
  626. *Option: =OPT_A4
  627. {
  628. *rcNameID: =A4_DISPLAY
  629. *Constraints: InputBin.MANUAL
  630. *Constraints: InputBin.Option2
  631. *Constraints: InputBin.Option3
  632. }
  633. *Option: =OPT_B5
  634. {
  635. *rcNameID: =B5_DISPLAY
  636. *Constraints: InputBin.MANUAL
  637. *Constraints: InputBin.Option2
  638. *Constraints: InputBin.Option3
  639. }
  640. *Option: =OPT_A5
  641. {
  642. *rcNameID: =A5_DISPLAY
  643. *Constraints: InputBin.MANUAL
  644. *Constraints: InputBin.Option2
  645. *Constraints: InputBin.Option3
  646. }
  647. *Option: =OPT_LETTER
  648. {
  649. *rcNameID: =LETTER_DISPLAY
  650. *Constraints: InputBin.MANUAL
  651. *Constraints: InputBin.Option2
  652. *Constraints: InputBin.Option3
  653. }
  654. *Option: =OPT_POSTCARD
  655. {
  656. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  657. *Constraints: InputBin.MANUAL
  658. *Constraints: InputBin.Option2
  659. *Constraints: InputBin.Option3
  660. }
  661. }
  662. *% 2001/03/01 ->
  663. *% *RotateCoordinate?: FALSE
  664. *RotateCoordinate?: TRUE
  665. *% 2001/03/01 <-
  666. *RotateRaster?: TRUE
  667. *RotateFont?: FALSE
  668. *TextCaps: LIST(TC_CR_90,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
  669. *MemoryUsage: LIST(FONT)
  670. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  671. *XMoveThreshold: 0
  672. *YMoveThreshold: 0
  673. *EjectPageWithFF?: TRUE
  674. *OutputDataFormat: H_BYTE
  675. *OptimizeLeftBound?: TRUE
  676. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  677. *CursorYAfterSendBlockData: NO_MOVE
  678. *DefaultFont: 1
  679. *DefaultCTT: 0
  680. *CharPosition: UPPERLEFT
  681. *switch: Resolution
  682. {
  683. *case: Option1
  684. {
  685. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,13)
  686. }
  687. *case: Option2
  688. {
  689. *DeviceFonts: LIST(1,2,3,4,9,10,11,12)
  690. }
  691. }
  692. *Command: CmdStartJob
  693. {
  694. *Order: JOB_SETUP.1
  695. *CallbackID: =PRN_3250GTWM
  696. }
  697. *Command: CmdStartDoc
  698. {
  699. *% ESC i | RT PF AJ PM MF MS PS PO CP OS
  700. *% ~~~ ~ ~ ~~
  701. *% RT(ResetLevel) 04h: SoftwareReset
  702. *Order: DOC_SETUP.10
  703. *CallbackID: =START_DOC
  704. }
  705. *Command: CmdStartPage
  706. {
  707. *Order:PAGE_SETUP.10
  708. *Cmd: ""
  709. }
  710. *Command: CmdEndPage
  711. {
  712. *Order: PAGE_FINISH.10
  713. *Cmd: ""
  714. }
  715. *Command: CmdEndDoc
  716. {
  717. *Order: DOC_FINISH.10
  718. *CallbackID: =END_DOC
  719. }
  720. *Command: CmdEndJob
  721. {
  722. *Order: JOB_FINISH.10
  723. *Cmd: "<1B>i{<03>"
  724. }
  725. *Command: CmdXMoveAbsolute
  726. {
  727. *CallbackID: =CM_XM_ABS
  728. *Params: LIST(DestX, DestY)
  729. }
  730. *Command: CmdXMoveRelLeft
  731. {
  732. *CallbackID: =CM_REL_LEFT
  733. *Params: LIST(DestXRel)
  734. }
  735. *Command: CmdXMoveRelRight
  736. {
  737. *CallbackID: =CM_REL_RIGHT
  738. *Params: LIST(DestXRel)
  739. }
  740. *Command: CmdYMoveAbsolute
  741. {
  742. *CallbackID: =CM_YM_ABS
  743. *Params: LIST(DestX, DestY)
  744. }
  745. *Command: CmdYMoveRelUp
  746. {
  747. *CallbackID: =CM_REL_UP
  748. *Params: LIST(DestYRel)
  749. }
  750. *Command: CmdYMoveRelDown
  751. {
  752. *CallbackID: =CM_REL_DOWN
  753. *Params: LIST(DestYRel)
  754. }
  755. *Command: CmdCR
  756. {
  757. *CallbackID: =WM_CR
  758. }
  759. *Command: CmdLF
  760. {
  761. *CallbackID: =WM_LF
  762. }
  763. *Command: CmdFF
  764. {
  765. *CallbackID: =WM_FF
  766. }
  767. *Command: CmdSendBlockData
  768. {
  769. *CallbackID: =RES_SENDBLOCK
  770. *Params: LIST(NumOfDataBytes,RasterDataWidthInBytes,RasterDataHeightInPixels)
  771. }
  772. *Command: CmdEnableFE_RLE {*CallbackID: =CM_FE_RLE}
  773. *Command: CmdDisableCompression {*CallbackID: =CM_DISABLECOMP}
  774. *Command: CmdSelectSingleByteMode { *CallbackID: =SBYTE }
  775. *Command: CmdSelectDoubleByteMode { *CallbackID: =DBYTE }
  776. *Command: CmdBoldOn { *CallbackID: =CM_BOLD_ON }
  777. *Command: CmdBoldOff { *CallbackID: =CM_BOLD_OFF }
  778. *Command: CmdItalicOn { *CallbackID: =CM_ITALIC_ON }
  779. *Command: CmdItalicOff { *CallbackID: =CM_ITALIC_OFF }
  780. *Command: CmdWhiteTextOn { *CallbackID: =CM_WHITE_ON }
  781. *Command: CmdWhiteTextOff { *CallbackID: =CM_WHITE_OFF }
  782. *% *Command: CmdSetClipRect
  783. *% {
  784. *% *% For Test
  785. *% *CallbackID: 999
  786. *% }
  787. *TTFSEnabled?: TRUE
  788. *TTFS: MINCHOUH
  789. {
  790. *rcTTFontNameID: 300
  791. *rcDevFontNameID:301
  792. }
  793. *TTFS: MINCHOUV
  794. {
  795. *rcTTFontNameID: 302
  796. *rcDevFontNameID:303
  797. }
  798. *TTFS: KGOTHIC
  799. {
  800. *rcTTFontNameID: 304
  801. *rcDevFontNameID:305
  802. }
  803. *TTFS: KGOTHICV
  804. {
  805. *rcTTFontNameID: 306
  806. *rcDevFontNameID:307
  807. }
  808. *TTFS: MINCHOUH_E
  809. {
  810. *rcTTFontNameID: 320
  811. *rcDevFontNameID:301
  812. }
  813. *TTFS: MINCHOUV_E
  814. {
  815. *rcTTFontNameID: 321
  816. *rcDevFontNameID:303
  817. }
  818. *TTFS: KGOTHIC_E
  819. {
  820. *rcTTFontNameID: 322
  821. *rcDevFontNameID:305
  822. }
  823. *TTFS: KGOTHICV_E
  824. {
  825. *rcTTFontNameID: 323
  826. *rcDevFontNameID:307
  827. }
  828. *Command: CmdSetRectWidth
  829. {
  830. *CallbackID: =DRW_RECT_WIDTH
  831. *Params: LIST(RectXSize)
  832. }
  833. *Command: CmdSetRectHeight
  834. {
  835. *CallbackID: =DRW_RECT_HEIGHT
  836. *Params: LIST(RectYSize)
  837. }
  838. *Command: CmdRectWhiteFill
  839. {
  840. *CallbackID: =DRW_WHITE_RECT
  841. *Params: LIST(DestX, DestY)
  842. }
  843. *% *Command: CmdRectBlackFill
  844. *% {
  845. *% *CallbackID: =DRW_BLACK_RECT
  846. *% *Params: LIST(DestX, DestY)
  847. *% }
  848. *MinGrayFill: 0
  849. *MaxGrayFill: 0
  850. *% *Command: CmdRectGrayFill
  851. *% {
  852. *% *CallbackID: =DRW_GRAY_RECT
  853. *% *Params: LIST(DestX, DestY, GrayPercentage)
  854. *% }