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.

807 lines
21 KiB

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