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.

1085 lines
30 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PR-D201MX"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc21jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 0
  8. *PrintRateUnit: CPS
  9. *PrintRate: 108
  10. *GPDFileName: "NC21MXJ.GPD"
  11. *Include: "STDNAMES.GPD"
  12. *GPDFileVersion: "1.000"
  13. *HelpFile: "nc21jres.hlp"
  14. *% *Macros: HelpIDs
  15. *% {
  16. *% PAPER SETTING */
  17. *% POP_21_PAPSET :2150
  18. *% PRINT QUALITIES */
  19. *% POP_21_PQUALITIESNEW :2167
  20. *% KANJI CODE */
  21. *% POP_21_KANJICODE :2170
  22. *% }
  23. *%----------------------------
  24. *%- Installable Option -
  25. *%----------------------------
  26. *rcInstalledOptionNameID: 290
  27. *rcNotInstalledOptionNameID: 291
  28. *%---------------------
  29. *%- Orientation -
  30. *%---------------------
  31. *Feature: Orientation
  32. {
  33. *rcNameID: =ORIENTATION_DISPLAY
  34. *DefaultOption: PORTRAIT
  35. *Option: PORTRAIT
  36. {
  37. *rcNameID: =PORTRAIT_DISPLAY
  38. }
  39. *Option: LANDSCAPE_CC270
  40. {
  41. *rcNameID: =LANDSCAPE_DISPLAY
  42. }
  43. }
  44. *%-------------------
  45. *%- InputBins -
  46. *%-------------------
  47. *Feature: InputBin
  48. {
  49. *rcNameID: =PAPER_SOURCE_DISPLAY
  50. *DefaultOption: Option1
  51. *Option: Option1 *%SheetGuide
  52. {
  53. *rcNameID: 260
  54. }
  55. *Option: Option2 *%SheetFeeder
  56. {
  57. *rcNameID: 261
  58. *Installable?: TRUE
  59. *rcInstallableFeatureNameID: 261
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.3
  63. *Cmd: "<1C>fPC1."
  64. }
  65. }
  66. *Option: Option3 *%DoubleBinSheetFeederHopper1
  67. {
  68. *rcNameID: 262
  69. *Installable?: TRUE
  70. *rcInstallableFeatureNameID: 262
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.3
  74. *Cmd: "<1C>fPC1."
  75. }
  76. }
  77. *Option: Option4 *%DoubleBinSheetFeederHopper2
  78. {
  79. *rcNameID: 263
  80. *Installable?: TRUE
  81. *rcInstallableFeatureNameID: 263
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.3
  85. *Cmd: "<1C>fPC2."
  86. }
  87. }
  88. *Option: Option5 *%Tractor Unit
  89. {
  90. *rcNameID: 268
  91. }
  92. *Option: Option6 *%Tractor Feeder
  93. {
  94. *rcNameID: 265
  95. *Installable?: TRUE
  96. *rcInstallableFeatureNameID: 265
  97. }
  98. *Option: Option7 *%Front Tractor Feeder
  99. {
  100. *rcNameID: 269
  101. *Installable?: TRUE
  102. *rcInstallableFeatureNameID: 269
  103. }
  104. }
  105. *%---------------------------------------------------
  106. *%- InvalidInstallableCombination of InputBins -
  107. *%---------------------------------------------------
  108. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option6)
  109. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option3)
  110. *InvalidInstallableCombination: LIST(InputBin.Option2, InputBin.Option4)
  111. *InvalidInstallableCombination: LIST(InputBin.Option3, InputBin.Option6)
  112. *InvalidInstallableCombination: LIST(InputBin.Option4, InputBin.Option6)
  113. *%--------------------
  114. *%- Resolution -
  115. *%--------------------
  116. *Feature: Resolution
  117. {
  118. *rcNameID: =RESOLUTION_DISPLAY
  119. *DefaultOption: Option1
  120. *Option: Option1
  121. {
  122. *Name: "160 x 160 dots per inch"
  123. *DPI: PAIR(160, 160)
  124. *TextDPI: PAIR(160, 160)
  125. *PinsPerLogPass: 24
  126. *PinsPerPhysPass: 24
  127. *MinStripBlankPixels: 120
  128. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  129. *SpotDiameter: 120
  130. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.5
  134. *Cmd: "<1B>C0"
  135. }
  136. }
  137. }
  138. *%--------------------
  139. *%- PaperSizes -
  140. *%--------------------
  141. *Feature: PaperSize
  142. {
  143. *rcNameID: =PAPER_SIZE_DISPLAY
  144. *DefaultOption: A4
  145. *Option: A3
  146. {
  147. *rcNameID: =A3_DISPLAY
  148. *switch: PaperSetting
  149. {
  150. *case: Option1 *% Set Center
  151. {
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.4
  155. *Cmd: "<1B>H<1B>L012<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  156. }
  157. }
  158. *case: Option2 *% Set Left
  159. {
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.4
  163. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  164. }
  165. }
  166. }
  167. *PrintableArea: PAIR(5353, 7705)
  168. *PrintableOrigin: PAIR(129, 117)
  169. *switch: Resolution
  170. {
  171. *case: Option1
  172. {
  173. *PrintableArea: PAIR(5352, 7704)
  174. }
  175. }
  176. }
  177. *Option: A3_ROTATED
  178. {
  179. *rcNameID: =A3_ROTATED_DISPLAY
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.4
  183. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  184. }
  185. *PrintableArea: PAIR(6529, 5377)
  186. *PrintableOrigin: PAIR(705, 117)
  187. *switch: Resolution
  188. {
  189. *case: Option1
  190. {
  191. *PrintableArea: PAIR(6528, 5376)
  192. }
  193. }
  194. }
  195. *Option: A4
  196. {
  197. *rcNameID: =A4_DISPLAY
  198. *switch: PaperSetting
  199. {
  200. *case: Option1 *% Set Center
  201. {
  202. *Command: CmdSelect
  203. {
  204. *Order: DOC_SETUP.4
  205. *Cmd: "<1B>H<1B>L029<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  206. }
  207. }
  208. *case: Option2 *% Set Left
  209. {
  210. *Command: CmdSelect
  211. {
  212. *Order: DOC_SETUP.4
  213. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  214. }
  215. }
  216. }
  217. *PrintableArea: PAIR(3712, 5377)
  218. *PrintableOrigin: PAIR(129, 117)
  219. *switch: Resolution
  220. {
  221. *case: Option1
  222. {
  223. *PrintableArea: PAIR(3711, 5376)
  224. }
  225. }
  226. }
  227. *Option: A4_ROTATED
  228. {
  229. *rcNameID: =A4_ROTATED_DISPLAY
  230. *switch: PaperSetting
  231. {
  232. *case: Option1 *% Set Center
  233. {
  234. *Command: CmdSelect
  235. {
  236. *Order: DOC_SETUP.4
  237. *Cmd: "<1B>H<1B>L012<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  238. }
  239. }
  240. *case: Option2 *% Set Left
  241. {
  242. *Command: CmdSelect
  243. {
  244. *Order: DOC_SETUP.4
  245. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  246. }
  247. }
  248. }
  249. *PrintableArea: PAIR(5353, 3736)
  250. *PrintableOrigin: PAIR(129, 117)
  251. *switch: Resolution
  252. {
  253. *case: Option1
  254. {
  255. *PrintableArea: PAIR(5352, 3735)
  256. }
  257. }
  258. }
  259. *Option: A5
  260. {
  261. *rcNameID: =A5_DISPLAY
  262. *switch: PaperSetting
  263. {
  264. *case: Option1 *% Set Center
  265. {
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.4
  269. *Cmd: "<1B>H<1B>L042<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  270. }
  271. }
  272. *case: Option2 *% Set Left
  273. {
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.4
  277. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  278. }
  279. }
  280. }
  281. *PrintableArea: PAIR(2540, 3736)
  282. *PrintableOrigin: PAIR(129, 117)
  283. *switch: Resolution
  284. {
  285. *case: Option1
  286. {
  287. *PrintableArea: PAIR(2538, 3735)
  288. }
  289. }
  290. }
  291. *Option: A5_ROTATED
  292. {
  293. *rcNameID: =A5_ROTATED_DISPLAY
  294. *switch: PaperSetting
  295. {
  296. *case: Option1 *% Set Center
  297. {
  298. *Command: CmdSelect
  299. {
  300. *Order: DOC_SETUP.4
  301. *Cmd: "<1B>H<1B>L029<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  302. }
  303. }
  304. *case: Option2 *% Set Left
  305. {
  306. *Command: CmdSelect
  307. {
  308. *Order: DOC_SETUP.4
  309. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  310. }
  311. }
  312. }
  313. *PrintableArea: PAIR(3712, 2564)
  314. *PrintableOrigin: PAIR(129, 117)
  315. *switch: Resolution
  316. {
  317. *case: Option1
  318. {
  319. *PrintableArea: PAIR(3711, 2562)
  320. }
  321. }
  322. }
  323. *Option: B4
  324. {
  325. *rcNameID: =B4_DISPLAY
  326. *switch: PaperSetting
  327. {
  328. *case: Option1 *% Set Center
  329. {
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.4
  333. *Cmd: "<1B>H<1B>L020<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  334. }
  335. }
  336. *case: Option2 *% Set Left
  337. {
  338. *Command: CmdSelect
  339. {
  340. *Order: DOC_SETUP.4
  341. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  342. }
  343. }
  344. }
  345. *PrintableArea: PAIR(4600, 6644)
  346. *PrintableOrigin: PAIR(129, 117)
  347. *switch: Resolution
  348. {
  349. *case: Option1
  350. {
  351. *PrintableArea: PAIR(4599, 6642)
  352. }
  353. }
  354. }
  355. *Option: B4_JIS_ROTATED
  356. {
  357. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.4
  361. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  362. }
  363. *PrintableArea: PAIR(6530, 4624)
  364. *PrintableOrigin: PAIR(174, 117)
  365. *switch: Resolution
  366. {
  367. *case: Option1
  368. {
  369. *PrintableArea: PAIR(6528, 4623)
  370. }
  371. }
  372. }
  373. *Option: B5
  374. {
  375. *rcNameID: =B5_DISPLAY
  376. *switch: PaperSetting
  377. {
  378. *case: Option1 *% Set Center
  379. {
  380. *Command: CmdSelect
  381. {
  382. *Order: DOC_SETUP.4
  383. *Cmd: "<1B>H<1B>L035<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  384. }
  385. }
  386. *case: Option2 *% Set Left
  387. {
  388. *Command: CmdSelect
  389. {
  390. *Order: DOC_SETUP.4
  391. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  392. }
  393. }
  394. }
  395. *PrintableArea: PAIR(3184, 4624)
  396. *PrintableOrigin: PAIR(129, 117)
  397. *switch: Resolution
  398. {
  399. *case: Option1
  400. {
  401. *PrintableArea: PAIR(3183, 4623)
  402. }
  403. }
  404. }
  405. *Option: B5_JIS_ROTATED
  406. {
  407. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  408. *switch: PaperSetting
  409. {
  410. *case: Option1 *% Set Center
  411. {
  412. *Command: CmdSelect
  413. {
  414. *Order: DOC_SETUP.4
  415. *Cmd: "<1B>H<1B>L020<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  416. }
  417. }
  418. *case: Option2 *% Set Left
  419. {
  420. *Command: CmdSelect
  421. {
  422. *Order: DOC_SETUP.4
  423. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  424. }
  425. }
  426. }
  427. *PrintableArea: PAIR(4600, 3208)
  428. *PrintableOrigin: PAIR(129, 117)
  429. *switch: Resolution
  430. {
  431. *case: Option1
  432. {
  433. *PrintableArea: PAIR(4599, 3207)
  434. }
  435. }
  436. }
  437. *Option: JAPANESE_POSTCARD
  438. {
  439. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  440. *switch: PaperSetting
  441. {
  442. *case: Option1 *% Set Center
  443. {
  444. *Command: CmdSelect
  445. {
  446. *Order: DOC_SETUP.4
  447. *Cmd: "<1B>H<1B>L050<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  448. }
  449. }
  450. *case: Option2 *% Set Left
  451. {
  452. *Command: CmdSelect
  453. {
  454. *Order: DOC_SETUP.4
  455. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  456. }
  457. }
  458. }
  459. *PrintableArea: PAIR(1480, 2312)
  460. *PrintableOrigin: PAIR(216, 183)
  461. *switch: Resolution
  462. {
  463. *case: Option1
  464. {
  465. *PrintableArea: PAIR(1479, 2310)
  466. }
  467. }
  468. }
  469. *Option: JAPANESE_POSTCARD_ROTATED
  470. {
  471. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  472. *switch: PaperSetting
  473. {
  474. *case: Option1 *% Set Center
  475. {
  476. *Command: CmdSelect
  477. {
  478. *Order: DOC_SETUP.4
  479. *Cmd: "<1B>H<1B>L050<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  480. }
  481. }
  482. *case: Option2 *% Set Left
  483. {
  484. *Command: CmdSelect
  485. {
  486. *Order: DOC_SETUP.4
  487. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) + 300}
  488. }
  489. }
  490. }
  491. *PrintableArea: PAIR(2387, 1405)
  492. *PrintableOrigin: PAIR(216, 183)
  493. *switch: Resolution
  494. {
  495. *case: Option1
  496. {
  497. *PrintableArea: PAIR(2385, 1404)
  498. }
  499. }
  500. }
  501. *Option: 10X11
  502. {
  503. *rcNameID: =10X11_DISPLAY
  504. *switch: PaperSetting
  505. {
  506. *case: Option1 *% Set Center
  507. {
  508. *Command: CmdSelect
  509. {
  510. *Order: DOC_SETUP.4
  511. *Cmd: "<1B>H<1B>L023<1C>05v" %4d{(PhysPaperLength / 4) }
  512. }
  513. }
  514. *case: Option2 *% Set Left
  515. {
  516. *Command: CmdSelect
  517. {
  518. *Order: DOC_SETUP.4
  519. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) }
  520. }
  521. }
  522. }
  523. *PrintableArea: PAIR(4320, 5046)
  524. *PrintableOrigin: PAIR(240, 117)
  525. }
  526. *Option: 15X11
  527. {
  528. *rcNameID: =15X11_DISPLAY
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.4
  532. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) }
  533. }
  534. *PrintableArea: PAIR(6528, 5046)
  535. *PrintableOrigin: PAIR(336, 117)
  536. }
  537. *Option: CUSTOMSIZE
  538. {
  539. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  540. *MinSize: PAIR(960, 480) *% 2' x 1'
  541. *MaxSize: PAIR(7939, 10224) *% A3_ROTATE Size, 21.3'
  542. *MaxPrintableWidth: 6528 *% 136 keta
  543. *MinLeftMargin: 0
  544. *CenterPrintable?: FALSE *% Not use Center huriwake
  545. *Constraints: PaperSetting.Option1 *% Not available Setting Center
  546. *switch: InputBin
  547. {
  548. *case: Option1
  549. {
  550. *CustCursorOriginX: %d{0}
  551. *CustCursorOriginY: %d{117}
  552. *CustPrintableOriginX: %d{0}
  553. *CustPrintableOriginY: %d{117}
  554. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  555. *CustPrintableSizeY: %d{PhysPaperLength - (117+117)}
  556. }
  557. *case: Option2
  558. {
  559. *CustCursorOriginX: %d{0}
  560. *CustCursorOriginY: %d{117}
  561. *CustPrintableOriginX: %d{0}
  562. *CustPrintableOriginY: %d{117}
  563. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  564. *CustPrintableSizeY: %d{PhysPaperLength - (117+117)}
  565. }
  566. *case: Option3
  567. {
  568. *CustCursorOriginX: %d{0}
  569. *CustCursorOriginY: %d{117}
  570. *CustPrintableOriginX: %d{0}
  571. *CustPrintableOriginY: %d{117}
  572. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  573. *CustPrintableSizeY: %d{PhysPaperLength - (117+117)}
  574. }
  575. *case: Option4
  576. {
  577. *CustCursorOriginX: %d{0}
  578. *CustCursorOriginY: %d{117}
  579. *CustPrintableOriginX: %d{0}
  580. *CustPrintableOriginY: %d{117}
  581. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  582. *CustPrintableSizeY: %d{PhysPaperLength - (117+117)}
  583. }
  584. *case: Option5
  585. {
  586. *CustCursorOriginX: %d{0}
  587. *CustCursorOriginY: %d{0}
  588. *CustPrintableOriginX: %d{0}
  589. *CustPrintableOriginY: %d{0}
  590. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  591. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  592. }
  593. *case: Option6
  594. {
  595. *CustCursorOriginX: %d{0}
  596. *CustCursorOriginY: %d{0}
  597. *CustPrintableOriginX: %d{0}
  598. *CustPrintableOriginY: %d{0}
  599. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  600. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  601. }
  602. *case: Option7
  603. {
  604. *CustCursorOriginX: %d{0}
  605. *CustCursorOriginY: %d{0}
  606. *CustPrintableOriginX: %d{0}
  607. *CustPrintableOriginY: %d{0}
  608. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  609. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  610. }
  611. }
  612. *Command: CmdSelect
  613. {
  614. *Order: DOC_SETUP.4
  615. *Cmd: "<1B>H<1B>L000<1C>05v" %4d{(PhysPaperLength / 4) }
  616. }
  617. }
  618. }
  619. *%--------------------------------
  620. *%- InstallableCombination -
  621. *%--------------------------------
  622. *InvalidCombination: LIST(InputBin.Option1, PaperSize.10X11)
  623. *InvalidCombination: LIST(InputBin.Option1, PaperSize.15X11)
  624. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  625. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  626. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  627. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  628. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  629. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  630. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A3)
  631. *InvalidCombination: LIST(InputBin.Option4, PaperSize.A5_ROTATED)
  632. *InvalidCombination: LIST(InputBin.Option4, PaperSize.B5_JIS_ROTATED)
  633. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD)
  634. *InvalidCombination: LIST(InputBin.Option4, PaperSize.JAPANESE_POSTCARD_ROTATED)
  635. *InvalidCombination: LIST(InputBin.Option4, PaperSize.10X11)
  636. *InvalidCombination: LIST(InputBin.Option4, PaperSize.15X11)
  637. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A3)
  638. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A3_ROTATED)
  639. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4)
  640. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A4_ROTATED)
  641. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5)
  642. *InvalidCombination: LIST(InputBin.Option5, PaperSize.A5_ROTATED)
  643. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4)
  644. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B4_JIS_ROTATED)
  645. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5)
  646. *InvalidCombination: LIST(InputBin.Option5, PaperSize.B5_JIS_ROTATED)
  647. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD)
  648. *InvalidCombination: LIST(InputBin.Option5, PaperSize.JAPANESE_POSTCARD_ROTATED)
  649. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A3)
  650. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A3_ROTATED)
  651. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4)
  652. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A4_ROTATED)
  653. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5)
  654. *InvalidCombination: LIST(InputBin.Option6, PaperSize.A5_ROTATED)
  655. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4)
  656. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B4_JIS_ROTATED)
  657. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5)
  658. *InvalidCombination: LIST(InputBin.Option6, PaperSize.B5_JIS_ROTATED)
  659. *InvalidCombination: LIST(InputBin.Option6, PaperSize.JAPANESE_POSTCARD)
  660. *InvalidCombination: LIST(InputBin.Option6, PaperSize.JAPANESE_POSTCARD_ROTATED)
  661. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A3)
  662. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A3_ROTATED)
  663. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A4)
  664. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A4_ROTATED)
  665. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A5)
  666. *InvalidCombination: LIST(InputBin.Option7, PaperSize.A5_ROTATED)
  667. *InvalidCombination: LIST(InputBin.Option7, PaperSize.B4)
  668. *InvalidCombination: LIST(InputBin.Option7, PaperSize.B4_JIS_ROTATED)
  669. *InvalidCombination: LIST(InputBin.Option7, PaperSize.B5)
  670. *InvalidCombination: LIST(InputBin.Option7, PaperSize.B5_JIS_ROTATED)
  671. *InvalidCombination: LIST(InputBin.Option7, PaperSize.JAPANESE_POSTCARD)
  672. *InvalidCombination: LIST(InputBin.Option7, PaperSize.JAPANESE_POSTCARD_ROTATED)
  673. *%----------------------
  674. *%- PaperSetting -
  675. *%----------------------
  676. *Feature: PaperSetting *%Custom Feature: change Paper set Position
  677. {
  678. *rcNameID: 300
  679. *DefaultOption: Option1
  680. *HelpIndex: 2150
  681. *Option: Option1
  682. {
  683. *rcNameID: 258
  684. }
  685. *Option: Option2
  686. {
  687. *rcNameID: 259
  688. }
  689. }
  690. *%------------------------
  691. *%- PrintQualities -
  692. *%------------------------
  693. *Feature: PrintQuality *%Custom Feature: Draft ari/nashi insatsu houkou
  694. {
  695. *rcNameID: =TEXT_QUALITY_DISPLAY
  696. *DefaultOption: Option2
  697. *HelpIndex: 2167
  698. *Option: Option1 *% Standard & KATA-Houkou
  699. {
  700. *rcNameID: 270
  701. *Command: CmdSelect
  702. {
  703. *Order: DOC_SETUP.2
  704. *Cmd: "<1B>d1<1B><3E>"
  705. }
  706. }
  707. *Option: Option2 *% Standard & RYOU-Houkou
  708. {
  709. *rcNameID: 271
  710. *Command: CmdSelect
  711. {
  712. *Order: DOC_SETUP.2
  713. *Cmd: "<1B>d1<1B>]"
  714. }
  715. }
  716. *Option: Option3 *% Draft & KATA-Houkou
  717. {
  718. *rcNameID: 272
  719. *Command: CmdSelect
  720. {
  721. *Order: DOC_SETUP.2
  722. *Cmd: "<1B>d0<1B><3E>"
  723. }
  724. }
  725. *Option: Option4 *% Draft & RYOU-Houkou
  726. {
  727. *rcNameID: 273
  728. *Command: CmdSelect
  729. {
  730. *Order: DOC_SETUP.2
  731. *Cmd: "<1B>d0<1B>]"
  732. }
  733. }
  734. }
  735. *%-------------------------------
  736. *%- TextHalftoneThreshold -
  737. *%-------------------------------
  738. *Feature: TextHalftoneThreshold
  739. {
  740. *rcNameID: =TEXTHALFTONE_DISPLAY
  741. *DefaultOption: Option1
  742. *HelpIndex: 2180
  743. *Option: NONE
  744. {
  745. *rcNameID: =NONE_DISPLAY
  746. }
  747. *Option: Option1
  748. {
  749. *Name: "160"
  750. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  751. }
  752. }
  753. *%------------------
  754. *%- JIS78/90 -
  755. *%------------------
  756. *Feature: JIS78JIS90 *%Custom Feature: change code JIS78 or JIS90
  757. {
  758. *rcNameID: 310
  759. *DefaultOption: Option2
  760. *FeatureType: PRINTER_PROPERTY
  761. *HelpIndex: 2170
  762. *Option: Option2
  763. {
  764. *rcNameID: 312
  765. *Command: CmdSelect
  766. {
  767. *Order: JOB_SETUP.2
  768. *Cmd: "<1C>05F2-02"
  769. }
  770. }
  771. *Option: Option1
  772. {
  773. *rcNameID: 311
  774. *Command: CmdSelect
  775. {
  776. *Order: JOB_SETUP.2
  777. *Cmd: "<1C>05F2-00"
  778. }
  779. }
  780. }
  781. *%-------------------
  782. *%- ColorMode -
  783. *%-------------------
  784. *Feature: ColorMode
  785. {
  786. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  787. *DefaultOption: Color
  788. *Option: Mono
  789. {
  790. *rcNameID: =MONO_DISPLAY
  791. *DevNumOfPlanes: 1
  792. *DevBPP: 1
  793. *Color? : FALSE
  794. }
  795. *Option: Color
  796. {
  797. *rcNameID: =COLOR_DISPLAY
  798. *DevNumOfPlanes: 4
  799. *DevBPP: 1
  800. *DrvBPP: 4
  801. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  802. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  803. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  804. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  805. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  806. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  807. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  808. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  809. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  810. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  811. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  812. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  813. *Command: CmdSelectWhiteColor { *Cmd : "<1B>C7" }
  814. }
  815. }
  816. *%------------------
  817. *%- Halftone -
  818. *%------------------
  819. *Feature: Halftone
  820. {
  821. *rcNameID: =HALFTONING_DISPLAY
  822. *DefaultOption: HT_PATSIZE_AUTO
  823. *Option: HT_PATSIZE_AUTO
  824. {
  825. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  826. }
  827. *Option: HT_PATSIZE_SUPERCELL_M
  828. {
  829. *rcNameID: =HT_SUPERCELL_DISPLAY
  830. }
  831. *Option: HT_PATSIZE_6x6_M
  832. {
  833. *rcNameID: =HT_DITHER6X6_DISPLAY
  834. }
  835. *Option: HT_PATSIZE_8x8_M
  836. {
  837. *rcNameID: =HT_DITHER8X8_DISPLAY
  838. }
  839. }
  840. *%------------------
  841. *%- StartJob -
  842. *%------------------
  843. *Command: CmdStartJob *%Add Command
  844. {
  845. *Order: JOB_SETUP.1
  846. *Cmd : "<18><0F><1B>$<1B>M<1B>2<1B>/136<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0<1C>A"
  847. }
  848. *%------------------
  849. *%- StartDoc -
  850. *%------------------
  851. *Command: CmdStartDoc *%Change command
  852. {
  853. *Order: DOC_SETUP.1
  854. *Cmd : "<1B>H<1B><22><1B>Y<1B>L000<1B>A<1B>e11<1B>O0<1C>c,,0."
  855. }
  856. *%-------------------
  857. *%- StartPage -
  858. *%-------------------
  859. *switch: InputBin
  860. {
  861. *case: Option1 *%Sheet Guide
  862. {
  863. *Command: CmdStartPage
  864. {
  865. *Order: PAGE_SETUP.1
  866. *Cmd: "<0D><19><1B>H<FF><0D>"
  867. }
  868. }
  869. *case: Option2 *%Sheet Feeder
  870. {
  871. *Command: CmdStartPage
  872. {
  873. *Order: PAGE_SETUP.1
  874. *Cmd: "<0D><1B>a<19>"
  875. }
  876. }
  877. *case: Option3 *%DoubleBinSheetFeederHopper1
  878. {
  879. *Command: CmdStartPage
  880. {
  881. *Order: PAGE_SETUP.1
  882. *Cmd: "<0D><1B>a<19>"
  883. }
  884. }
  885. *case: Option4 *%DoubleBinSheetFeederHopper2
  886. {
  887. *Command: CmdStartPage
  888. {
  889. *Order: PAGE_SETUP.1
  890. *Cmd: "<0D><1B>a<19>"
  891. }
  892. }
  893. *case: Option5 *%Tractor Unit
  894. {
  895. *Command: CmdStartPage
  896. {
  897. *Order: PAGE_SETUP.1
  898. *Cmd: "<0D><19><1B>H<FF><0D>"
  899. }
  900. }
  901. *case: Option6 *%Tractor Feeder
  902. {
  903. *Command: CmdStartPage
  904. {
  905. *Order: PAGE_SETUP.1
  906. *Cmd: "<0D><19><1B>H<FF><0D>"
  907. }
  908. }
  909. *case: Option7 *%Front Tractor Feeder
  910. {
  911. *Command: CmdStartPage
  912. {
  913. *Order: PAGE_SETUP.1
  914. *Cmd: "<0D><19><1B>H<FF><0D>"
  915. }
  916. }
  917. }
  918. *%----------------
  919. *%- EndJob -
  920. *%----------------
  921. *Command: CmdEndJob
  922. {
  923. *Order: JOB_FINISH.1
  924. *Cmd: "<1B>c8"
  925. }
  926. *%-----------------
  927. *%- EndPage -
  928. *%-----------------
  929. *switch: InputBin
  930. {
  931. *case: Option1 *%Sheet Guide
  932. {
  933. *EjectPageWithFF?: TRUE
  934. }
  935. *case: Option2 *%Sheet Feeder
  936. {
  937. *EjectPageWithFF?: FALSE
  938. *Command: CmdEndPage
  939. {
  940. *Order: PAGE_FINISH.1
  941. *Cmd: "<1B>b"
  942. }
  943. }
  944. *case: Option3 *%DoubleBinSheetFeederHopper1
  945. {
  946. *EjectPageWithFF?: FALSE
  947. *Command: CmdEndPage
  948. {
  949. *Order: PAGE_FINISH.1
  950. *Cmd: "<1B>b"
  951. }
  952. }
  953. *case: Option4 *%DoubleBinSheetFeederHopper2
  954. {
  955. *EjectPageWithFF?: FALSE
  956. *Command: CmdEndPage
  957. {
  958. *Order: PAGE_FINISH.1
  959. *Cmd: "<1B>b"
  960. }
  961. }
  962. *case: Option5 *%Tractor Unit
  963. {
  964. *EjectPageWithFF?: TRUE
  965. }
  966. *case: Option6 *%Tractor Feeder
  967. {
  968. *EjectPageWithFF?: TRUE
  969. }
  970. *case: Option7 *%Front Tractor Feeder
  971. {
  972. *EjectPageWithFF?: TRUE
  973. }
  974. }
  975. *%------------------------
  976. *%- Font Available -
  977. *%------------------------
  978. *RotateCoordinate?: FALSE
  979. *RotateRaster?: FALSE
  980. *RotateFont?: FALSE
  981. *switch: Orientation
  982. {
  983. *case: PORTRAIT
  984. {
  985. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  986. }
  987. *case: LANDSCAPE_CC270
  988. {
  989. *TextCaps: LIST(TC_RA_ABLE)
  990. }
  991. }
  992. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)
  993. *%--------------------
  994. *%- CursorMove -
  995. *%--------------------
  996. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  997. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  998. *MaxLineSpacing: 396
  999. *XMoveThreshold: 0
  1000. *XMoveUnit: 160
  1001. *AbsXMovesRightOnly?: TRUE
  1002. *% 136 keta x 16 dot(=CharWidth)
  1003. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2176]{max_repeat((DestX / 3) )} }
  1004. *LineSpacingMoveUnit: 120
  1005. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  1006. *Command: CmdCR { *Cmd : "<0D>" }
  1007. *Command: CmdLF { *Cmd : "<0A>" }
  1008. *Command: CmdFF { *Cmd : "<0D0C>" }
  1009. *Command: CmdBackSpace { *Cmd : "<08>" }
  1010. *OutputDataFormat: V_BYTE
  1011. *OptimizeLeftBound?: FALSE
  1012. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1013. *CursorYAfterSendBlockData: NO_MOVE
  1014. *%-----------------------
  1015. *%- PrinterFonts -
  1016. *%-----------------------
  1017. *DefaultFont: 4
  1018. *DefaultCTT: 1
  1019. *switch: Orientation
  1020. {
  1021. *case: PORTRAIT
  1022. {
  1023. *DeviceFonts: LIST(4,12,36,37,38,39,40,41,42,43,44,45,46,47,48,49,
  1024. + 50,51,52,53,54,55,77,78)
  1025. }
  1026. *case: LANDSCAPE_CC270
  1027. {
  1028. *DeviceFonts: LIST()
  1029. }
  1030. }
  1031. *%--------------------------------
  1032. *%- PrinterFontsAttributes -
  1033. *%--------------------------------
  1034. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  1035. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  1036. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  1037. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  1038. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  1039. *UseExpColorSelectCmd?: TRUE
  1040. *MoveToX0BeforeSetColor?: TRUE
  1041. *MirrorRasterByte?: TRUE