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.

974 lines
24 KiB

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