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.

724 lines
19 KiB

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