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.

898 lines
24 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC NM-2010"
  4. *MasterUnits: PAIR(360, 360)
  5. *ResourceDLL: "ncnmjres.dll"
  6. *PrinterType: SERIAL
  7. *rcInstalledOptionNameID: 350
  8. *rcNotInstalledOptionNameID: 351
  9. *PrintRateUnit: CPS
  10. *PrintRate: 83
  11. *GPDFileName: "NCNM201J.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: PushTracter
  49. {
  50. *rcNameID: 302
  51. *Constraints: PaperSize.A4
  52. *Constraints: PaperSize.A4_ROTATED
  53. *Constraints: PaperSize.A5
  54. *Constraints: PaperSize.A5_ROTATED
  55. *Constraints: PaperSize.B4
  56. *Constraints: PaperSize.B4_JIS_ROTATED
  57. *Constraints: PaperSize.B5
  58. *Constraints: PaperSize.B5_JIS_ROTATED
  59. *Constraints: PaperSize.JAPANESE_POSTCARD
  60. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  61. }
  62. *Option: SheetFeeder
  63. {
  64. *rcNameID: 307
  65. *Installable?: TRUE
  66. *rcInstallableFeatureNameID: 307
  67. *Constraints: PaperSize.10X11
  68. *Constraints: PaperSize.15X11
  69. *Command: CmdSelect
  70. {
  71. *Order: DOC_SETUP.5
  72. *Cmd: "<1B>m1"
  73. }
  74. }
  75. *Option: DBSheetFeeder1
  76. {
  77. *rcNameID: 308
  78. *Installable?: TRUE
  79. *rcInstallableFeatureNameID: 308
  80. *Constraints: PaperSize.10X11
  81. *Constraints: PaperSize.15X11
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.5
  85. *Cmd: "<1B>m1"
  86. }
  87. }
  88. *Option: DBSheetFeeder2
  89. {
  90. *rcNameID: 309
  91. *Installable?: TRUE
  92. *rcInstallableFeatureNameID: 309
  93. *Constraints: PaperSize.A5_ROTATED
  94. *Constraints: PaperSize.B5_JIS_ROTATED
  95. *Constraints: PaperSize.10X11
  96. *Constraints: PaperSize.15X11
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.5
  100. *Cmd: "<1B>m2"
  101. }
  102. }
  103. *Option: TracterFeeder
  104. {
  105. *rcNameID: 310
  106. *Installable?: TRUE
  107. *rcInstallableFeatureNameID: 310
  108. *Constraints: PaperSize.A4
  109. *Constraints: PaperSize.A4_ROTATED
  110. *Constraints: PaperSize.A5
  111. *Constraints: PaperSize.A5_ROTATED
  112. *Constraints: PaperSize.B4
  113. *Constraints: PaperSize.B4_JIS_ROTATED
  114. *Constraints: PaperSize.B5
  115. *Constraints: PaperSize.B5_JIS_ROTATED
  116. *Constraints: PaperSize.JAPANESE_POSTCARD
  117. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  118. }
  119. }
  120. *InvalidInstallableCombination: LIST(InputBin.SheetFeeder, InputBin.DBSheetFeeder1)
  121. *InvalidInstallableCombination: LIST(InputBin.SheetFeeder, InputBin.DBSheetFeeder2)
  122. *InvalidInstallableCombination: LIST(InputBin.SheetFeeder, InputBin.TracterFeeder)
  123. *InvalidInstallableCombination: LIST(InputBin.DBSheetFeeder1, InputBin.TracterFeeder)
  124. *InvalidInstallableCombination: LIST(InputBin.DBSheetFeeder2, InputBin.TracterFeeder)
  125. *%======== Resolution ========
  126. *Feature: Resolution
  127. {
  128. *rcNameID: =RESOLUTION_DISPLAY
  129. *DefaultOption: 180dpi
  130. *Option: 180dpi
  131. {
  132. *rcNameID: 320
  133. *DPI: PAIR(180, 180)
  134. *TextDPI: PAIR(180, 180)
  135. *PinsPerLogPass: 24
  136. *PinsPerPhysPass: 24
  137. *MinStripBlankPixels: 270
  138. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  139. *SpotDiameter: 140
  140. *Command: CmdSendBlockData { *Cmd : "<1B>J" %4d{NumOfDataBytes / 3} }
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.4
  144. *Cmd: "<1A>G<0D1B>C0"
  145. }
  146. }
  147. }
  148. *%======== PaperSize ========
  149. *Feature: PaperSize
  150. {
  151. *rcNameID: =PAPER_SIZE_DISPLAY
  152. *DefaultOption: A4
  153. *Option: A4
  154. {
  155. *rcNameID: =A4_DISPLAY
  156. *PrintableArea: PAIR(2652, 3980) *% for SheetFeeder
  157. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  158. *switch: KyuusiIti
  159. {
  160. *case: Center
  161. {
  162. *Command: CmdSelect
  163. {
  164. *Order: DOC_SETUP.3
  165. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 60) + 15}
  166. }
  167. }
  168. *case: Left
  169. {
  170. *Command: CmdSelect
  171. {
  172. *Order: DOC_SETUP.3
  173. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  174. }
  175. }
  176. }
  177. *switch: InputBin
  178. {
  179. *case: SheetGuide
  180. {
  181. *PrintableArea: PAIR(2652, 3952)
  182. *PrintableOrigin: PAIR(162, 94)
  183. }
  184. }
  185. }
  186. *Option: A4_ROTATED
  187. {
  188. *rcNameID: =A4_ROTATED_DISPLAY
  189. *PrintableArea: PAIR(3884, 2748) *% for SheetFeeder
  190. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  191. *switch: KyuusiIti
  192. {
  193. *case: Center
  194. {
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.3
  198. *Cmd: "<1B>H<1B>L014" %v{(PhysPaperLength / 60) + 15}
  199. }
  200. }
  201. *case: Left
  202. {
  203. *Command: CmdSelect
  204. {
  205. *Order: DOC_SETUP.3
  206. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  207. }
  208. }
  209. }
  210. *switch: InputBin
  211. {
  212. *case: SheetGuide
  213. {
  214. *PrintableArea: PAIR(3884, 2720)
  215. *PrintableOrigin: PAIR(162, 94)
  216. }
  217. }
  218. }
  219. *Option: A5
  220. {
  221. *rcNameID: =A5_DISPLAY
  222. *PrintableArea: PAIR(1774, 2748) *% for SheetFeeder
  223. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  224. *switch: KyuusiIti
  225. {
  226. *case: Center
  227. {
  228. *Command: CmdSelect
  229. {
  230. *Order: DOC_SETUP.3
  231. *Cmd: "<1B>H<1B>L043" %v{(PhysPaperLength / 60) + 15}
  232. }
  233. }
  234. *case: Left
  235. {
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.3
  239. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  240. }
  241. }
  242. }
  243. *switch: InputBin
  244. {
  245. *case: SheetGuide
  246. {
  247. *PrintableArea: PAIR(1774, 2720)
  248. *PrintableOrigin: PAIR(162, 94)
  249. }
  250. }
  251. }
  252. *Option: A5_ROTATED
  253. {
  254. *rcNameID: =A5_ROTATED_DISPLAY
  255. *PrintableArea: PAIR(2652, 1870) *% for SheetFeeder
  256. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  257. *switch: KyuusiIti
  258. {
  259. *case: Center
  260. {
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.3
  264. *Cmd: "<1B>H<1B>L031" %v{(PhysPaperLength / 60) + 15}
  265. }
  266. }
  267. *case: Left
  268. {
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.3
  272. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  273. }
  274. }
  275. }
  276. *switch: InputBin
  277. {
  278. *case: SheetGuide
  279. {
  280. *PrintableArea: PAIR(2652, 1842)
  281. *PrintableOrigin: PAIR(162, 94)
  282. }
  283. }
  284. }
  285. *Option: B4
  286. {
  287. *rcNameID: =B4_DISPLAY
  288. *PrintableArea: PAIR(3318, 4930) *% for SheetFeeder
  289. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  290. *switch: KyuusiIti
  291. {
  292. *case: Center
  293. {
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.3
  297. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 60) + 15}
  298. }
  299. }
  300. *case: Left
  301. {
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.3
  305. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  306. }
  307. }
  308. }
  309. *switch: InputBin
  310. {
  311. *case: SheetGuide
  312. {
  313. *PrintableArea: PAIR(3318, 4902)
  314. *PrintableOrigin: PAIR(162, 94)
  315. }
  316. }
  317. }
  318. *Option: B4_JIS_ROTATED
  319. {
  320. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  321. *PrintableArea: PAIR(4834, 3414) *% for SheetFeeder
  322. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  323. *switch: KyuusiIti
  324. {
  325. *case: Center
  326. {
  327. *Command: CmdSelect
  328. {
  329. *Order: DOC_SETUP.3
  330. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  331. }
  332. }
  333. *case: Left
  334. {
  335. *Command: CmdSelect
  336. {
  337. *Order: DOC_SETUP.3
  338. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  339. }
  340. }
  341. }
  342. *switch: InputBin
  343. {
  344. *case: SheetGuide
  345. {
  346. *PrintableArea: PAIR(4834, 3386)
  347. *PrintableOrigin: PAIR(162, 94)
  348. }
  349. }
  350. }
  351. *Option: B5
  352. {
  353. *rcNameID: =B5_DISPLAY
  354. *PrintableArea: PAIR(2256, 3414) *% for SheetFeeder
  355. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  356. *switch: KyuusiIti
  357. {
  358. *case: Center
  359. {
  360. *Command: CmdSelect
  361. {
  362. *Order: DOC_SETUP.3
  363. *Cmd: "<1B>H<1B>L037" %v{(PhysPaperLength / 60) + 15}
  364. }
  365. }
  366. *case: Left
  367. {
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.3
  371. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  372. }
  373. }
  374. }
  375. *switch: InputBin
  376. {
  377. *case: SheetGuide
  378. {
  379. *PrintableArea: PAIR(2256, 3386)
  380. *PrintableOrigin: PAIR(162, 94)
  381. }
  382. }
  383. }
  384. *Option: B5_JIS_ROTATED
  385. {
  386. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  387. *PrintableArea: PAIR(3318, 2352) *% for SheetFeeder
  388. *PrintableOrigin: PAIR(162, 66) *% for SheetFeeder
  389. *switch: KyuusiIti
  390. {
  391. *case: Center
  392. {
  393. *Command: CmdSelect
  394. {
  395. *Order: DOC_SETUP.3
  396. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 60) + 15}
  397. }
  398. }
  399. *case: Left
  400. {
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.3
  404. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  405. }
  406. }
  407. }
  408. *switch: InputBin
  409. {
  410. *case: SheetGuide
  411. {
  412. *PrintableArea: PAIR(3318, 2324)
  413. *PrintableOrigin: PAIR(162, 94)
  414. }
  415. }
  416. }
  417. *Option: JAPANESE_POSTCARD
  418. {
  419. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  420. *PrintableArea: PAIR(1110, 1780) *% for SheetFeeder
  421. *PrintableOrigin: PAIR(162, 94) *% for SheetFeeder
  422. *switch: KyuusiIti
  423. {
  424. *case: Center
  425. {
  426. *Command: CmdSelect
  427. {
  428. *Order: DOC_SETUP.3
  429. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 60) + 15}
  430. }
  431. }
  432. *case: Left
  433. {
  434. *Command: CmdSelect
  435. {
  436. *Order: DOC_SETUP.3
  437. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  438. }
  439. }
  440. }
  441. *switch: InputBin
  442. {
  443. *case: SheetGuide
  444. {
  445. *PrintableArea: PAIR(1110, 1780)
  446. *PrintableOrigin: PAIR(162, 94)
  447. }
  448. }
  449. }
  450. *Option: JAPANESE_POSTCARD_ROTATED
  451. {
  452. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  453. *PrintableArea: PAIR(1790, 1100) *% for SheetFeeder
  454. *PrintableOrigin: PAIR(162, 94) *% for SheetFeeder
  455. *switch: KyuusiIti
  456. {
  457. *case: Center
  458. {
  459. *Command: CmdSelect
  460. {
  461. *Order: DOC_SETUP.3
  462. *Cmd: "<1B>H<1B>L050" %v{(PhysPaperLength / 60) + 15}
  463. }
  464. }
  465. *case: Left
  466. {
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.3
  470. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) + 15}
  471. }
  472. }
  473. }
  474. *switch: InputBin
  475. {
  476. *case: SheetGuide
  477. {
  478. *PrintableArea: PAIR(1790, 1100)
  479. *PrintableOrigin: PAIR(162, 94)
  480. }
  481. }
  482. }
  483. *Option: 10X11
  484. {
  485. *rcNameID: =10X11_DISPLAY
  486. *PrintableArea: PAIR(3240, 3772)
  487. *PrintableOrigin: PAIR(180, 94)
  488. *switch: KyuusiIti
  489. {
  490. *case: Center
  491. {
  492. *Command: CmdSelect
  493. {
  494. *Order: DOC_SETUP.3
  495. *Cmd: "<1B>H<1B>L028" %v{(PhysPaperLength / 60) }
  496. }
  497. }
  498. *case: Left
  499. {
  500. *Command: CmdSelect
  501. {
  502. *Order: DOC_SETUP.3
  503. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  504. }
  505. }
  506. }
  507. }
  508. *Option: 15X11
  509. {
  510. *rcNameID: =15X11_DISPLAY
  511. *PrintableArea: PAIR(4896, 3772)
  512. *PrintableOrigin: PAIR(252, 94)
  513. *Command: CmdSelect
  514. {
  515. *Order: DOC_SETUP.3
  516. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  517. }
  518. }
  519. *Option: CUSTOMSIZE
  520. {
  521. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  522. *MinSize: PAIR(720, 360) *% 2' x 1'
  523. *MaxSize: PAIR(5760, 7668) *% 16'x 21.3'
  524. *MaxPrintableWidth: 4896 *% 136 keta
  525. *MinLeftMargin: 0
  526. *CenterPrintable?: FALSE *% Center furiwake
  527. *switch: InputBin
  528. {
  529. *case: SheetGuide
  530. {
  531. *CustCursorOriginX: %d{0}
  532. *CustCursorOriginY: %d{94}
  533. *CustPrintableOriginX: %d{0}
  534. *CustPrintableOriginY: %d{94}
  535. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  536. *CustPrintableSizeY: %d{PhysPaperLength - (94+162)}
  537. }
  538. *case: TracterFeeder
  539. {
  540. *CustCursorOriginX: %d{0}
  541. *CustCursorOriginY: %d{0}
  542. *CustPrintableOriginX: %d{0}
  543. *CustPrintableOriginY: %d{0}
  544. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  545. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  546. }
  547. *case: SheetFeeder
  548. {
  549. *CustCursorOriginX: %d{0}
  550. *CustCursorOriginY: %d{66}
  551. *CustPrintableOriginX: %d{0}
  552. *CustPrintableOriginY: %d{66}
  553. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  554. *CustPrintableSizeY: %d{PhysPaperLength - (66+162)}
  555. }
  556. *case: DBSheetFeeder1
  557. {
  558. *CustCursorOriginX: %d{0}
  559. *CustCursorOriginY: %d{66}
  560. *CustPrintableOriginX: %d{0}
  561. *CustPrintableOriginY: %d{66}
  562. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  563. *CustPrintableSizeY: %d{PhysPaperLength - (66+162)}
  564. }
  565. *case: DBSheetFeeder2
  566. {
  567. *CustCursorOriginX: %d{0}
  568. *CustCursorOriginY: %d{66}
  569. *CustPrintableOriginX: %d{0}
  570. *CustPrintableOriginY: %d{66}
  571. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  572. *CustPrintableSizeY: %d{PhysPaperLength - (66+162)}
  573. }
  574. *case: PushTracter
  575. {
  576. *CustCursorOriginX: %d{0}
  577. *CustCursorOriginY: %d{0}
  578. *CustPrintableOriginX: %d{0}
  579. *CustPrintableOriginY: %d{0}
  580. *CustPrintableSizeX: %d{min(4896, PhysPaperWidth)}
  581. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  582. }
  583. }
  584. *Command: CmdSelect
  585. {
  586. *Order: DOC_SETUP.3
  587. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 60) }
  588. }
  589. }
  590. }
  591. *%======== Paperfeed Pos ========
  592. *Feature: KyuusiIti
  593. {
  594. *rcNameID: 330
  595. *DefaultOption: Center
  596. *HelpIndex: 702 *%POP_NM_FEEDPOS_B4
  597. *Option: Center
  598. {
  599. *rcNameID: 331
  600. *Constraints: PaperSize.CUSTOMSIZE
  601. }
  602. *Option: Left
  603. {
  604. *rcNameID: 332
  605. }
  606. }
  607. *%======== PrintQuality ========
  608. *Feature: PrintQuality
  609. {
  610. *rcNameID: =TEXT_QUALITY_DISPLAY
  611. *DefaultOption: StandardR
  612. *HelpIndex: 704 *%POP_NM_QUARITY
  613. *Option: StandardS
  614. {
  615. *rcNameID: 340
  616. *Command: CmdSelect
  617. {
  618. *Order: DOC_SETUP.2
  619. *Cmd: "<1B>d1<1B><3E>"
  620. }
  621. }
  622. *Option: StandardR
  623. {
  624. *rcNameID: 341
  625. *Command: CmdSelect
  626. {
  627. *Order: DOC_SETUP.2
  628. *Cmd: "<1B>d1<1B>]"
  629. }
  630. }
  631. *Option: DraftS
  632. {
  633. *rcNameID: 342
  634. *Command: CmdSelect
  635. {
  636. *Order: DOC_SETUP.2
  637. *Cmd: "<1B>d0<1B><3E>"
  638. }
  639. }
  640. *Option: DraftR
  641. {
  642. *rcNameID: 343
  643. *Command: CmdSelect
  644. {
  645. *Order: DOC_SETUP.2
  646. *Cmd: "<1B>d0<1B>]"
  647. }
  648. }
  649. }
  650. *%======== Color ========
  651. *Feature: ColorMode
  652. {
  653. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  654. *DefaultOption: Color
  655. *Option: Mono
  656. {
  657. *rcNameID: =MONO_DISPLAY
  658. *DevNumOfPlanes: 1
  659. *DevBPP: 1
  660. *Color? : FALSE
  661. }
  662. *Option: Color
  663. {
  664. *rcNameID: =COLOR_DISPLAY
  665. *DevNumOfPlanes: 4
  666. *DevBPP: 1
  667. *DrvBPP: 4
  668. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK )
  669. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  670. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  671. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  672. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  673. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  674. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  675. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  676. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  677. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  678. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  679. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  680. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  681. }
  682. }
  683. *%======== Halftone ========
  684. *Feature: Halftone
  685. {
  686. *rcNameID: =HALFTONING_DISPLAY
  687. *DefaultOption: HT_PATSIZE_AUTO
  688. *Option: HT_PATSIZE_AUTO
  689. {
  690. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  691. }
  692. *Option: HT_PATSIZE_SUPERCELL_M
  693. {
  694. *rcNameID: =HT_SUPERCELL_DISPLAY
  695. }
  696. *Option: HT_PATSIZE_6x6_M
  697. {
  698. *rcNameID: =HT_DITHER6X6_DISPLAY
  699. }
  700. *Option: HT_PATSIZE_8x8_M
  701. {
  702. *rcNameID: =HT_DITHER8X8_DISPLAY
  703. }
  704. }
  705. *%======== TextHalftoneThreshold ========
  706. *Feature: TextHalftoneThreshold
  707. {
  708. *rcNameID: =TEXTHALFTONE_DISPLAY
  709. *DefaultOption: 180
  710. *HelpIndex: 705
  711. *Option: NONE
  712. {
  713. *rcNameID: =NONE_DISPLAY
  714. }
  715. *Option: 180
  716. {
  717. *Name: "180"
  718. EXTERN_GLOBAL: *TextHalftoneThreshold: 180
  719. }
  720. }
  721. *%======== StartJob ========
  722. *Command: CmdStartJob
  723. {
  724. *% from nm.c OemCharSet() case 8: Page Control 1
  725. *Order: JOB_SETUP.1
  726. *Cmd: "<1A>C<18><0F><1B>$<1B>%"<1B>Y<1B>_1<1B>M<1B>2<1B>h0<1B>A<1B>f<1B>s0<1C>w0,0."
  727. }
  728. *%======== StartDoc ========
  729. *Command: CmdStartDoc
  730. {
  731. *% from nm.c OemCharSet() case 8: Page Control 1
  732. *Order: DOC_SETUP.1
  733. *Cmd: "<1B>H<1B>e11<1C>A<1C>06F1-000<1C>c,,0."
  734. }
  735. *%======== StartPage ========
  736. *switch: InputBin
  737. {
  738. *case: SheetGuide
  739. {
  740. *Command: CmdStartPage
  741. {
  742. *Order: PAGE_SETUP.1
  743. *Cmd: "<0D>"
  744. }
  745. }
  746. *case: SheetFeeder
  747. {
  748. *Command: CmdStartPage
  749. {
  750. *Order: PAGE_SETUP.1
  751. *Cmd: "<0D><1B>a"
  752. }
  753. }
  754. *case: DBSheetFeeder1
  755. {
  756. *Command: CmdStartPage
  757. {
  758. *Order: PAGE_SETUP.1
  759. *Cmd: "<0D><1B>a"
  760. }
  761. }
  762. *case: DBSheetFeeder2
  763. {
  764. *Command: CmdStartPage
  765. {
  766. *Order: PAGE_SETUP.1
  767. *Cmd: "<0D><1B>a"
  768. }
  769. }
  770. }
  771. *%======== EndPage ========
  772. *switch: InputBin
  773. {
  774. *case: SheetGuide
  775. {
  776. *EjectPageWithFF?: TRUE
  777. }
  778. *case: PushTracter
  779. {
  780. *EjectPageWithFF?: TRUE
  781. }
  782. *case: SheetFeeder
  783. {
  784. *EjectPageWithFF?: FALSE
  785. *Command: CmdEndPage
  786. {
  787. *Order: PAGE_FINISH.1
  788. *Cmd: "<0D><1B>b"
  789. }
  790. }
  791. *case: DBSheetFeeder1
  792. {
  793. *EjectPageWithFF?: FALSE
  794. *Command: CmdEndPage
  795. {
  796. *Order: PAGE_FINISH.1
  797. *Cmd: "<0D><1B>b"
  798. }
  799. }
  800. *case: DBSheetFeeder2
  801. {
  802. *EjectPageWithFF?: FALSE
  803. *Command: CmdEndPage
  804. {
  805. *Order: PAGE_FINISH.1
  806. *Cmd: "<0D><1B>b"
  807. }
  808. }
  809. *case: TracterFeeder
  810. {
  811. *EjectPageWithFF?: TRUE
  812. }
  813. }
  814. *%======== EndJob ========
  815. *Command: CmdEndJob
  816. {
  817. *Order: JOB_FINISH.1
  818. *Cmd: "<1A>N"
  819. }
  820. *%======== Capabilities ========
  821. *RotateCoordinate?: FALSE
  822. *RotateRaster?: FALSE
  823. *RotateFont?: FALSE
  824. *switch: Orientation
  825. {
  826. *case: PORTRAIT
  827. {
  828. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  829. }
  830. *case: LANDSCAPE_CC270
  831. {
  832. *TextCaps: LIST()
  833. }
  834. }
  835. *%======== Cursor Control ========
  836. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  837. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  838. *MaxLineSpacing: 198
  839. *XMoveThreshold: 0
  840. *XMoveUnit: 180
  841. *AbsXMovesRightOnly?: TRUE
  842. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,2448]{max_repeat((DestX / 2) )} }
  843. *LineSpacingMoveUnit: 120
  844. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 2) } }
  845. *Command: CmdCR { *Cmd : "<0D>" }
  846. *Command: CmdLF { *Cmd : "<0A>" }
  847. *Command: CmdFF { *Cmd : "<0D0C>" }
  848. *%======== Raster Data ========
  849. *OutputDataFormat: V_BYTE
  850. *OptimizeLeftBound?: FALSE
  851. *CursorXAfterSendBlockData: AT_GRXDATA_END
  852. *CursorYAfterSendBlockData: NO_MOVE
  853. *UseExpColorSelectCmd?: TRUE
  854. *MoveToX0BeforeSetColor?: TRUE
  855. *MirrorRasterByte?: TRUE
  856. *%======== Device Font ========
  857. *DefaultFont: 1
  858. *DefaultCTT: 1
  859. *switch: Orientation
  860. {
  861. *case: PORTRAIT
  862. {
  863. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11)
  864. }
  865. *case: LANDSCAPE_CC270
  866. {
  867. *DeviceFonts: LIST()
  868. }
  869. }
  870. *%======== Font Simulation ========
  871. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  872. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  873. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  874. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  875. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }