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.

751 lines
20 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC NM-9900"
  4. *MasterUnits: PAIR(360, 360)
  5. *ResourceDLL: "ncnmjres.dll"
  6. *PrinterType: SERIAL
  7. *rcInstalledOptionNameID: 350
  8. *rcNotInstalledOptionNameID: 351
  9. *PrintRateUnit: CPS
  10. *PrintRate: 90
  11. *GPDFileName: "NCNM990J.GPD"
  12. *Include: "STDNAMES.GPD"
  13. *GPDFileVersion: "1.000"
  14. *HelpFile: "NCNMJRES.HLP"
  15. *%======== Macros ========
  16. *Macros: PopupHelpIDs
  17. {
  18. POP_NM_FEEDPOS_A3 : 701
  19. POP_NM_FEEDPOS_B4 : 702
  20. POP_NM_FEEDPOS_A4 : 703
  21. POP_NM_QUARITY : 704
  22. }
  23. *%======== Orientation ========
  24. *Feature: Orientation
  25. {
  26. *rcNameID: =ORIENTATION_DISPLAY
  27. *DefaultOption: PORTRAIT
  28. *Option: PORTRAIT
  29. {
  30. *rcNameID: =PORTRAIT_DISPLAY
  31. }
  32. *Option: LANDSCAPE_CC270
  33. {
  34. *rcNameID: =LANDSCAPE_DISPLAY
  35. }
  36. }
  37. *%======== InputBin ========
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: SheetGuide
  42. *Option: SheetGuide
  43. {
  44. *rcNameID: 305
  45. *Constraints: PaperSize.10X11
  46. *Constraints: PaperSize.15X11
  47. }
  48. *Option: SingleSheetFeeder
  49. {
  50. *rcNameID: 306
  51. *Installable?: TRUE
  52. *rcInstallableFeatureNameID: 306
  53. *Constraints: PaperSize.A5
  54. *Constraints: PaperSize.A5_ROTATED
  55. *Constraints: PaperSize.B4
  56. *Constraints: PaperSize.B5_JIS_ROTATED
  57. *Constraints: PaperSize.10X11
  58. *Constraints: PaperSize.15X11
  59. *Command: CmdSelect
  60. {
  61. *Order: DOC_SETUP.5
  62. *Cmd: "<1B>m1"
  63. }
  64. }
  65. *Option: DBSheetFeeder1
  66. {
  67. *rcNameID: 308
  68. *Installable?: TRUE
  69. *rcInstallableFeatureNameID: 308
  70. *Constraints: PaperSize.A5
  71. *Constraints: PaperSize.A5_ROTATED
  72. *Constraints: PaperSize.B4
  73. *Constraints: PaperSize.B5_JIS_ROTATED
  74. *Constraints: PaperSize.10X11
  75. *Constraints: PaperSize.15X11
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.5
  79. *Cmd: "<1B>m1"
  80. }
  81. }
  82. *Option: DBSheetFeeder2
  83. {
  84. *rcNameID: 309
  85. *Installable?: TRUE
  86. *rcInstallableFeatureNameID: 309
  87. *Constraints: PaperSize.A4_ROTATED
  88. *Constraints: PaperSize.A5
  89. *Constraints: PaperSize.A5_ROTATED
  90. *Constraints: PaperSize.B4
  91. *Constraints: PaperSize.B5_JIS_ROTATED
  92. *Constraints: PaperSize.10X11
  93. *Constraints: PaperSize.15X11
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.5
  97. *Cmd: "<1B>m2"
  98. }
  99. }
  100. *Option: TracterFeeder
  101. {
  102. *rcNameID: 310
  103. *Installable?: TRUE
  104. *rcInstallableFeatureNameID: 310
  105. *Constraints: PaperSize.A4
  106. *Constraints: PaperSize.A4_ROTATED
  107. *Constraints: PaperSize.A5
  108. *Constraints: PaperSize.A5_ROTATED
  109. *Constraints: PaperSize.B4
  110. *Constraints: PaperSize.B4_JIS_ROTATED
  111. *Constraints: PaperSize.B5
  112. *Constraints: PaperSize.B5_JIS_ROTATED
  113. }
  114. }
  115. *InvalidInstallableCombination: LIST(InputBin.SingleSheetFeeder, InputBin.DBSheetFeeder1)
  116. *InvalidInstallableCombination: LIST(InputBin.SingleSheetFeeder, InputBin.DBSheetFeeder2)
  117. *InvalidInstallableCombination: LIST(InputBin.SingleSheetFeeder, InputBin.TracterFeeder)
  118. *InvalidInstallableCombination: LIST(InputBin.DBSheetFeeder1, InputBin.TracterFeeder)
  119. *InvalidInstallableCombination: LIST(InputBin.DBSheetFeeder2, InputBin.TracterFeeder)
  120. *%======== Resolution ========
  121. *Feature: Resolution
  122. {
  123. *rcNameID: =RESOLUTION_DISPLAY
  124. *DefaultOption: 180dpi
  125. *Option: 180dpi
  126. {
  127. *rcNameID: 320
  128. *DPI: PAIR(180, 180)
  129. *TextDPI: PAIR(180, 180)
  130. *PinsPerLogPass: 24
  131. *PinsPerPhysPass: 24
  132. *MinStripBlankPixels: 270
  133. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  134. *SpotDiameter: 140
  135. *Command: CmdSendBlockData { *Cmd : "<1B>%"<1B>J" %4d{NumOfDataBytes / 3} }
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.4
  139. *Cmd: "<1A>G<0D1B>C0"
  140. }
  141. }
  142. }
  143. *%======== PaperSize ========
  144. *Feature: PaperSize
  145. {
  146. *rcNameID: =PAPER_SIZE_DISPLAY
  147. *DefaultOption: A4
  148. *Option: A4
  149. {
  150. *rcNameID: =A4_DISPLAY
  151. *PrintableArea: PAIR(2832, 3938)
  152. *PrintableOrigin: PAIR(72, 94)
  153. *switch: KyuusiIti
  154. {
  155. *case: Center
  156. {
  157. *Command: CmdSelect
  158. {
  159. *Order: DOC_SETUP.3
  160. *Cmd: "<1B>H<1B>L029" %v{(PhysPaperLength / 60) + 15}
  161. }
  162. }
  163. *case: Left
  164. {
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.3
  168. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  169. }
  170. }
  171. }
  172. }
  173. *Option: A4_ROTATED
  174. {
  175. *rcNameID: =A4_ROTATED_DISPLAY
  176. *PrintableArea: PAIR(4064, 2706)
  177. *PrintableOrigin: PAIR(72, 94)
  178. *switch: KyuusiIti
  179. {
  180. *case: Center
  181. {
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.3
  185. *Cmd: "<1B>H<1B>L012" %v{(PhysPaperLength / 60) + 15}
  186. }
  187. }
  188. *case: Left
  189. {
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.3
  193. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  194. }
  195. }
  196. }
  197. }
  198. *Option: A5
  199. {
  200. *rcNameID: =A5_DISPLAY
  201. *PrintableArea: PAIR(1954, 2706)
  202. *PrintableOrigin: PAIR(72, 94)
  203. *switch: KyuusiIti
  204. {
  205. *case: Center
  206. {
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.3
  210. *Cmd: "<1B>H<1B>L041" %v{(PhysPaperLength / 60) + 15}
  211. }
  212. }
  213. *case: Left
  214. {
  215. *Command: CmdSelect
  216. {
  217. *Order: DOC_SETUP.3
  218. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  219. }
  220. }
  221. }
  222. }
  223. *Option: A5_ROTATED
  224. {
  225. *rcNameID: =A5_ROTATED_DISPLAY
  226. *PrintableArea: PAIR(2832, 1828)
  227. *PrintableOrigin: PAIR(72, 94)
  228. *switch: KyuusiIti
  229. {
  230. *case: Center
  231. {
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.3
  235. *Cmd: "<1B>H<1B>L029" %v{(PhysPaperLength / 60) + 15}
  236. }
  237. }
  238. *case: Left
  239. {
  240. *Command: CmdSelect
  241. {
  242. *Order: DOC_SETUP.3
  243. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  244. }
  245. }
  246. }
  247. }
  248. *Option: B4
  249. {
  250. *rcNameID: =B4_DISPLAY
  251. *PrintableArea: PAIR(3498, 4888)
  252. *PrintableOrigin: PAIR(72, 94)
  253. *switch: KyuusiIti
  254. {
  255. *case: Center
  256. {
  257. *Command: CmdSelect
  258. {
  259. *Order: DOC_SETUP.3
  260. *Cmd: "<1B>H<1B>L019" %v{(PhysPaperLength / 60) + 15}
  261. }
  262. }
  263. *case: Left
  264. {
  265. *Command: CmdSelect
  266. {
  267. *Order: DOC_SETUP.3
  268. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  269. }
  270. }
  271. }
  272. }
  273. *Option: B4_JIS_ROTATED
  274. {
  275. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  276. *PrintableArea: PAIR(4896, 3372)
  277. *PrintableOrigin: PAIR(132, 94)
  278. *switch: KyuusiIti
  279. {
  280. *case: Center
  281. {
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.3
  285. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  286. }
  287. }
  288. *case: Left
  289. {
  290. *Command: CmdSelect
  291. {
  292. *Order: DOC_SETUP.3
  293. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  294. }
  295. }
  296. }
  297. }
  298. *Option: B5
  299. {
  300. *rcNameID: =B5_DISPLAY
  301. *PrintableArea: PAIR(2436, 3372)
  302. *PrintableOrigin: PAIR(72, 94)
  303. *switch: KyuusiIti
  304. {
  305. *case: Center
  306. {
  307. *Command: CmdSelect
  308. {
  309. *Order: DOC_SETUP.3
  310. *Cmd: "<1B>H<1B>L034" %v{(PhysPaperLength / 60) + 15}
  311. }
  312. }
  313. *case: Left
  314. {
  315. *Command: CmdSelect
  316. {
  317. *Order: DOC_SETUP.3
  318. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  319. }
  320. }
  321. }
  322. }
  323. *Option: B5_JIS_ROTATED
  324. {
  325. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  326. *PrintableArea: PAIR(3498, 2310)
  327. *PrintableOrigin: PAIR(72, 94)
  328. *switch: KyuusiIti
  329. {
  330. *case: Center
  331. {
  332. *Command: CmdSelect
  333. {
  334. *Order: DOC_SETUP.3
  335. *Cmd: "<1B>H<1B>L019" %v{(PhysPaperLength / 60) + 15}
  336. }
  337. }
  338. *case: Left
  339. {
  340. *Command: CmdSelect
  341. {
  342. *Order: DOC_SETUP.3
  343. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  344. }
  345. }
  346. }
  347. }
  348. *Option: 10X11
  349. {
  350. *rcNameID: =10X11_DISPLAY
  351. *PrintableArea: PAIR(3240, 3744)
  352. *PrintableOrigin: PAIR(180, 94)
  353. *switch: KyuusiIti
  354. {
  355. *case: Center
  356. {
  357. *Command: CmdSelect
  358. {
  359. *Order: DOC_SETUP.3
  360. *Cmd: "<1B>H<1B>L028" %v{(PhysPaperLength / 60) }
  361. }
  362. }
  363. *case: Left
  364. {
  365. *Command: CmdSelect
  366. {
  367. *Order: DOC_SETUP.3
  368. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  369. }
  370. }
  371. }
  372. }
  373. *Option: 15X11
  374. {
  375. *rcNameID: =15X11_DISPLAY
  376. *PrintableArea: PAIR(4896, 3744)
  377. *PrintableOrigin: PAIR(252, 94)
  378. *Command: CmdSelect
  379. {
  380. *Order: DOC_SETUP.3
  381. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  382. }
  383. }
  384. *Option: CUSTOMSIZE
  385. {
  386. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  387. *MinSize: PAIR(720, 360) *% 2' x 1'
  388. *MaxSize: PAIR(5580, 7668) *% (15,5', 21.3')
  389. *MaxPrintableWidth: 4896 *% 136 keta
  390. *MinLeftMargin: 0
  391. *CenterPrintable?: FALSE
  392. *switch: InputBin
  393. {
  394. *case: SheetGuide
  395. {
  396. *CustCursorOriginX: %d{0}
  397. *CustCursorOriginY: %d{94}
  398. *CustPrintableOriginX: %d{0}
  399. *CustPrintableOriginY: %d{94}
  400. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  401. *CustPrintableSizeY: %d{PhysPaperLength - (94+176)}
  402. }
  403. *case: SingleSheetFeeder
  404. {
  405. *CustCursorOriginX: %d{0}
  406. *CustCursorOriginY: %d{94}
  407. *CustPrintableOriginX: %d{0}
  408. *CustPrintableOriginY: %d{94}
  409. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  410. *CustPrintableSizeY: %d{PhysPaperLength - (94+176)}
  411. }
  412. *case: TracterFeeder
  413. {
  414. *CustCursorOriginX: %d{0}
  415. *CustCursorOriginY: %d{0}
  416. *CustPrintableOriginX: %d{0}
  417. *CustPrintableOriginY: %d{0}
  418. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  419. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  420. }
  421. *case: DBSheetFeeder1
  422. {
  423. *CustCursorOriginX: %d{0}
  424. *CustCursorOriginY: %d{94}
  425. *CustPrintableOriginX: %d{0}
  426. *CustPrintableOriginY: %d{94}
  427. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  428. *CustPrintableSizeY: %d{PhysPaperLength - (94+176)}
  429. }
  430. *case: DBSheetFeeder2
  431. {
  432. *CustCursorOriginX: %d{0}
  433. *CustCursorOriginY: %d{94}
  434. *CustPrintableOriginX: %d{0}
  435. *CustPrintableOriginY: %d{94}
  436. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  437. *CustPrintableSizeY: %d{PhysPaperLength - (94+176)}
  438. }
  439. }
  440. *Command: CmdSelect
  441. {
  442. *Order: DOC_SETUP.3
  443. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  444. }
  445. }
  446. }
  447. *%======== Paperfeed pos ========
  448. *Feature: KyuusiIti
  449. {
  450. *rcNameID: 330
  451. *DefaultOption: Center
  452. *HelpIndex: 702 *%POP_NM_FEEDPOS_B4
  453. *Option: Center
  454. {
  455. *rcNameID: 331
  456. *Constraints: PaperSize.CUSTOMSIZE
  457. }
  458. *Option: Left
  459. {
  460. *rcNameID: 332
  461. }
  462. }
  463. *%======== PrintQuality ========
  464. *Feature: PrintQuality
  465. {
  466. *rcNameID: =TEXT_QUALITY_DISPLAY
  467. *DefaultOption: StandardR
  468. *HelpIndex: 704 *%POP_NM_QUARITY
  469. *Option: StandardS
  470. {
  471. *rcNameID: 340
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.2
  475. *Cmd: "<1B>d1<1B><3E>"
  476. }
  477. }
  478. *Option: StandardR
  479. {
  480. *rcNameID: 341
  481. *Command: CmdSelect
  482. {
  483. *Order: DOC_SETUP.2
  484. *Cmd: "<1B>d1<1B>]"
  485. }
  486. }
  487. *Option: DraftS
  488. {
  489. *rcNameID: 342
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.2
  493. *Cmd: "<1B>d0<1B><3E>"
  494. }
  495. }
  496. *Option: DraftR
  497. {
  498. *rcNameID: 343
  499. *Command: CmdSelect
  500. {
  501. *Order: DOC_SETUP.2
  502. *Cmd: "<1B>d0<1B>]"
  503. }
  504. }
  505. }
  506. *%======== Color ========
  507. *Feature: ColorMode
  508. {
  509. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  510. *DefaultOption: Color
  511. *Option: Mono
  512. {
  513. *rcNameID: =MONO_DISPLAY
  514. *DevNumOfPlanes: 1
  515. *DevBPP: 1
  516. *Color? : FALSE
  517. }
  518. *Option: Color
  519. {
  520. *rcNameID: =COLOR_DISPLAY
  521. *DevNumOfPlanes: 4
  522. *DevBPP: 1
  523. *DrvBPP: 4
  524. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  525. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  526. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  527. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  528. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  529. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  530. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  531. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  532. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  533. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  534. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  535. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  536. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  537. }
  538. }
  539. *%======== Halftone ========
  540. *Feature: Halftone
  541. {
  542. *rcNameID: =HALFTONING_DISPLAY
  543. *DefaultOption: HT_PATSIZE_AUTO
  544. *Option: HT_PATSIZE_AUTO
  545. {
  546. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  547. }
  548. *Option: HT_PATSIZE_SUPERCELL_M
  549. {
  550. *rcNameID: =HT_SUPERCELL_DISPLAY
  551. }
  552. *Option: HT_PATSIZE_6x6_M
  553. {
  554. *rcNameID: =HT_DITHER6X6_DISPLAY
  555. }
  556. *Option: HT_PATSIZE_8x8_M
  557. {
  558. *rcNameID: =HT_DITHER8X8_DISPLAY
  559. }
  560. }
  561. *%======== TextHalftoneThreshold ========
  562. *Feature: TextHalftoneThreshold
  563. {
  564. *rcNameID: =TEXTHALFTONE_DISPLAY
  565. *DefaultOption: 180
  566. *HelpIndex: 705
  567. *Option: NONE
  568. {
  569. *rcNameID: =NONE_DISPLAY
  570. }
  571. *Option: 180
  572. {
  573. *Name: "180"
  574. EXTERN_GLOBAL: *TextHalftoneThreshold: 180
  575. }
  576. }
  577. *%======== StartJob ========
  578. *Command: CmdStartJob
  579. {
  580. *% from nm.c OemCharSet() case 10: Page Control 3
  581. *Order: JOB_SETUP.1
  582. *Cmd: "<1A>C<18><0F><1B>$<1B>%"<1B>Y<1B>_1<1B>M<1B>2<1B>h0<1B>A<1B>f"
  583. }
  584. *%======== StartDoc ========
  585. *Command: CmdStartDoc
  586. {
  587. *% from nm.c OemCharSet() case 10: Page Control 3
  588. *Order: DOC_SETUP.1
  589. *Cmd: "<1B>H<1B>e11<1C>A"
  590. }
  591. *%======== StartPage ========
  592. *switch: InputBin
  593. {
  594. *case: SheetGuide
  595. {
  596. *Command: CmdStartPage
  597. {
  598. *Order: PAGE_SETUP.1
  599. *Cmd: "<0D>"
  600. }
  601. }
  602. *case: SingleSheetFeeder
  603. {
  604. *Command: CmdStartPage
  605. {
  606. *Order: PAGE_SETUP.1
  607. *Cmd: "<0D><1B>a"
  608. }
  609. }
  610. *case: DBSheetFeeder1
  611. {
  612. *Command: CmdStartPage
  613. {
  614. *Order: PAGE_SETUP.1
  615. *Cmd: "<0D><1B>a"
  616. }
  617. }
  618. *case: DBSheetFeeder2
  619. {
  620. *Command: CmdStartPage
  621. {
  622. *Order: PAGE_SETUP.1
  623. *Cmd: "<0D><1B>a"
  624. }
  625. }
  626. }
  627. *%======== EndPage ========
  628. *switch: InputBin
  629. {
  630. *case: SheetGuide
  631. {
  632. *EjectPageWithFF?: TRUE
  633. }
  634. *case: SingleSheetFeeder
  635. {
  636. *EjectPageWithFF?: FALSE
  637. *Command: CmdEndPage
  638. {
  639. *Order: PAGE_FINISH.1
  640. *Cmd: "<0D><1B>b"
  641. }
  642. }
  643. *case: TracterFeeder
  644. {
  645. *EjectPageWithFF?: TRUE
  646. }
  647. *case: DBSheetFeeder1
  648. {
  649. *EjectPageWithFF?: FALSE
  650. *Command: CmdEndPage
  651. {
  652. *Order: PAGE_FINISH.1
  653. *Cmd: "<0D><1B>b"
  654. }
  655. }
  656. *case: DBSheetFeeder2
  657. {
  658. *EjectPageWithFF?: FALSE
  659. *Command: CmdEndPage
  660. {
  661. *Order: PAGE_FINISH.1
  662. *Cmd: "<0D><1B>b"
  663. }
  664. }
  665. }
  666. *%======== EndJob ========
  667. *Command: CmdEndJob
  668. {
  669. *Order: JOB_FINISH.1
  670. *Cmd: "<1A>N"
  671. }
  672. *%======== Capabilities ========
  673. *RotateCoordinate?: FALSE
  674. *RotateRaster?: FALSE
  675. *RotateFont?: FALSE
  676. *switch: Orientation
  677. {
  678. *case: PORTRAIT
  679. {
  680. *TextCaps: LIST(TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  681. }
  682. *case: LANDSCAPE_CC270
  683. {
  684. *TextCaps: LIST()
  685. }
  686. }
  687. *%======== Cursor Control ========
  688. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  689. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  690. *MaxLineSpacing: 198
  691. *XMoveThreshold: 0
  692. *XMoveUnit: 180
  693. *AbsXMovesRightOnly?: TRUE
  694. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,2448]{max_repeat((DestX / 2) )} }
  695. *LineSpacingMoveUnit: 120
  696. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 2) } }
  697. *Command: CmdCR { *Cmd : "<0D>" }
  698. *Command: CmdLF { *Cmd : "<0A>" }
  699. *Command: CmdFF { *Cmd : "<0D0C>" }
  700. *%======== Raster Data ========
  701. *OutputDataFormat: V_BYTE
  702. *OptimizeLeftBound?: FALSE
  703. *CursorXAfterSendBlockData: AT_GRXDATA_END
  704. *CursorYAfterSendBlockData: NO_MOVE
  705. *UseExpColorSelectCmd?: TRUE
  706. *MoveToX0BeforeSetColor?: TRUE
  707. *MirrorRasterByte?: TRUE
  708. *ReselectFont: AFTER_GRXDATA
  709. *%======== Device Font ========
  710. *DefaultFont: 1
  711. *DefaultCTT: 1
  712. *switch: Orientation
  713. {
  714. *case: PORTRAIT
  715. {
  716. *DeviceFonts: LIST(1,11,12,13,14)
  717. }
  718. *case: LANDSCAPE_CC270
  719. {
  720. *DeviceFonts: LIST()
  721. }
  722. }
  723. *%======== Font Simulation ========
  724. *Command: CmdBoldOn { *Cmd : "<1B><21>" }
  725. *Command: CmdBoldOff { *Cmd : "<1B><22>" }
  726. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  727. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }