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.

953 lines
25 KiB

  1. *Include: "StdNames.gpd"
  2. *GPDSpecVersion: "1.0"
  3. *CodePage: 932
  4. *FontCartSlots: 1
  5. *GPDFileName: "OK532SEJ.GPD"
  6. *GPDFileVersion: "1.10"
  7. *MasterUnits: PAIR(360, 360)
  8. *ModelName: "OKI MICROLINE 5320SE"
  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,4320]{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(3816, 2844)
  223. *PrintableOrigin: PAIR(70, 62)
  224. }
  225. *case: USER_180x180DPI
  226. {
  227. *PrintableArea: PAIR(3816, 2844)
  228. *PrintableOrigin: PAIR(70, 62)
  229. }
  230. *case: USER_120x180DPI
  231. {
  232. *PrintableArea: PAIR(3816, 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(3816, 5820)
  250. *PrintableOrigin: PAIR(70, 62)
  251. }
  252. *case: USER_180x180DPI
  253. {
  254. *PrintableArea: PAIR(3816, 5820)
  255. *PrintableOrigin: PAIR(70, 62)
  256. }
  257. *case: USER_120x180DPI
  258. {
  259. *PrintableArea: PAIR(3816, 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: B5
  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(2439, 3510)
  412. *PrintableOrigin: PAIR(70, 62)
  413. }
  414. *case: USER_180x180DPI
  415. {
  416. *PrintableArea: PAIR(2438, 3510)
  417. *PrintableOrigin: PAIR(70, 62)
  418. }
  419. *case: USER_120x180DPI
  420. {
  421. *PrintableArea: PAIR(2439, 3510)
  422. *PrintableOrigin: PAIR(69, 62)
  423. }
  424. }
  425. }
  426. *Option: B5_JIS_ROTATED
  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(3502, 2446)
  439. *PrintableOrigin: PAIR(70, 62)
  440. }
  441. *case: USER_180x180DPI
  442. {
  443. *PrintableArea: PAIR(3502, 2446)
  444. *PrintableOrigin: PAIR(70, 62)
  445. }
  446. *case: USER_120x180DPI
  447. {
  448. *PrintableArea: PAIR(3504, 2446)
  449. *PrintableOrigin: PAIR(69, 62)
  450. }
  451. }
  452. }
  453. *Option: LETTER
  454. {
  455. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  456. *Command: CmdSelect
  457. {
  458. *Order: DOC_SETUP.8
  459. *Cmd: "<1B>2<1B>CD"
  460. }
  461. *switch: Resolution
  462. {
  463. *case: USER_360x180DPI
  464. {
  465. *PrintableArea: PAIR(2920, 3828)
  466. *PrintableOrigin: PAIR(70, 62)
  467. }
  468. *case: USER_180x180DPI
  469. {
  470. *PrintableArea: PAIR(2920, 3828)
  471. *PrintableOrigin: PAIR(70, 62)
  472. }
  473. *case: USER_120x180DPI
  474. {
  475. *PrintableArea: PAIR(2922, 3828)
  476. *PrintableOrigin: PAIR(69, 62)
  477. }
  478. }
  479. }
  480. *Option: LEGAL
  481. {
  482. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.8
  486. *Cmd: "<1B>2<1B>CV"
  487. }
  488. *switch: Resolution
  489. {
  490. *case: USER_360x180DPI
  491. {
  492. *PrintableArea: PAIR(2920, 4908)
  493. *PrintableOrigin: PAIR(70, 62)
  494. }
  495. *case: USER_180x180DPI
  496. {
  497. *PrintableArea: PAIR(2920, 4908)
  498. *PrintableOrigin: PAIR(70, 62)
  499. }
  500. *case: USER_120x180DPI
  501. {
  502. *PrintableArea: PAIR(2922, 4908)
  503. *PrintableOrigin: PAIR(69, 62)
  504. }
  505. }
  506. }
  507. *Option: JAPANESE_POSTCARD
  508. {
  509. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  510. *Command: CmdSelect
  511. {
  512. *Order: DOC_SETUP.8
  513. *Cmd: "<1B>2<1B>C<2525>"
  514. }
  515. *switch: Resolution
  516. {
  517. *case: USER_360x180DPI
  518. {
  519. *PrintableArea: PAIR(1277, 1964)
  520. *PrintableOrigin: PAIR(70, 62)
  521. }
  522. *case: USER_180x180DPI
  523. {
  524. *PrintableArea: PAIR(1276, 1964)
  525. *PrintableOrigin: PAIR(70, 62)
  526. }
  527. *case: USER_120x180DPI
  528. {
  529. *PrintableArea: PAIR(1278, 1964)
  530. *PrintableOrigin: PAIR(69, 62)
  531. }
  532. }
  533. }
  534. *Option: JAPANESE_POSTCARD_ROTATED
  535. {
  536. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  537. *Command: CmdSelect
  538. {
  539. *Order: DOC_SETUP.8
  540. *Cmd: "<1B>2<1B>C<1A>"
  541. }
  542. *switch: Resolution
  543. {
  544. *case: USER_360x180DPI
  545. {
  546. *PrintableArea: PAIR(1957, 1284)
  547. *PrintableOrigin: PAIR(70, 62)
  548. }
  549. *case: USER_180x180DPI
  550. {
  551. *PrintableArea: PAIR(1956, 1284)
  552. *PrintableOrigin: PAIR(70, 62)
  553. }
  554. *case: USER_120x180DPI
  555. {
  556. *PrintableArea: PAIR(1959, 1284)
  557. *PrintableOrigin: PAIR(69, 62)
  558. }
  559. }
  560. }
  561. *Option: DBL_JAPANESE_POSTCARD
  562. {
  563. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  564. *Command: CmdSelect
  565. {
  566. *Order: DOC_SETUP.8
  567. *Cmd: "<1B>2<1B>C<2525>"
  568. }
  569. *switch: Resolution
  570. {
  571. *case: USER_360x180DPI
  572. {
  573. *PrintableArea: PAIR(2694, 1964)
  574. *PrintableOrigin: PAIR(70, 62)
  575. }
  576. *case: USER_180x180DPI
  577. {
  578. *PrintableArea: PAIR(2694, 1964)
  579. *PrintableOrigin: PAIR(70, 62)
  580. }
  581. *case: USER_120x180DPI
  582. {
  583. *PrintableArea: PAIR(2694, 1964)
  584. *PrintableOrigin: PAIR(69, 62)
  585. }
  586. }
  587. }
  588. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  589. {
  590. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  591. *Command: CmdSelect
  592. {
  593. *Order: DOC_SETUP.8
  594. *Cmd: "<1B>2<1B>C1"
  595. }
  596. *switch: Resolution
  597. {
  598. *case: USER_360x180DPI
  599. {
  600. *PrintableArea: PAIR(1957, 2702)
  601. *PrintableOrigin: PAIR(70, 62)
  602. }
  603. *case: USER_180x180DPI
  604. {
  605. *PrintableArea: PAIR(1956, 2702)
  606. *PrintableOrigin: PAIR(70, 62)
  607. }
  608. *case: USER_120x180DPI
  609. {
  610. *PrintableArea: PAIR(1959, 2702)
  611. *PrintableOrigin: PAIR(69, 62)
  612. }
  613. }
  614. }
  615. *Option: JENV_CHOU4_ROTATED
  616. {
  617. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  618. *Command: CmdSelect
  619. {
  620. *Order: DOC_SETUP.8
  621. *Cmd: "<1B>2<1B>C<17>"
  622. }
  623. *switch: Resolution
  624. {
  625. *case: USER_360x180DPI
  626. {
  627. *PrintableArea: PAIR(2765, 1142)
  628. *PrintableOrigin: PAIR(70, 62)
  629. }
  630. *case: USER_180x180DPI
  631. {
  632. *PrintableArea: PAIR(2764, 1142)
  633. *PrintableOrigin: PAIR(70, 62)
  634. }
  635. *case: USER_120x180DPI
  636. {
  637. *PrintableArea: PAIR(2766, 1142)
  638. *PrintableOrigin: PAIR(69, 62)
  639. }
  640. }
  641. }
  642. *Option: JENV_CHOU3_ROTATED
  643. {
  644. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  645. *Command: CmdSelect
  646. {
  647. *Order: DOC_SETUP.8
  648. *Cmd: "<1B>2<1B>C<1E>"
  649. }
  650. *switch: Resolution
  651. {
  652. *case: USER_360x180DPI
  653. {
  654. *PrintableArea: PAIR(3190, 1568)
  655. *PrintableOrigin: PAIR(70, 62)
  656. }
  657. *case: USER_180x180DPI
  658. {
  659. *PrintableArea: PAIR(3190, 1568)
  660. *PrintableOrigin: PAIR(70, 62)
  661. }
  662. *case: USER_120x180DPI
  663. {
  664. *PrintableArea: PAIR(3192, 1568)
  665. *PrintableOrigin: PAIR(69, 62)
  666. }
  667. }
  668. }
  669. *Option: JENV_KAKU3_ROTATED
  670. {
  671. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  672. *Command: CmdSelect
  673. {
  674. *Order: DOC_SETUP.8
  675. *Cmd: "<1B>2<1B>C5"
  676. }
  677. *switch: Resolution
  678. {
  679. *case: USER_360x180DPI
  680. {
  681. *PrintableArea: PAIR(3785, 2928)
  682. *PrintableOrigin: PAIR(70, 62)
  683. }
  684. *case: USER_180x180DPI
  685. {
  686. *PrintableArea: PAIR(3784, 2928)
  687. *PrintableOrigin: PAIR(70, 62)
  688. }
  689. *case: USER_120x180DPI
  690. {
  691. *PrintableArea: PAIR(3786, 2928)
  692. *PrintableOrigin: PAIR(69, 62)
  693. }
  694. }
  695. }
  696. *Option: 10X11
  697. {
  698. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  699. *Command: CmdSelect
  700. {
  701. *Order: DOC_SETUP.8
  702. *Cmd: "<1B>C<000B>"
  703. }
  704. *switch: Resolution
  705. {
  706. *case: USER_360x180DPI
  707. {
  708. *PrintableArea: PAIR(3096, 3898)
  709. *PrintableOrigin: PAIR(252, 62)
  710. }
  711. *case: USER_180x180DPI
  712. {
  713. *PrintableArea: PAIR(3096, 3898)
  714. *PrintableOrigin: PAIR(252, 62)
  715. }
  716. *case: USER_120x180DPI
  717. {
  718. *PrintableArea: PAIR(3096, 3898)
  719. *PrintableOrigin: PAIR(252, 62)
  720. }
  721. }
  722. }
  723. *Option: 12X11
  724. {
  725. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  726. *Command: CmdSelect
  727. {
  728. *Order: DOC_SETUP.8
  729. *Cmd: "<1B>C<000B>"
  730. }
  731. *switch: Resolution
  732. {
  733. *case: USER_360x180DPI
  734. {
  735. *PrintableArea: PAIR(3817, 3898)
  736. *PrintableOrigin: PAIR(252, 62)
  737. }
  738. *case: USER_180x180DPI
  739. {
  740. *PrintableArea: PAIR(3816, 3898)
  741. *PrintableOrigin: PAIR(252, 62)
  742. }
  743. *case: USER_120x180DPI
  744. {
  745. *PrintableArea: PAIR(3816, 3898)
  746. *PrintableOrigin: PAIR(252, 62)
  747. }
  748. }
  749. }
  750. *Option: CUSTOMSIZE
  751. {
  752. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  753. *MinSize: PAIR(1080, 972)
  754. *MaxSize: PAIR(4320, 5976)
  755. *MaxPrintableWidth: 3817
  756. *MinLeftMargin: 0
  757. *CenterPrintable?: FALSE
  758. *switch: InputBin
  759. {
  760. *case: MANUAL
  761. {
  762. *CustCursorOriginX: %d{70}
  763. *CustCursorOriginY: %d{62}
  764. *CustPrintableOriginX: %d{70}
  765. *CustPrintableOriginY: %d{62}
  766. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  767. *CustPrintableSizeY: %d{PhysPaperLength-132}
  768. }
  769. *case: USER_CSF
  770. {
  771. *CustCursorOriginX: %d{70}
  772. *CustCursorOriginY: %d{62}
  773. *CustPrintableOriginX: %d{70}
  774. *CustPrintableOriginY: %d{62}
  775. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  776. *CustPrintableSizeY: %d{PhysPaperLength-132}
  777. }
  778. *case: USER_TRACTOR
  779. {
  780. *CustCursorOriginX: %d{70}
  781. *CustCursorOriginY: %d{62}
  782. *CustPrintableOriginX: %d{70}
  783. *CustPrintableOriginY: %d{62}
  784. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  785. *CustPrintableSizeY: %d{PhysPaperLength-62}
  786. }
  787. }
  788. *Command: CmdSelect
  789. {
  790. *Order: DOC_SETUP.8
  791. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  792. }
  793. }
  794. }
  795. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  796. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.12X11)
  797. *InvalidCombination: LIST(InputBin.USER_CSF, PaperSize.10X11)
  798. *InvalidCombination: LIST(InputBin.USER_CSF, PaperSize.12X11)
  799. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4)
  800. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4_ROTATED)
  801. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A3)
  802. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5)
  803. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5_ROTATED)
  804. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6)
  805. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6_ROTATED)
  806. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B4)
  807. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5)
  808. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5_JIS_ROTATED)
  809. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LETTER)
  810. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LEGAL)
  811. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD)
  812. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD_ROTATED)
  813. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD)
  814. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  815. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU4_ROTATED)
  816. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU3_ROTATED)
  817. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_KAKU3_ROTATED)
  818. *Feature: PrintQuality
  819. {
  820. *rcNameID: =TEXT_QUALITY_DISPLAY
  821. *DefaultOption: USER_HISPD_UNIDIR
  822. *Option: USER_HISPD_UNIDIR
  823. {
  824. *rcNameID: 4001
  825. *Command: CmdSelect
  826. {
  827. *Order: DOC_SETUP.6
  828. *Cmd: "<1B>x<001C>x<011B>U<01>"
  829. }
  830. }
  831. *Option: USER_HISPD_BIDIR
  832. {
  833. *rcNameID: 4002
  834. *Command: CmdSelect
  835. {
  836. *Order: DOC_SETUP.6
  837. *Cmd: "<1B>x<001C>x<011B>U<00>"
  838. }
  839. }
  840. *Option: USER_HIQTY_UNIDIR
  841. {
  842. *rcNameID: 4003
  843. *Command: CmdSelect
  844. {
  845. *Order: DOC_SETUP.6
  846. *Cmd: "<1B>x<011C>x<001B>U<01>"
  847. }
  848. }
  849. *Option: USER_HIQTY_BIDIR
  850. {
  851. *rcNameID: 4004
  852. *Command: CmdSelect
  853. {
  854. *Order: DOC_SETUP.6
  855. *Cmd: "<1B>x<011C>x<001B>U<00>"
  856. }
  857. }
  858. }
  859. *Feature: Halftone
  860. {
  861. *rcNameID: =HALFTONING_DISPLAY
  862. *DefaultOption: HT_PATSIZE_AUTO
  863. *Option: HT_PATSIZE_AUTO
  864. {
  865. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  866. }
  867. *Option: HT_PATSIZE_SUPERCELL_M
  868. {
  869. *rcNameID: =HT_SUPERCELL_DISPLAY
  870. }
  871. *Option: HT_PATSIZE_6x6_M
  872. {
  873. *rcNameID: =HT_DITHER6X6_DISPLAY
  874. }
  875. *Option: HT_PATSIZE_8x8_M
  876. {
  877. *rcNameID: =HT_DITHER8X8_DISPLAY
  878. }
  879. }
  880. *switch: Orientation
  881. {
  882. *case: PORTRAIT
  883. {
  884. *DeviceFonts: LIST(19,21,32,34)
  885. }
  886. *case: LANDSCAPE_CC270
  887. {
  888. *DeviceFonts: LIST()
  889. }
  890. }
  891. *FontCartridge: USER_GOTHIC_FC
  892. {
  893. *rcCartridgeNameID: 5001
  894. *PortraitFonts: LIST(7,8,9,10)
  895. *LandscapeFonts: LIST()
  896. }
  897. *FontCartridge: USER_OLDJIS_FC
  898. {
  899. *rcCartridgeNameID: 5002
  900. *PortraitFonts: LIST(13,14,15,16)
  901. *LandscapeFonts: LIST()
  902. }
  903. *FontCartridge: USER_ANK_FC
  904. {
  905. *rcCartridgeNameID: 5003
  906. *PortraitFonts: LIST(25,26,27,28,29,30,31)
  907. *LandscapeFonts: LIST()
  908. }