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.

935 lines
25 KiB

  1. *Include: "StdNames.gpd"
  2. *GPDSpecVersion: "1.0"
  3. *CodePage: 932
  4. *GPDFileName: "OK535SEJ.GPD"
  5. *GPDFileVersion: "1.10"
  6. *MasterUnits: PAIR(360, 360)
  7. *ModelName: "OKI MICROLINE 5350SE"
  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,4320]{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_CSF
  90. {
  91. *rcNameID: 2001
  92. *OptionID: 2001
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.7
  96. *Cmd: "<1B>O<1B>|<12020001011B19>4"
  97. }
  98. }
  99. *Option: USER_TRACTOR
  100. {
  101. *rcNameID: 2004
  102. *OptionID: 2004
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.7
  106. *Cmd: "<1B>O<1B>|<1202000100>"
  107. }
  108. }
  109. }
  110. *Feature: OutputBin
  111. {
  112. *rcNameID: =OUTPUTBIN_DISPLAY
  113. *DefaultOption: USER_NOOUTBIN
  114. *Option: USER_NOOUTBIN
  115. {
  116. *rcNameID: 3003
  117. }
  118. *Option: USER_TABLE
  119. {
  120. *rcNameID: 3001
  121. *Command: CmdSelect
  122. {
  123. *Order: DOC_SETUP.9
  124. *Cmd: "<1B>|<01010000>"
  125. }
  126. }
  127. *Option: USER_STACKER
  128. {
  129. *rcNameID: 3002
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.9
  133. *Cmd: "<1B>|<01010001>"
  134. }
  135. }
  136. }
  137. *Feature: Resolution
  138. {
  139. *rcNameID: =RESOLUTION_DISPLAY
  140. *DefaultOption: USER_180x180DPI
  141. *Option: USER_360x180DPI
  142. {
  143. *Name: "360 x 180 " =DOTS_PER_INCH
  144. *DPI: PAIR(360, 180)
  145. *TextDPI: PAIR(360, 180)
  146. *PinsPerLogPass: 24
  147. *PinsPerPhysPass: 24
  148. *MinStripBlankPixels: 720
  149. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  150. *SpotDiameter: 170
  151. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  152. }
  153. *Option: USER_180x180DPI
  154. {
  155. *Name: "180 x 180 " =DOTS_PER_INCH
  156. *DPI: PAIR(180, 180)
  157. *TextDPI: PAIR(180, 180)
  158. *PinsPerLogPass: 24
  159. *PinsPerPhysPass: 24
  160. *MinStripBlankPixels: 360
  161. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  162. *SpotDiameter: 140
  163. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  164. }
  165. *Option: USER_120x180DPI
  166. {
  167. *Name: "120 x 180 " =DOTS_PER_INCH
  168. *DPI: PAIR(120, 180)
  169. *TextDPI: PAIR(120, 180)
  170. *PinsPerLogPass: 24
  171. *PinsPerPhysPass: 24
  172. *MinStripBlankPixels: 240
  173. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  174. *SpotDiameter: 120
  175. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  176. }
  177. }
  178. *Feature: PaperSize
  179. {
  180. *rcNameID: =PAPER_SIZE_DISPLAY
  181. *DefaultOption: A4
  182. *Option: A4
  183. {
  184. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  185. *Command: CmdSelect
  186. {
  187. *Order: DOC_SETUP.8
  188. *Cmd: "<1B>2<1B>CH"
  189. }
  190. *switch: Resolution
  191. {
  192. *case: USER_360x180DPI
  193. {
  194. *PrintableArea: PAIR(2836, 4076)
  195. *PrintableOrigin: PAIR(70, 62)
  196. }
  197. *case: USER_180x180DPI
  198. {
  199. *PrintableArea: PAIR(2836, 4076)
  200. *PrintableOrigin: PAIR(70, 62)
  201. }
  202. *case: USER_120x180DPI
  203. {
  204. *PrintableArea: PAIR(2838, 4076)
  205. *PrintableOrigin: PAIR(69, 62)
  206. }
  207. }
  208. }
  209. *Option: A4_ROTATED
  210. {
  211. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  212. *Command: CmdSelect
  213. {
  214. *Order: DOC_SETUP.8
  215. *Cmd: "<1B>2<1B>C4"
  216. }
  217. *switch: Resolution
  218. {
  219. *case: USER_360x180DPI
  220. {
  221. *PrintableArea: PAIR(3816, 2844)
  222. *PrintableOrigin: PAIR(70, 62)
  223. }
  224. *case: USER_180x180DPI
  225. {
  226. *PrintableArea: PAIR(3816, 2844)
  227. *PrintableOrigin: PAIR(70, 62)
  228. }
  229. *case: USER_120x180DPI
  230. {
  231. *PrintableArea: PAIR(3816, 2844)
  232. *PrintableOrigin: PAIR(69, 62)
  233. }
  234. }
  235. }
  236. *Option: A3
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.8
  242. *Cmd: "<1B>2<1B>Ce"
  243. }
  244. *switch: Resolution
  245. {
  246. *case: USER_360x180DPI
  247. {
  248. *PrintableArea: PAIR(3816, 5820)
  249. *PrintableOrigin: PAIR(70, 62)
  250. }
  251. *case: USER_180x180DPI
  252. {
  253. *PrintableArea: PAIR(3816, 5820)
  254. *PrintableOrigin: PAIR(70, 62)
  255. }
  256. *case: USER_120x180DPI
  257. {
  258. *PrintableArea: PAIR(3816, 5820)
  259. *PrintableOrigin: PAIR(69, 62)
  260. }
  261. }
  262. }
  263. *Option: A5
  264. {
  265. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.8
  269. *Cmd: "<1B>2<1B>C4"
  270. }
  271. *switch: Resolution
  272. {
  273. *case: USER_360x180DPI
  274. {
  275. *PrintableArea: PAIR(1957, 2844)
  276. *PrintableOrigin: PAIR(70, 62)
  277. }
  278. *case: USER_180x180DPI
  279. {
  280. *PrintableArea: PAIR(1956, 2844)
  281. *PrintableOrigin: PAIR(70, 62)
  282. }
  283. *case: USER_120x180DPI
  284. {
  285. *PrintableArea: PAIR(1959, 2844)
  286. *PrintableOrigin: PAIR(69, 62)
  287. }
  288. }
  289. }
  290. *Option: A5_ROTATED
  291. {
  292. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.8
  296. *Cmd: "<1B>2<1B>C<2525>"
  297. }
  298. *switch: Resolution
  299. {
  300. *case: USER_360x180DPI
  301. {
  302. *PrintableArea: PAIR(2836, 1964)
  303. *PrintableOrigin: PAIR(70, 62)
  304. }
  305. *case: USER_180x180DPI
  306. {
  307. *PrintableArea: PAIR(2836, 1964)
  308. *PrintableOrigin: PAIR(70, 62)
  309. }
  310. *case: USER_120x180DPI
  311. {
  312. *PrintableArea: PAIR(2838, 1964)
  313. *PrintableOrigin: PAIR(69, 62)
  314. }
  315. }
  316. }
  317. *Option: A6
  318. {
  319. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.8
  323. *Cmd: "<1B>2<1B>C<2525>"
  324. }
  325. *switch: Resolution
  326. {
  327. *case: USER_360x180DPI
  328. {
  329. *PrintableArea: PAIR(1348, 1964)
  330. *PrintableOrigin: PAIR(70, 62)
  331. }
  332. *case: USER_180x180DPI
  333. {
  334. *PrintableArea: PAIR(1348, 1964)
  335. *PrintableOrigin: PAIR(70, 62)
  336. }
  337. *case: USER_120x180DPI
  338. {
  339. *PrintableArea: PAIR(1350, 1964)
  340. *PrintableOrigin: PAIR(69, 62)
  341. }
  342. }
  343. }
  344. *Option: A6_ROTATED
  345. {
  346. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.8
  350. *Cmd: "<1B>2<1B>C<1B>"
  351. }
  352. *switch: Resolution
  353. {
  354. *case: USER_360x180DPI
  355. {
  356. *PrintableArea: PAIR(1957, 1356)
  357. *PrintableOrigin: PAIR(70, 62)
  358. }
  359. *case: USER_180x180DPI
  360. {
  361. *PrintableArea: PAIR(1956, 1356)
  362. *PrintableOrigin: PAIR(70, 62)
  363. }
  364. *case: USER_120x180DPI
  365. {
  366. *PrintableArea: PAIR(1959, 1356)
  367. *PrintableOrigin: PAIR(69, 62)
  368. }
  369. }
  370. }
  371. *Option: B4
  372. {
  373. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.8
  377. *Cmd: "<1B>2<1B>CX"
  378. }
  379. *switch: Resolution
  380. {
  381. *case: USER_360x180DPI
  382. {
  383. *PrintableArea: PAIR(3502, 5026)
  384. *PrintableOrigin: PAIR(70, 62)
  385. }
  386. *case: USER_180x180DPI
  387. {
  388. *PrintableArea: PAIR(3502, 5026)
  389. *PrintableOrigin: PAIR(70, 62)
  390. }
  391. *case: USER_120x180DPI
  392. {
  393. *PrintableArea: PAIR(3504, 5026)
  394. *PrintableOrigin: PAIR(69, 62)
  395. }
  396. }
  397. }
  398. *Option: B5
  399. {
  400. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.8
  404. *Cmd: "<1B>2<1B>C?"
  405. }
  406. *switch: Resolution
  407. {
  408. *case: USER_360x180DPI
  409. {
  410. *PrintableArea: PAIR(2439, 3510)
  411. *PrintableOrigin: PAIR(70, 62)
  412. }
  413. *case: USER_180x180DPI
  414. {
  415. *PrintableArea: PAIR(2438, 3510)
  416. *PrintableOrigin: PAIR(70, 62)
  417. }
  418. *case: USER_120x180DPI
  419. {
  420. *PrintableArea: PAIR(2439, 3510)
  421. *PrintableOrigin: PAIR(69, 62)
  422. }
  423. }
  424. }
  425. *Option: B5_JIS_ROTATED
  426. {
  427. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  428. *Command: CmdSelect
  429. {
  430. *Order: DOC_SETUP.8
  431. *Cmd: "<1B>2<1B>C-"
  432. }
  433. *switch: Resolution
  434. {
  435. *case: USER_360x180DPI
  436. {
  437. *PrintableArea: PAIR(3502, 2446)
  438. *PrintableOrigin: PAIR(70, 62)
  439. }
  440. *case: USER_180x180DPI
  441. {
  442. *PrintableArea: PAIR(3502, 2446)
  443. *PrintableOrigin: PAIR(70, 62)
  444. }
  445. *case: USER_120x180DPI
  446. {
  447. *PrintableArea: PAIR(3504, 2446)
  448. *PrintableOrigin: PAIR(69, 62)
  449. }
  450. }
  451. }
  452. *Option: LETTER
  453. {
  454. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  455. *Command: CmdSelect
  456. {
  457. *Order: DOC_SETUP.8
  458. *Cmd: "<1B>2<1B>CD"
  459. }
  460. *switch: Resolution
  461. {
  462. *case: USER_360x180DPI
  463. {
  464. *PrintableArea: PAIR(2920, 3828)
  465. *PrintableOrigin: PAIR(70, 62)
  466. }
  467. *case: USER_180x180DPI
  468. {
  469. *PrintableArea: PAIR(2920, 3828)
  470. *PrintableOrigin: PAIR(70, 62)
  471. }
  472. *case: USER_120x180DPI
  473. {
  474. *PrintableArea: PAIR(2922, 3828)
  475. *PrintableOrigin: PAIR(69, 62)
  476. }
  477. }
  478. }
  479. *Option: LEGAL
  480. {
  481. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  482. *Command: CmdSelect
  483. {
  484. *Order: DOC_SETUP.8
  485. *Cmd: "<1B>2<1B>CV"
  486. }
  487. *switch: Resolution
  488. {
  489. *case: USER_360x180DPI
  490. {
  491. *PrintableArea: PAIR(2920, 4908)
  492. *PrintableOrigin: PAIR(70, 62)
  493. }
  494. *case: USER_180x180DPI
  495. {
  496. *PrintableArea: PAIR(2920, 4908)
  497. *PrintableOrigin: PAIR(70, 62)
  498. }
  499. *case: USER_120x180DPI
  500. {
  501. *PrintableArea: PAIR(2922, 4908)
  502. *PrintableOrigin: PAIR(69, 62)
  503. }
  504. }
  505. }
  506. *Option: JAPANESE_POSTCARD
  507. {
  508. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  509. *Command: CmdSelect
  510. {
  511. *Order: DOC_SETUP.8
  512. *Cmd: "<1B>2<1B>C<2525>"
  513. }
  514. *switch: Resolution
  515. {
  516. *case: USER_360x180DPI
  517. {
  518. *PrintableArea: PAIR(1277, 1964)
  519. *PrintableOrigin: PAIR(70, 62)
  520. }
  521. *case: USER_180x180DPI
  522. {
  523. *PrintableArea: PAIR(1276, 1964)
  524. *PrintableOrigin: PAIR(70, 62)
  525. }
  526. *case: USER_120x180DPI
  527. {
  528. *PrintableArea: PAIR(1278, 1964)
  529. *PrintableOrigin: PAIR(69, 62)
  530. }
  531. }
  532. }
  533. *Option: JAPANESE_POSTCARD_ROTATED
  534. {
  535. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  536. *Command: CmdSelect
  537. {
  538. *Order: DOC_SETUP.8
  539. *Cmd: "<1B>2<1B>C<1A>"
  540. }
  541. *switch: Resolution
  542. {
  543. *case: USER_360x180DPI
  544. {
  545. *PrintableArea: PAIR(1957, 1284)
  546. *PrintableOrigin: PAIR(70, 62)
  547. }
  548. *case: USER_180x180DPI
  549. {
  550. *PrintableArea: PAIR(1956, 1284)
  551. *PrintableOrigin: PAIR(70, 62)
  552. }
  553. *case: USER_120x180DPI
  554. {
  555. *PrintableArea: PAIR(1959, 1284)
  556. *PrintableOrigin: PAIR(69, 62)
  557. }
  558. }
  559. }
  560. *Option: DBL_JAPANESE_POSTCARD
  561. {
  562. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  563. *Command: CmdSelect
  564. {
  565. *Order: DOC_SETUP.8
  566. *Cmd: "<1B>2<1B>C<2525>"
  567. }
  568. *switch: Resolution
  569. {
  570. *case: USER_360x180DPI
  571. {
  572. *PrintableArea: PAIR(2694, 1964)
  573. *PrintableOrigin: PAIR(70, 62)
  574. }
  575. *case: USER_180x180DPI
  576. {
  577. *PrintableArea: PAIR(2694, 1964)
  578. *PrintableOrigin: PAIR(70, 62)
  579. }
  580. *case: USER_120x180DPI
  581. {
  582. *PrintableArea: PAIR(2694, 1964)
  583. *PrintableOrigin: PAIR(69, 62)
  584. }
  585. }
  586. }
  587. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  588. {
  589. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  590. *Command: CmdSelect
  591. {
  592. *Order: DOC_SETUP.8
  593. *Cmd: "<1B>2<1B>C1"
  594. }
  595. *switch: Resolution
  596. {
  597. *case: USER_360x180DPI
  598. {
  599. *PrintableArea: PAIR(1957, 2702)
  600. *PrintableOrigin: PAIR(70, 62)
  601. }
  602. *case: USER_180x180DPI
  603. {
  604. *PrintableArea: PAIR(1956, 2702)
  605. *PrintableOrigin: PAIR(70, 62)
  606. }
  607. *case: USER_120x180DPI
  608. {
  609. *PrintableArea: PAIR(1959, 2702)
  610. *PrintableOrigin: PAIR(69, 62)
  611. }
  612. }
  613. }
  614. *Option: JENV_CHOU4_ROTATED
  615. {
  616. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  617. *Command: CmdSelect
  618. {
  619. *Order: DOC_SETUP.8
  620. *Cmd: "<1B>2<1B>C<17>"
  621. }
  622. *switch: Resolution
  623. {
  624. *case: USER_360x180DPI
  625. {
  626. *PrintableArea: PAIR(2765, 1142)
  627. *PrintableOrigin: PAIR(70, 62)
  628. }
  629. *case: USER_180x180DPI
  630. {
  631. *PrintableArea: PAIR(2764, 1142)
  632. *PrintableOrigin: PAIR(70, 62)
  633. }
  634. *case: USER_120x180DPI
  635. {
  636. *PrintableArea: PAIR(2766, 1142)
  637. *PrintableOrigin: PAIR(69, 62)
  638. }
  639. }
  640. }
  641. *Option: JENV_CHOU3_ROTATED
  642. {
  643. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  644. *Command: CmdSelect
  645. {
  646. *Order: DOC_SETUP.8
  647. *Cmd: "<1B>2<1B>C<1E>"
  648. }
  649. *switch: Resolution
  650. {
  651. *case: USER_360x180DPI
  652. {
  653. *PrintableArea: PAIR(3190, 1568)
  654. *PrintableOrigin: PAIR(70, 62)
  655. }
  656. *case: USER_180x180DPI
  657. {
  658. *PrintableArea: PAIR(3190, 1568)
  659. *PrintableOrigin: PAIR(70, 62)
  660. }
  661. *case: USER_120x180DPI
  662. {
  663. *PrintableArea: PAIR(3192, 1568)
  664. *PrintableOrigin: PAIR(69, 62)
  665. }
  666. }
  667. }
  668. *Option: JENV_KAKU3_ROTATED
  669. {
  670. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  671. *Command: CmdSelect
  672. {
  673. *Order: DOC_SETUP.8
  674. *Cmd: "<1B>2<1B>C5"
  675. }
  676. *switch: Resolution
  677. {
  678. *case: USER_360x180DPI
  679. {
  680. *PrintableArea: PAIR(3785, 2928)
  681. *PrintableOrigin: PAIR(70, 62)
  682. }
  683. *case: USER_180x180DPI
  684. {
  685. *PrintableArea: PAIR(3784, 2928)
  686. *PrintableOrigin: PAIR(70, 62)
  687. }
  688. *case: USER_120x180DPI
  689. {
  690. *PrintableArea: PAIR(3786, 2928)
  691. *PrintableOrigin: PAIR(69, 62)
  692. }
  693. }
  694. }
  695. *Option: 10X11
  696. {
  697. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  698. *Command: CmdSelect
  699. {
  700. *Order: DOC_SETUP.8
  701. *Cmd: "<1B>C<000B>"
  702. }
  703. *switch: Resolution
  704. {
  705. *case: USER_360x180DPI
  706. {
  707. *PrintableArea: PAIR(3096, 3898)
  708. *PrintableOrigin: PAIR(252, 62)
  709. }
  710. *case: USER_180x180DPI
  711. {
  712. *PrintableArea: PAIR(3096, 3898)
  713. *PrintableOrigin: PAIR(252, 62)
  714. }
  715. *case: USER_120x180DPI
  716. {
  717. *PrintableArea: PAIR(3096, 3898)
  718. *PrintableOrigin: PAIR(252, 62)
  719. }
  720. }
  721. }
  722. *Option: 12X11
  723. {
  724. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  725. *Command: CmdSelect
  726. {
  727. *Order: DOC_SETUP.8
  728. *Cmd: "<1B>C<000B>"
  729. }
  730. *switch: Resolution
  731. {
  732. *case: USER_360x180DPI
  733. {
  734. *PrintableArea: PAIR(3817, 3898)
  735. *PrintableOrigin: PAIR(252, 62)
  736. }
  737. *case: USER_180x180DPI
  738. {
  739. *PrintableArea: PAIR(3816, 3898)
  740. *PrintableOrigin: PAIR(252, 62)
  741. }
  742. *case: USER_120x180DPI
  743. {
  744. *PrintableArea: PAIR(3816, 3898)
  745. *PrintableOrigin: PAIR(252, 62)
  746. }
  747. }
  748. }
  749. *Option: CUSTOMSIZE
  750. {
  751. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  752. *MinSize: PAIR(1080, 972)
  753. *MaxSize: PAIR(4320, 5976)
  754. *MaxPrintableWidth: 3817
  755. *MinLeftMargin: 0
  756. *CenterPrintable?: FALSE
  757. *switch: InputBin
  758. {
  759. *case: MANUAL
  760. {
  761. *CustCursorOriginX: %d{70}
  762. *CustCursorOriginY: %d{62}
  763. *CustPrintableOriginX: %d{70}
  764. *CustPrintableOriginY: %d{62}
  765. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  766. *CustPrintableSizeY: %d{PhysPaperLength-132}
  767. }
  768. *case: USER_CSF
  769. {
  770. *CustCursorOriginX: %d{70}
  771. *CustCursorOriginY: %d{62}
  772. *CustPrintableOriginX: %d{70}
  773. *CustPrintableOriginY: %d{62}
  774. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  775. *CustPrintableSizeY: %d{PhysPaperLength-132}
  776. }
  777. *case: USER_TRACTOR
  778. {
  779. *CustCursorOriginX: %d{70}
  780. *CustCursorOriginY: %d{62}
  781. *CustPrintableOriginX: %d{70}
  782. *CustPrintableOriginY: %d{62}
  783. *CustPrintableSizeX: %d{PhysPaperWidth-140}
  784. *CustPrintableSizeY: %d{PhysPaperLength-62}
  785. }
  786. }
  787. *Command: CmdSelect
  788. {
  789. *Order: DOC_SETUP.8
  790. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  791. }
  792. }
  793. }
  794. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  795. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.12X11)
  796. *InvalidCombination: LIST(InputBin.USER_CSF, PaperSize.10X11)
  797. *InvalidCombination: LIST(InputBin.USER_CSF, PaperSize.12X11)
  798. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4)
  799. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A4_ROTATED)
  800. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A3)
  801. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5)
  802. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A5_ROTATED)
  803. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6)
  804. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.A6_ROTATED)
  805. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B4)
  806. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5)
  807. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.B5_JIS_ROTATED)
  808. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LETTER)
  809. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.LEGAL)
  810. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD)
  811. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JAPANESE_POSTCARD_ROTATED)
  812. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD)
  813. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  814. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU4_ROTATED)
  815. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_CHOU3_ROTATED)
  816. *InvalidCombination: LIST(InputBin.USER_TRACTOR, PaperSize.JENV_KAKU3_ROTATED)
  817. *Feature: PrintQuality
  818. {
  819. *rcNameID: =TEXT_QUALITY_DISPLAY
  820. *DefaultOption: USER_HISPD_UNIDIR
  821. *Option: USER_HISPD_UNIDIR
  822. {
  823. *rcNameID: 4001
  824. *Command: CmdSelect
  825. {
  826. *Order: DOC_SETUP.6
  827. *Cmd: "<1B>x<001C>x<011B>U<01>"
  828. }
  829. }
  830. *Option: USER_HISPD_BIDIR
  831. {
  832. *rcNameID: 4002
  833. *Command: CmdSelect
  834. {
  835. *Order: DOC_SETUP.6
  836. *Cmd: "<1B>x<001C>x<011B>U<00>"
  837. }
  838. }
  839. *Option: USER_HIQTY_UNIDIR
  840. {
  841. *rcNameID: 4003
  842. *Command: CmdSelect
  843. {
  844. *Order: DOC_SETUP.6
  845. *Cmd: "<1B>x<011C>x<001B>U<01>"
  846. }
  847. }
  848. *Option: USER_HIQTY_BIDIR
  849. {
  850. *rcNameID: 4004
  851. *Command: CmdSelect
  852. {
  853. *Order: DOC_SETUP.6
  854. *Cmd: "<1B>x<011C>x<001B>U<00>"
  855. }
  856. }
  857. }
  858. *Feature: Halftone
  859. {
  860. *rcNameID: =HALFTONING_DISPLAY
  861. *DefaultOption: HT_PATSIZE_AUTO
  862. *Option: HT_PATSIZE_AUTO
  863. {
  864. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  865. }
  866. *Option: HT_PATSIZE_SUPERCELL_M
  867. {
  868. *rcNameID: =HT_SUPERCELL_DISPLAY
  869. }
  870. *Option: HT_PATSIZE_6x6_M
  871. {
  872. *rcNameID: =HT_DITHER6X6_DISPLAY
  873. }
  874. *Option: HT_PATSIZE_8x8_M
  875. {
  876. *rcNameID: =HT_DITHER8X8_DISPLAY
  877. }
  878. }
  879. *switch: Orientation
  880. {
  881. *case: PORTRAIT
  882. {
  883. *DeviceFonts: LIST(19,21,25,26,27,31,32,34)
  884. }
  885. *case: LANDSCAPE_CC270
  886. {
  887. *DeviceFonts: LIST()
  888. }
  889. }