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.

1150 lines
33 KiB

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