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.

1028 lines
29 KiB

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