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.

1045 lines
28 KiB

  1. *Include: "StdNames.gpd"
  2. *GPDSpecVersion: "1.0"
  3. *CodePage: 932
  4. *GPDFileName: "OK835SEJ.GPD"
  5. *GPDFileVersion: "1.10"
  6. *MasterUnits: PAIR(360, 360)
  7. *ModelName: "OKI MICROLINE 8350SE"
  8. *PrinterType: SERIAL
  9. *ResourceDLL: "OKSEJRES.Dll"
  10. *RotateCoordinate?: FALSE
  11. *RotateFont?: FALSE
  12. *RotateRaster?: FALSE
  13. *switch: Orientation
  14. {
  15. *case: PORTRAIT
  16. {
  17. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  18. }
  19. *case: LANDSCAPE_CC270
  20. {
  21. *TextCaps: LIST(TC_RA_ABLE)
  22. }
  23. }
  24. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  25. *EjectPageWithFF?: TRUE
  26. *MaxLineSpacing: 255
  27. *XMoveThreshold: 0
  28. *XMoveUnit: 60
  29. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  30. *YMoveThreshold: *
  31. *YMoveUnit: 180
  32. *DefaultFont: 32
  33. *DefaultCTT: -1
  34. *CursorXAfterSendBlockData: AT_GRXDATA_END
  35. *CursorYAfterSendBlockData: NO_MOVE
  36. *OptimizeLeftBound?: TRUE
  37. *OutputDataFormat: V_BYTE
  38. *Command: CmdStartDoc
  39. {
  40. *Order: DOC_SETUP.1
  41. *Cmd: "<1B>@<181B>t<011B>R<08>"
  42. }
  43. *Command: CmdStartPage
  44. {
  45. *Order: PAGE_SETUP.1
  46. *Cmd: "<0D>"
  47. }
  48. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  49. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  50. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  51. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  52. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  53. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }
  54. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,5940]{max_repeat((DestX / 6) )} }
  55. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  56. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  57. *Command: CmdCR { *Cmd : "<0D>" }
  58. *Command: CmdLF { *Cmd : "<0A>" }
  59. *Command: CmdFF { *Cmd : "<0C>" }
  60. *Command: CmdBackSpace { *Cmd : "<08>" }
  61. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  62. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  63. *Feature: Orientation
  64. {
  65. *rcNameID: =ORIENTATION_DISPLAY
  66. *DefaultOption: PORTRAIT
  67. *Option: PORTRAIT
  68. {
  69. *rcNameID: =PORTRAIT_DISPLAY
  70. }
  71. *Option: LANDSCAPE_CC270
  72. {
  73. *rcNameID: =LANDSCAPE_DISPLAY
  74. }
  75. }
  76. *Feature: InputBin
  77. {
  78. *rcNameID: =PAPER_SOURCE_DISPLAY
  79. *DefaultOption: MANUAL
  80. *Option: MANUAL
  81. {
  82. *rcNameID: =MANUAL_FEED_DISPLAY
  83. *Command: CmdSelect
  84. {
  85. *Order: DOC_SETUP.7
  86. *Cmd: "<1B>O"
  87. }
  88. }
  89. *Option: USER_FRONT_CSF
  90. {
  91. *rcNameID: 2002
  92. *OptionID: 2002
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.7
  96. *Cmd: "<1B>O<1B19>1"
  97. }
  98. }
  99. *Option: USER_REAR_CSF
  100. {
  101. *rcNameID: 2003
  102. *OptionID: 2003
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.7
  106. *Cmd: "<1B>O<1B19>2"
  107. }
  108. }
  109. *Option: USER_TRACTOR
  110. {
  111. *rcNameID: 2004
  112. *OptionID: 2004
  113. *Command: CmdSelect
  114. {
  115. *Order: DOC_SETUP.7
  116. *Cmd: "<1B>O"
  117. }
  118. }
  119. }
  120. *Feature: OutputBin
  121. {
  122. *rcNameID: =OUTPUTBIN_DISPLAY
  123. *DefaultOption: USER_NOOUTBIN
  124. *Option: USER_NOOUTBIN
  125. {
  126. *rcNameID: 3003
  127. }
  128. *Option: USER_TABLE
  129. {
  130. *rcNameID: 3001
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.9
  134. *Cmd: "<1B>|<01010000>"
  135. }
  136. }
  137. *Option: USER_STACKER
  138. {
  139. *rcNameID: 3002
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.9
  143. *Cmd: "<1B>|<01010001>"
  144. }
  145. }
  146. }
  147. *Feature: Resolution
  148. {
  149. *rcNameID: =RESOLUTION_DISPLAY
  150. *DefaultOption: USER_180x180DPI
  151. *Option: USER_360x180DPI
  152. {
  153. *Name: "360 x 180 " =DOTS_PER_INCH
  154. *DPI: PAIR(360, 180)
  155. *TextDPI: PAIR(360, 180)
  156. *PinsPerLogPass: 24
  157. *PinsPerPhysPass: 24
  158. *MinStripBlankPixels: 720
  159. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  160. *SpotDiameter: 170
  161. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  162. }
  163. *Option: USER_180x180DPI
  164. {
  165. *Name: "180 x 180 " =DOTS_PER_INCH
  166. *DPI: PAIR(180, 180)
  167. *TextDPI: PAIR(180, 180)
  168. *PinsPerLogPass: 24
  169. *PinsPerPhysPass: 24
  170. *MinStripBlankPixels: 360
  171. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  172. *SpotDiameter: 140
  173. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  174. }
  175. *Option: USER_120x180DPI
  176. {
  177. *Name: "120 x 180 " =DOTS_PER_INCH
  178. *DPI: PAIR(120, 180)
  179. *TextDPI: PAIR(120, 180)
  180. *PinsPerLogPass: 24
  181. *PinsPerPhysPass: 24
  182. *MinStripBlankPixels: 240
  183. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  184. *SpotDiameter: 120
  185. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  186. }
  187. }
  188. *Feature: PaperSize
  189. {
  190. *rcNameID: =PAPER_SIZE_DISPLAY
  191. *DefaultOption: A4
  192. *Option: A4
  193. {
  194. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.8
  198. *Cmd: "<1B>2<1B>CH"
  199. }
  200. *switch: Resolution
  201. {
  202. *case: USER_360x180DPI
  203. {
  204. *PrintableArea: PAIR(2836, 4076)
  205. *PrintableOrigin: PAIR(70, 62)
  206. }
  207. *case: USER_180x180DPI
  208. {
  209. *PrintableArea: PAIR(2836, 4076)
  210. *PrintableOrigin: PAIR(70, 62)
  211. }
  212. *case: USER_120x180DPI
  213. {
  214. *PrintableArea: PAIR(2838, 4076)
  215. *PrintableOrigin: PAIR(69, 62)
  216. }
  217. }
  218. }
  219. *Option: A4_ROTATED
  220. {
  221. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.8
  225. *Cmd: "<1B>2<1B>C4"
  226. }
  227. *switch: Resolution
  228. {
  229. *case: USER_360x180DPI
  230. {
  231. *PrintableArea: PAIR(4069, 2844)
  232. *PrintableOrigin: PAIR(70, 62)
  233. }
  234. *case: USER_180x180DPI
  235. {
  236. *PrintableArea: PAIR(4068, 2844)
  237. *PrintableOrigin: PAIR(70, 62)
  238. }
  239. *case: USER_120x180DPI
  240. {
  241. *PrintableArea: PAIR(4071, 2844)
  242. *PrintableOrigin: PAIR(69, 62)
  243. }
  244. }
  245. }
  246. *Option: A3
  247. {
  248. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.8
  252. *Cmd: "<1B>2<1B>Ce"
  253. }
  254. *switch: Resolution
  255. {
  256. *case: USER_360x180DPI
  257. {
  258. *PrintableArea: PAIR(4069, 5820)
  259. *PrintableOrigin: PAIR(70, 62)
  260. }
  261. *case: USER_180x180DPI
  262. {
  263. *PrintableArea: PAIR(4068, 5820)
  264. *PrintableOrigin: PAIR(70, 62)
  265. }
  266. *case: USER_120x180DPI
  267. {
  268. *PrintableArea: PAIR(4071, 5820)
  269. *PrintableOrigin: PAIR(69, 62)
  270. }
  271. }
  272. }
  273. *Option: A5
  274. {
  275. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  276. *Command: CmdSelect
  277. {
  278. *Order: DOC_SETUP.8
  279. *Cmd: "<1B>2<1B>C4"
  280. }
  281. *switch: Resolution
  282. {
  283. *case: USER_360x180DPI
  284. {
  285. *PrintableArea: PAIR(1957, 2844)
  286. *PrintableOrigin: PAIR(70, 62)
  287. }
  288. *case: USER_180x180DPI
  289. {
  290. *PrintableArea: PAIR(1956, 2844)
  291. *PrintableOrigin: PAIR(70, 62)
  292. }
  293. *case: USER_120x180DPI
  294. {
  295. *PrintableArea: PAIR(1959, 2844)
  296. *PrintableOrigin: PAIR(69, 62)
  297. }
  298. }
  299. }
  300. *Option: A5_ROTATED
  301. {
  302. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.8
  306. *Cmd: "<1B>2<1B>C<2525>"
  307. }
  308. *switch: Resolution
  309. {
  310. *case: USER_360x180DPI
  311. {
  312. *PrintableArea: PAIR(2836, 1964)
  313. *PrintableOrigin: PAIR(70, 62)
  314. }
  315. *case: USER_180x180DPI
  316. {
  317. *PrintableArea: PAIR(2836, 1964)
  318. *PrintableOrigin: PAIR(70, 62)
  319. }
  320. *case: USER_120x180DPI
  321. {
  322. *PrintableArea: PAIR(2838, 1964)
  323. *PrintableOrigin: PAIR(69, 62)
  324. }
  325. }
  326. }
  327. *Option: A6
  328. {
  329. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.8
  333. *Cmd: "<1B>2<1B>C<2525>"
  334. }
  335. *switch: Resolution
  336. {
  337. *case: USER_360x180DPI
  338. {
  339. *PrintableArea: PAIR(1348, 1964)
  340. *PrintableOrigin: PAIR(70, 62)
  341. }
  342. *case: USER_180x180DPI
  343. {
  344. *PrintableArea: PAIR(1348, 1964)
  345. *PrintableOrigin: PAIR(70, 62)
  346. }
  347. *case: USER_120x180DPI
  348. {
  349. *PrintableArea: PAIR(1350, 1964)
  350. *PrintableOrigin: PAIR(69, 62)
  351. }
  352. }
  353. }
  354. *Option: A6_ROTATED
  355. {
  356. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  357. *Command: CmdSelect
  358. {
  359. *Order: DOC_SETUP.8
  360. *Cmd: "<1B>2<1B>C<1B>"
  361. }
  362. *switch: Resolution
  363. {
  364. *case: USER_360x180DPI
  365. {
  366. *PrintableArea: PAIR(1957, 1356)
  367. *PrintableOrigin: PAIR(70, 62)
  368. }
  369. *case: USER_180x180DPI
  370. {
  371. *PrintableArea: PAIR(1956, 1356)
  372. *PrintableOrigin: PAIR(70, 62)
  373. }
  374. *case: USER_120x180DPI
  375. {
  376. *PrintableArea: PAIR(1959, 1356)
  377. *PrintableOrigin: PAIR(69, 62)
  378. }
  379. }
  380. }
  381. *Option: B4
  382. {
  383. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  384. *Command: CmdSelect
  385. {
  386. *Order: DOC_SETUP.8
  387. *Cmd: "<1B>2<1B>CX"
  388. }
  389. *switch: Resolution
  390. {
  391. *case: USER_360x180DPI
  392. {
  393. *PrintableArea: PAIR(3502, 5026)
  394. *PrintableOrigin: PAIR(70, 62)
  395. }
  396. *case: USER_180x180DPI
  397. {
  398. *PrintableArea: PAIR(3502, 5026)
  399. *PrintableOrigin: PAIR(70, 62)
  400. }
  401. *case: USER_120x180DPI
  402. {
  403. *PrintableArea: PAIR(3504, 5026)
  404. *PrintableOrigin: PAIR(69, 62)
  405. }
  406. }
  407. }
  408. *Option: B4_JIS_ROTATED
  409. {
  410. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  411. *Command: CmdSelect
  412. {
  413. *Order: DOC_SETUP.8
  414. *Cmd: "<1B>2<1B>C?"
  415. }
  416. *switch: Resolution
  417. {
  418. *case: USER_360x180DPI
  419. {
  420. *PrintableArea: PAIR(4896, 3510)
  421. *PrintableOrigin: PAIR(70, 62)
  422. }
  423. *case: USER_180x180DPI
  424. {
  425. *PrintableArea: PAIR(4896, 3510)
  426. *PrintableOrigin: PAIR(70, 62)
  427. }
  428. *case: USER_120x180DPI
  429. {
  430. *PrintableArea: PAIR(4896, 3510)
  431. *PrintableOrigin: PAIR(69, 62)
  432. }
  433. }
  434. }
  435. *Option: B5
  436. {
  437. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.8
  441. *Cmd: "<1B>2<1B>C?"
  442. }
  443. *switch: Resolution
  444. {
  445. *case: USER_360x180DPI
  446. {
  447. *PrintableArea: PAIR(2439, 3510)
  448. *PrintableOrigin: PAIR(70, 62)
  449. }
  450. *case: USER_180x180DPI
  451. {
  452. *PrintableArea: PAIR(2438, 3510)
  453. *PrintableOrigin: PAIR(70, 62)
  454. }
  455. *case: USER_120x180DPI
  456. {
  457. *PrintableArea: PAIR(2439, 3510)
  458. *PrintableOrigin: PAIR(69, 62)
  459. }
  460. }
  461. }
  462. *Option: B5_JIS_ROTATED
  463. {
  464. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.8
  468. *Cmd: "<1B>2<1B>C-"
  469. }
  470. *switch: Resolution
  471. {
  472. *case: USER_360x180DPI
  473. {
  474. *PrintableArea: PAIR(3502, 2446)
  475. *PrintableOrigin: PAIR(70, 62)
  476. }
  477. *case: USER_180x180DPI
  478. {
  479. *PrintableArea: PAIR(3502, 2446)
  480. *PrintableOrigin: PAIR(70, 62)
  481. }
  482. *case: USER_120x180DPI
  483. {
  484. *PrintableArea: PAIR(3504, 2446)
  485. *PrintableOrigin: PAIR(69, 62)
  486. }
  487. }
  488. }
  489. *Option: LETTER
  490. {
  491. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  492. *Command: CmdSelect
  493. {
  494. *Order: DOC_SETUP.8
  495. *Cmd: "<1B>2<1B>CD"
  496. }
  497. *switch: Resolution
  498. {
  499. *case: USER_360x180DPI
  500. {
  501. *PrintableArea: PAIR(2920, 3828)
  502. *PrintableOrigin: PAIR(70, 62)
  503. }
  504. *case: USER_180x180DPI
  505. {
  506. *PrintableArea: PAIR(2920, 3828)
  507. *PrintableOrigin: PAIR(70, 62)
  508. }
  509. *case: USER_120x180DPI
  510. {
  511. *PrintableArea: PAIR(2922, 3828)
  512. *PrintableOrigin: PAIR(69, 62)
  513. }
  514. }
  515. }
  516. *Option: LEGAL
  517. {
  518. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  519. *Command: CmdSelect
  520. {
  521. *Order: DOC_SETUP.8
  522. *Cmd: "<1B>2<1B>CV"
  523. }
  524. *switch: Resolution
  525. {
  526. *case: USER_360x180DPI
  527. {
  528. *PrintableArea: PAIR(2920, 4908)
  529. *PrintableOrigin: PAIR(70, 62)
  530. }
  531. *case: USER_180x180DPI
  532. {
  533. *PrintableArea: PAIR(2920, 4908)
  534. *PrintableOrigin: PAIR(70, 62)
  535. }
  536. *case: USER_120x180DPI
  537. {
  538. *PrintableArea: PAIR(2922, 4908)
  539. *PrintableOrigin: PAIR(69, 62)
  540. }
  541. }
  542. }
  543. *Option: JAPANESE_POSTCARD
  544. {
  545. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  546. *Command: CmdSelect
  547. {
  548. *Order: DOC_SETUP.8
  549. *Cmd: "<1B>2<1B>C<2525>"
  550. }
  551. *switch: Resolution
  552. {
  553. *case: USER_360x180DPI
  554. {
  555. *PrintableArea: PAIR(1277, 1964)
  556. *PrintableOrigin: PAIR(70, 62)
  557. }
  558. *case: USER_180x180DPI
  559. {
  560. *PrintableArea: PAIR(1276, 1964)
  561. *PrintableOrigin: PAIR(70, 62)
  562. }
  563. *case: USER_120x180DPI
  564. {
  565. *PrintableArea: PAIR(1278, 1964)
  566. *PrintableOrigin: PAIR(69, 62)
  567. }
  568. }
  569. }
  570. *Option: JAPANESE_POSTCARD_ROTATED
  571. {
  572. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  573. *Command: CmdSelect
  574. {
  575. *Order: DOC_SETUP.8
  576. *Cmd: "<1B>2<1B>C<1A>"
  577. }
  578. *switch: Resolution
  579. {
  580. *case: USER_360x180DPI
  581. {
  582. *PrintableArea: PAIR(1957, 1284)
  583. *PrintableOrigin: PAIR(70, 62)
  584. }
  585. *case: USER_180x180DPI
  586. {
  587. *PrintableArea: PAIR(1956, 1284)
  588. *PrintableOrigin: PAIR(70, 62)
  589. }
  590. *case: USER_120x180DPI
  591. {
  592. *PrintableArea: PAIR(1959, 1284)
  593. *PrintableOrigin: PAIR(69, 62)
  594. }
  595. }
  596. }
  597. *Option: DBL_JAPANESE_POSTCARD
  598. {
  599. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  600. *Command: CmdSelect
  601. {
  602. *Order: DOC_SETUP.8
  603. *Cmd: "<1B>2<1B>C<2525>"
  604. }
  605. *switch: Resolution
  606. {
  607. *case: USER_360x180DPI
  608. {
  609. *PrintableArea: PAIR(2694, 1964)
  610. *PrintableOrigin: PAIR(70, 62)
  611. }
  612. *case: USER_180x180DPI
  613. {
  614. *PrintableArea: PAIR(2694, 1964)
  615. *PrintableOrigin: PAIR(70, 62)
  616. }
  617. *case: USER_120x180DPI
  618. {
  619. *PrintableArea: PAIR(2694, 1964)
  620. *PrintableOrigin: PAIR(69, 62)
  621. }
  622. }
  623. }
  624. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  625. {
  626. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  627. *Command: CmdSelect
  628. {
  629. *Order: DOC_SETUP.8
  630. *Cmd: "<1B>2<1B>C1"
  631. }
  632. *switch: Resolution
  633. {
  634. *case: USER_360x180DPI
  635. {
  636. *PrintableArea: PAIR(1957, 2702)
  637. *PrintableOrigin: PAIR(70, 62)
  638. }
  639. *case: USER_180x180DPI
  640. {
  641. *PrintableArea: PAIR(1956, 2702)
  642. *PrintableOrigin: PAIR(70, 62)
  643. }
  644. *case: USER_120x180DPI
  645. {
  646. *PrintableArea: PAIR(1959, 2702)
  647. *PrintableOrigin: PAIR(69, 62)
  648. }
  649. }
  650. }
  651. *Option: JENV_CHOU4_ROTATED
  652. {
  653. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  654. *Command: CmdSelect
  655. {
  656. *Order: DOC_SETUP.8
  657. *Cmd: "<1B>2<1B>C<17>"
  658. }
  659. *switch: Resolution
  660. {
  661. *case: USER_360x180DPI
  662. {
  663. *PrintableArea: PAIR(2765, 1142)
  664. *PrintableOrigin: PAIR(70, 62)
  665. }
  666. *case: USER_180x180DPI
  667. {
  668. *PrintableArea: PAIR(2764, 1142)
  669. *PrintableOrigin: PAIR(70, 62)
  670. }
  671. *case: USER_120x180DPI
  672. {
  673. *PrintableArea: PAIR(2766, 1142)
  674. *PrintableOrigin: PAIR(69, 62)
  675. }
  676. }
  677. }
  678. *Option: JENV_CHOU3_ROTATED
  679. {
  680. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  681. *Command: CmdSelect
  682. {
  683. *Order: DOC_SETUP.8
  684. *Cmd: "<1B>2<1B>C<1E>"
  685. }
  686. *switch: Resolution
  687. {
  688. *case: USER_360x180DPI
  689. {
  690. *PrintableArea: PAIR(3190, 1568)
  691. *PrintableOrigin: PAIR(70, 62)
  692. }
  693. *case: USER_180x180DPI
  694. {
  695. *PrintableArea: PAIR(3190, 1568)
  696. *PrintableOrigin: PAIR(70, 62)
  697. }
  698. *case: USER_120x180DPI
  699. {
  700. *PrintableArea: PAIR(3192, 1568)
  701. *PrintableOrigin: PAIR(69, 62)
  702. }
  703. }
  704. }
  705. *Option: JENV_KAKU3_ROTATED
  706. {
  707. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  708. *Command: CmdSelect
  709. {
  710. *Order: DOC_SETUP.8
  711. *Cmd: "<1B>2<1B>C5"
  712. }
  713. *switch: Resolution
  714. {
  715. *case: USER_360x180DPI
  716. {
  717. *PrintableArea: PAIR(3785, 2928)
  718. *PrintableOrigin: PAIR(70, 62)
  719. }
  720. *case: USER_180x180DPI
  721. {
  722. *PrintableArea: PAIR(3784, 2928)
  723. *PrintableOrigin: PAIR(70, 62)
  724. }
  725. *case: USER_120x180DPI
  726. {
  727. *PrintableArea: PAIR(3786, 2928)
  728. *PrintableOrigin: PAIR(69, 62)
  729. }
  730. }
  731. }
  732. *Option: JENV_KAKU2_ROTATED
  733. {
  734. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  735. *Command: CmdSelect
  736. {
  737. *Order: DOC_SETUP.8
  738. *Cmd: "<1B>2<1B>C;"
  739. }
  740. *switch: Resolution
  741. {
  742. *case: USER_360x180DPI
  743. {
  744. *PrintableArea: PAIR(4565, 3268)
  745. *PrintableOrigin: PAIR(70, 62)
  746. }
  747. *case: USER_180x180DPI
  748. {
  749. *PrintableArea: PAIR(4564, 3268)
  750. *PrintableOrigin: PAIR(70, 62)
  751. }
  752. *case: USER_120x180DPI
  753. {
  754. *PrintableArea: PAIR(4566, 3268)
  755. *PrintableOrigin: PAIR(69, 62)
  756. }
  757. }
  758. }
  759. *Option: 10X11
  760. {
  761. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  762. *Command: CmdSelect
  763. {
  764. *Order: DOC_SETUP.8
  765. *Cmd: "<1B>C<000B>"
  766. }
  767. *switch: Resolution
  768. {
  769. *case: USER_360x180DPI
  770. {
  771. *PrintableArea: PAIR(3096, 3898)
  772. *PrintableOrigin: PAIR(252, 62)
  773. }
  774. *case: USER_180x180DPI
  775. {
  776. *PrintableArea: PAIR(3096, 3898)
  777. *PrintableOrigin: PAIR(252, 62)
  778. }
  779. *case: USER_120x180DPI
  780. {
  781. *PrintableArea: PAIR(3096, 3898)
  782. *PrintableOrigin: PAIR(252, 62)
  783. }
  784. }
  785. }
  786. *Option: 12X11
  787. {
  788. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  789. *Command: CmdSelect
  790. {
  791. *Order: DOC_SETUP.8
  792. *Cmd: "<1B>C<000B>"
  793. }
  794. *switch: Resolution
  795. {
  796. *case: USER_360x180DPI
  797. {
  798. *PrintableArea: PAIR(3817, 3898)
  799. *PrintableOrigin: PAIR(252, 62)
  800. }
  801. *case: USER_180x180DPI
  802. {
  803. *PrintableArea: PAIR(3816, 3898)
  804. *PrintableOrigin: PAIR(252, 62)
  805. }
  806. *case: USER_120x180DPI
  807. {
  808. *PrintableArea: PAIR(3816, 3898)
  809. *PrintableOrigin: PAIR(252, 62)
  810. }
  811. }
  812. }
  813. *Option: 15X11
  814. {
  815. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  816. *Command: CmdSelect
  817. {
  818. *Order: DOC_SETUP.8
  819. *Cmd: "<1B>C<000B>"
  820. }
  821. *switch: Resolution
  822. {
  823. *case: USER_360x180DPI
  824. {
  825. *PrintableArea: PAIR(4896, 3898)
  826. *PrintableOrigin: PAIR(252, 62)
  827. }
  828. *case: USER_180x180DPI
  829. {
  830. *PrintableArea: PAIR(4896, 3898)
  831. *PrintableOrigin: PAIR(252, 62)
  832. }
  833. *case: USER_120x180DPI
  834. {
  835. *PrintableArea: PAIR(4896, 3898)
  836. *PrintableOrigin: PAIR(252, 62)
  837. }
  838. }
  839. }
  840. *Option: CUSTOMSIZE
  841. {
  842. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  843. *MinSize: PAIR(755, 972)
  844. *MaxSize: PAIR(5976, 5976)
  845. *MaxPrintableWidth: 4896
  846. *MinLeftMargin: 0
  847. *CenterPrintable?: FALSE
  848. *switch: InputBin
  849. {
  850. *case: MANUAL
  851. {
  852. *CustCursorOriginX: %d{70}
  853. *CustCursorOriginY: %d{62}
  854. *CustPrintableOriginX: %d{70}
  855. *CustPrintableOriginY: %d{62}
  856. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  857. *CustPrintableSizeY: %d{PhysPaperLength-132}
  858. }
  859. *case: USER_FRONT_CSF
  860. {
  861. *CustCursorOriginX: %d{70}
  862. *CustCursorOriginY: %d{62}
  863. *CustPrintableOriginX: %d{70}
  864. *CustPrintableOriginY: %d{62}
  865. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  866. *CustPrintableSizeY: %d{PhysPaperLength-132}
  867. }
  868. *case: USER_REAR_CSF
  869. {
  870. *CustCursorOriginX: %d{70}
  871. *CustCursorOriginY: %d{62}
  872. *CustPrintableOriginX: %d{70}
  873. *CustPrintableOriginY: %d{62}
  874. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  875. *CustPrintableSizeY: %d{PhysPaperLength-132}
  876. }
  877. *case: USER_TRACTOR
  878. {
  879. *CustCursorOriginX: %d{70}
  880. *CustCursorOriginY: %d{62}
  881. *CustPrintableOriginX: %d{70}
  882. *CustPrintableOriginY: %d{62}
  883. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  884. *CustPrintableSizeY: %d{PhysPaperLength-62}
  885. }
  886. }
  887. *Command: CmdSelect
  888. {
  889. *Order: DOC_SETUP.8
  890. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  891. }
  892. }
  893. }
  894. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  895. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.12X11)
  896. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.15X11)
  897. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4)
  898. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4_ROTATED)
  899. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A3)
  900. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5)
  901. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5_ROTATED)
  902. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6)
  903. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6_ROTATED)
  904. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B4)
  905. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B4_JIS_ROTATED)
  906. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5)
  907. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5_JIS_ROTATED)
  908. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LETTER)
  909. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LEGAL)
  910. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD)
  911. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD_ROTATED)
  912. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD)
  913. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  914. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU4_ROTATED)
  915. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU3_ROTATED)
  916. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_KAKU3_ROTATED)
  917. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_KAKU2_ROTATED)
  918. *InvalidCombination: LIST(InputBin.USER_FRONT_CSF, PaperSize.10X11)
  919. *InvalidCombination: LIST(InputBin.USER_FRONT_CSF, PaperSize.12X11)
  920. *InvalidCombination: LIST(InputBin.USER_FRONT_CSF, PaperSize.15X11)
  921. *InvalidCombination: LIST(InputBin.USER_FRONT_CSF, PaperSize.JENV_KAKU2_ROTATED)
  922. *InvalidCombination: LIST(InputBin.USER_REAR_CSF, PaperSize.10X11)
  923. *InvalidCombination: LIST(InputBin.USER_REAR_CSF, PaperSize.12X11)
  924. *InvalidCombination: LIST(InputBin.USER_REAR_CSF, PaperSize.15X11)
  925. *InvalidCombination: LIST(InputBin.USER_REAR_CSF, PaperSize.JENV_KAKU2_ROTATED)
  926. *Feature: PrintQuality
  927. {
  928. *rcNameID: =TEXT_QUALITY_DISPLAY
  929. *DefaultOption: USER_HISPD_UNIDIR
  930. *Option: USER_HISPD_UNIDIR
  931. {
  932. *rcNameID: 4001
  933. *Command: CmdSelect
  934. {
  935. *Order: DOC_SETUP.6
  936. *Cmd: "<1B>x<001C>x<011B>U<01>"
  937. }
  938. }
  939. *Option: USER_HISPD_BIDIR
  940. {
  941. *rcNameID: 4002
  942. *Command: CmdSelect
  943. {
  944. *Order: DOC_SETUP.6
  945. *Cmd: "<1B>x<001C>x<011B>U<00>"
  946. }
  947. }
  948. *Option: USER_HIQTY_UNIDIR
  949. {
  950. *rcNameID: 4003
  951. *Command: CmdSelect
  952. {
  953. *Order: DOC_SETUP.6
  954. *Cmd: "<1B>x<011C>x<001B>U<01>"
  955. }
  956. }
  957. *Option: USER_HIQTY_BIDIR
  958. {
  959. *rcNameID: 4004
  960. *Command: CmdSelect
  961. {
  962. *Order: DOC_SETUP.6
  963. *Cmd: "<1B>x<011C>x<001B>U<00>"
  964. }
  965. }
  966. }
  967. *Feature: Halftone
  968. {
  969. *rcNameID: =HALFTONING_DISPLAY
  970. *DefaultOption: HT_PATSIZE_AUTO
  971. *Option: HT_PATSIZE_AUTO
  972. {
  973. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  974. }
  975. *Option: HT_PATSIZE_SUPERCELL_M
  976. {
  977. *rcNameID: =HT_SUPERCELL_DISPLAY
  978. }
  979. *Option: HT_PATSIZE_6x6_M
  980. {
  981. *rcNameID: =HT_DITHER6X6_DISPLAY
  982. }
  983. *Option: HT_PATSIZE_8x8_M
  984. {
  985. *rcNameID: =HT_DITHER8X8_DISPLAY
  986. }
  987. }
  988. *switch: Orientation
  989. {
  990. *case: PORTRAIT
  991. {
  992. *DeviceFonts: LIST(19,21,25,26,27,31,32,34)
  993. }
  994. *case: LANDSCAPE_CC270
  995. {
  996. *DeviceFonts: LIST()
  997. }
  998. }