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.

905 lines
24 KiB

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