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.

811 lines
22 KiB

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