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.

1104 lines
31 KiB

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