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.

924 lines
23 KiB

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