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.

1043 lines
28 KiB

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