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.

1550 lines
57 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *Include: "StdNames.gpd"
  8. *GPDFileVersion: "1.0"
  9. *GPDFileName: "stx225ht.gpd"
  10. *ModelName: "Star XB-2425HT"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "st24tres.dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. }
  35. *Option: AUTO
  36. {
  37. *rcNameID: =AUTO_DISPLAY
  38. *Command: CmdSelect
  39. {
  40. *Order: DOC_SETUP.3
  41. *Cmd: "<1B1904>"
  42. }
  43. }
  44. *Option: MANUAL
  45. {
  46. *rcNameID: =MANUAL_FEED_DISPLAY
  47. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.3
  51. *Cmd: "<1B1900>"
  52. }
  53. }
  54. }
  55. *Feature: Resolution
  56. {
  57. *rcNameID: =RESOLUTION_DISPLAY
  58. *DefaultOption: Option3
  59. *Option: Option1
  60. {
  61. *Name: "360 x 360 " =DOTS_PER_INCH
  62. *DPI: PAIR(360, 360)
  63. *TextDPI: PAIR(360, 360)
  64. *PinsPerLogPass: 48
  65. *PinsPerPhysPass: 24
  66. *MinStripBlankPixels: 180
  67. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  68. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  69. *SpotDiameter: 170
  70. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  71. }
  72. *Option: Option2
  73. {
  74. *Name: "360 x 180 " =DOTS_PER_INCH
  75. *DPI: PAIR(360, 180)
  76. *TextDPI: PAIR(360, 180)
  77. *PinsPerLogPass: 24
  78. *PinsPerPhysPass: 24
  79. *MinStripBlankPixels: 180
  80. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  81. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  82. *SpotDiameter: 170
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "180 x 180 " =DOTS_PER_INCH
  88. *DPI: PAIR(180, 180)
  89. *TextDPI: PAIR(180, 180)
  90. *PinsPerLogPass: 24
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 90
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 170
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  96. }
  97. *Option: Option4
  98. {
  99. *Name: "120 x 180 " =DOTS_PER_INCH
  100. *DPI: PAIR(120, 180)
  101. *TextDPI: PAIR(120, 180)
  102. *PinsPerLogPass: 24
  103. *PinsPerPhysPass: 24
  104. *MinStripBlankPixels: 60
  105. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  106. *SpotDiameter: 170
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  108. }
  109. }
  110. *Feature: PaperSize
  111. {
  112. *rcNameID: =PAPER_SIZE_DISPLAY
  113. *DefaultOption: LETTER
  114. *Option: LETTER
  115. {
  116. *rcNameID: =LETTER_DISPLAY
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.4
  120. *Cmd: "<1B>2<1B>CB"
  121. }
  122. *switch: InputBin
  123. {
  124. *case: TRACTOR
  125. {
  126. *PrintableArea: PAIR(6120, 7920)
  127. *PrintableOrigin: PAIR(0, 0)
  128. }
  129. *case: AUTO
  130. {
  131. *PrintableArea: PAIR(5920, 7440)
  132. *PrintableOrigin: PAIR(100, 120)
  133. }
  134. *case: MANUAL
  135. {
  136. *PrintableArea: PAIR(5920, 7390)
  137. *PrintableOrigin: PAIR(100, 170)
  138. }
  139. }
  140. }
  141. *Option: Option2
  142. {
  143. *rcNameID: 258
  144. *OptionID: 258
  145. *PageDimensions: PAIR(7920, 6120)
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: "<1B>2<1B>C3"
  150. }
  151. *switch: InputBin
  152. {
  153. *case: TRACTOR
  154. {
  155. *PrintableArea: PAIR(7920, 6120)
  156. *PrintableOrigin: PAIR(0, 0)
  157. }
  158. *case: AUTO
  159. {
  160. *PrintableArea: PAIR(7720, 5640)
  161. *PrintableOrigin: PAIR(100, 120)
  162. }
  163. *case: MANUAL
  164. {
  165. *PrintableArea: PAIR(7720, 5590)
  166. *PrintableOrigin: PAIR(100, 170)
  167. }
  168. }
  169. }
  170. *Option: LEGAL
  171. {
  172. *rcNameID: =LEGAL_DISPLAY
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.4
  176. *Cmd: "<1B>2<1B>CT"
  177. }
  178. *switch: InputBin
  179. {
  180. *case: TRACTOR
  181. {
  182. *PrintableArea: PAIR(6120, 10080)
  183. *PrintableOrigin: PAIR(0, 0)
  184. }
  185. *case: AUTO
  186. {
  187. *PrintableArea: PAIR(5920, 9600)
  188. *PrintableOrigin: PAIR(100, 120)
  189. }
  190. *case: MANUAL
  191. {
  192. *PrintableArea: PAIR(5920, 9550)
  193. *PrintableOrigin: PAIR(100, 170)
  194. }
  195. }
  196. }
  197. *Option: TABLOID
  198. {
  199. *rcNameID: =TABLOID_DISPLAY
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>2<1B>Cf"
  204. }
  205. *switch: InputBin
  206. {
  207. *case: TRACTOR
  208. {
  209. *PrintableArea: PAIR(7920, 12240)
  210. *PrintableOrigin: PAIR(0, 0)
  211. }
  212. *case: AUTO
  213. {
  214. *PrintableArea: PAIR(7720, 11760)
  215. *PrintableOrigin: PAIR(100, 120)
  216. }
  217. *case: MANUAL
  218. {
  219. *PrintableArea: PAIR(7720, 11710)
  220. *PrintableOrigin: PAIR(100, 170)
  221. }
  222. }
  223. }
  224. *Option: EXECUTIVE
  225. {
  226. *rcNameID: =EXECUTIVE_DISPLAY
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.4
  230. *Cmd: "<1B>2<1B>C?"
  231. }
  232. *switch: InputBin
  233. {
  234. *case: TRACTOR
  235. {
  236. *PrintableArea: PAIR(5220, 7560)
  237. *PrintableOrigin: PAIR(0, 0)
  238. }
  239. *case: AUTO
  240. {
  241. *PrintableArea: PAIR(5020, 7080)
  242. *PrintableOrigin: PAIR(100, 120)
  243. }
  244. *case: MANUAL
  245. {
  246. *PrintableArea: PAIR(5020, 7030)
  247. *PrintableOrigin: PAIR(100, 170)
  248. }
  249. }
  250. }
  251. *Option: FOLIO
  252. {
  253. *rcNameID: =FOLIO_DISPLAY
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.4
  257. *Cmd: "<1B>2<1B>CN"
  258. }
  259. *switch: InputBin
  260. {
  261. *case: TRACTOR
  262. {
  263. *PrintableArea: PAIR(6120, 9360)
  264. *PrintableOrigin: PAIR(0, 0)
  265. }
  266. *case: AUTO
  267. {
  268. *PrintableArea: PAIR(6120, 8880)
  269. *PrintableOrigin: PAIR(0, 120)
  270. }
  271. *case: MANUAL
  272. {
  273. *PrintableArea: PAIR(6120, 8880)
  274. *PrintableOrigin: PAIR(0, 120)
  275. }
  276. }
  277. }
  278. *Option: Option7
  279. {
  280. *rcNameID: 259
  281. *OptionID: 259
  282. *PageDimensions: PAIR(11008, 16832)
  283. *Command: CmdSelect
  284. {
  285. *Order: DOC_SETUP.4
  286. *Cmd: "<1B>2<1B>C<8A>"
  287. }
  288. *switch: InputBin
  289. {
  290. *case: TRACTOR
  291. {
  292. *PrintableArea: PAIR(9792, 16832)
  293. *PrintableOrigin: PAIR(1080, 0)
  294. }
  295. *case: AUTO
  296. {
  297. *PrintableArea: PAIR(9792, 16352)
  298. *PrintableOrigin: PAIR(1080, 120)
  299. }
  300. *case: MANUAL
  301. {
  302. *PrintableArea: PAIR(9792, 16302)
  303. *PrintableOrigin: PAIR(1080, 120)
  304. }
  305. }
  306. }
  307. *Option: A3
  308. {
  309. *rcNameID: =A3_DISPLAY
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.4
  313. *Cmd: "<1B>2<1B>Cc"
  314. }
  315. *switch: InputBin
  316. {
  317. *case: TRACTOR
  318. {
  319. *PrintableArea: PAIR(8417, 11909)
  320. *PrintableOrigin: PAIR(0, 0)
  321. *switch: Resolution
  322. {
  323. *case: Option1
  324. {
  325. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  326. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  327. *PrintableArea: PAIR(8416, 11908)
  328. }
  329. *case: Option2
  330. {
  331. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  332. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  333. *PrintableArea: PAIR(8416, 11908)
  334. }
  335. *case: Option3
  336. {
  337. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  338. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  339. *PrintableArea: PAIR(8416, 11908)
  340. }
  341. *case: Option4
  342. {
  343. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  344. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  345. *PrintableArea: PAIR(8412, 11908)
  346. }
  347. }
  348. }
  349. *case: AUTO
  350. {
  351. *PrintableArea: PAIR(8217, 11429)
  352. *PrintableOrigin: PAIR(100, 120)
  353. *switch: Resolution
  354. {
  355. *case: Option1
  356. {
  357. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  358. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  359. *PrintableArea: PAIR(8217, 11429)
  360. }
  361. *case: Option2
  362. {
  363. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  364. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  365. *PrintableArea: PAIR(8217, 11429)
  366. }
  367. *case: Option3
  368. {
  369. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  370. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  371. *PrintableArea: PAIR(8217, 11429) }
  372. *case: Option4
  373. {
  374. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  375. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  376. *PrintableArea: PAIR(8217, 11429)
  377. }
  378. }
  379. }
  380. *case: MANUAL
  381. {
  382. *PrintableArea: PAIR(8217, 11379)
  383. *PrintableOrigin: PAIR(100, 170)
  384. *switch: Resolution
  385. {
  386. *case: Option1
  387. {
  388. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  389. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  390. *PrintableArea: PAIR(8217, 11379)
  391. }
  392. *case: Option2
  393. {
  394. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  395. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  396. *PrintableArea: PAIR(8217, 11379)
  397. }
  398. *case: Option3
  399. {
  400. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  401. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  402. *PrintableArea: PAIR(8217, 11379)
  403. }
  404. *case: Option4
  405. {
  406. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  407. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  408. *PrintableArea: PAIR(8217, 11379)
  409. }
  410. }
  411. }
  412. }
  413. }
  414. *Option: Option9
  415. {
  416. *rcNameID: 260
  417. *OptionID: 260
  418. *PageDimensions: PAIR(11909, 8417)
  419. *Command: CmdSelect
  420. {
  421. *Order: DOC_SETUP.4
  422. *Cmd: "<1B>2<1B>CF"
  423. }
  424. *switch: InputBin
  425. {
  426. *case: TRACTOR
  427. {
  428. *PrintableArea: PAIR(9749, 8417)
  429. *PrintableOrigin: PAIR(1080, 0)
  430. *switch: Resolution
  431. {
  432. *case: Option1
  433. {
  434. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  435. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  436. *PrintableArea: PAIR(9748, 8416)
  437. }
  438. *case: Option2
  439. {
  440. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  441. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(9748, 8416)
  443. }
  444. *case: Option3
  445. {
  446. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  447. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  448. *PrintableArea: PAIR(9748, 8416)
  449. }
  450. *case: Option4
  451. {
  452. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  453. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  454. *PrintableArea: PAIR(9744, 8416)
  455. }
  456. }
  457. }
  458. *case: AUTO
  459. {
  460. *PrintableArea: PAIR(9792, 7937)
  461. *PrintableOrigin: PAIR(1080, 120)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  467. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  468. *PrintableArea: PAIR(9792, 7937)
  469. }
  470. *case: Option2
  471. {
  472. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  473. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  474. *PrintableArea: PAIR(9792, 7937)
  475. }
  476. *case: Option3
  477. {
  478. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  479. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  480. *PrintableArea: PAIR(9792, 7937)
  481. }
  482. *case: Option4
  483. {
  484. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  485. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  486. *PrintableArea: PAIR(9792, 7937)
  487. }
  488. }
  489. }
  490. *case: MANUAL
  491. {
  492. *PrintableArea: PAIR(9792, 7887)
  493. *PrintableOrigin: PAIR(1080, 170)
  494. *switch: Resolution
  495. {
  496. *case: Option1
  497. {
  498. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  499. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  500. *PrintableArea: PAIR(9792, 7887)
  501. }
  502. *case: Option2
  503. {
  504. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  505. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  506. *PrintableArea: PAIR(9792, 7887)
  507. }
  508. *case: Option3
  509. {
  510. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  511. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  512. *PrintableArea: PAIR(9792, 7887)
  513. }
  514. *case: Option4
  515. {
  516. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  517. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  518. *PrintableArea: PAIR(9792, 7887)
  519. }
  520. }
  521. }
  522. }
  523. }
  524. *Option: A4
  525. {
  526. *rcNameID: =A4_DISPLAY
  527. *Command: CmdSelect
  528. {
  529. *Order: DOC_SETUP.4
  530. *Cmd: "<1B>2<1B>CF"
  531. }
  532. *switch: InputBin
  533. {
  534. *case: TRACTOR
  535. {
  536. *PrintableArea: PAIR(5954, 8417)
  537. *PrintableOrigin: PAIR(0, 0)
  538. *switch: Resolution
  539. {
  540. *case: Option1
  541. {
  542. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  543. *PrintableArea: PAIR(5954, 8416)
  544. }
  545. *case: Option2
  546. {
  547. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  548. *PrintableArea: PAIR(5954, 8416)
  549. }
  550. *case: Option3
  551. {
  552. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  553. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  554. *PrintableArea: PAIR(5952, 8416)
  555. }
  556. *case: Option4
  557. {
  558. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  559. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  560. *PrintableArea: PAIR(5952, 8416)
  561. }
  562. }
  563. }
  564. *case: AUTO
  565. {
  566. *PrintableArea: PAIR(5754, 7937)
  567. *PrintableOrigin: PAIR(100, 120)
  568. *switch: Resolution
  569. {
  570. *case: Option1
  571. {
  572. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  573. *PrintableArea: PAIR(5754, 7937)
  574. }
  575. *case: Option2
  576. {
  577. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  578. *PrintableArea: PAIR(5754, 7937)
  579. }
  580. *case: Option3
  581. {
  582. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  583. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  584. *PrintableArea: PAIR(5754, 7937)
  585. }
  586. *case: Option4
  587. {
  588. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  589. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  590. *PrintableArea: PAIR(5754, 7937)
  591. }
  592. }
  593. }
  594. *case: MANUAL
  595. {
  596. *PrintableArea: PAIR(5754, 7887)
  597. *PrintableOrigin: PAIR(100, 170)
  598. *switch: Resolution
  599. {
  600. *case: Option1
  601. {
  602. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  603. *PrintableArea: PAIR(5754, 7887)
  604. }
  605. *case: Option2
  606. {
  607. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  608. *PrintableArea: PAIR(5754, 7887)
  609. }
  610. *case: Option3
  611. {
  612. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  613. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  614. *PrintableArea: PAIR(5754, 7887)
  615. }
  616. *case: Option4
  617. {
  618. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  619. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  620. *PrintableArea: PAIR(5754, 7887)
  621. }
  622. }
  623. }
  624. }
  625. }
  626. *Option: Option11
  627. {
  628. *rcNameID: 261
  629. *OptionID: 261
  630. *PageDimensions: PAIR(8417, 5954)
  631. *Command: CmdSelect
  632. {
  633. *Order: DOC_SETUP.4
  634. *Cmd: "<1B>2<1B>C2"
  635. }
  636. *switch: InputBin
  637. {
  638. *case: TRACTOR
  639. {
  640. *PrintableArea: PAIR(8417, 5954)
  641. *PrintableOrigin: PAIR(0, 0)
  642. *switch: Resolution
  643. {
  644. *case: Option1
  645. {
  646. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  647. *PrintableArea: PAIR(8416, 5954)
  648. }
  649. *case: Option2
  650. {
  651. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  652. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  653. *PrintableArea: PAIR(8416, 5952)
  654. }
  655. *case: Option3
  656. {
  657. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  658. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  659. *PrintableArea: PAIR(8416, 5952)
  660. }
  661. *case: Option4
  662. {
  663. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  664. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  665. *PrintableArea: PAIR(8412, 5952)
  666. }
  667. }
  668. }
  669. *case: AUTO
  670. {
  671. *PrintableArea: PAIR(8217, 5474)
  672. *PrintableOrigin: PAIR(100, 120)
  673. *switch: Resolution
  674. {
  675. *case: Option1
  676. {
  677. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  678. *PrintableArea: PAIR(8217, 5474)
  679. }
  680. *case: Option2
  681. {
  682. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  683. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  684. *PrintableArea: PAIR(8217, 5474)
  685. }
  686. *case: Option3
  687. {
  688. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  689. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  690. *PrintableArea: PAIR(8217, 5474)
  691. }
  692. *case: Option4
  693. {
  694. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  695. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  696. *PrintableArea: PAIR(8217, 5474)
  697. }
  698. }
  699. }
  700. *case: MANUAL
  701. {
  702. *PrintableArea: PAIR(8217, 5424)
  703. *PrintableOrigin: PAIR(100, 170)
  704. *switch: Resolution
  705. {
  706. *case: Option1
  707. {
  708. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  709. *PrintableArea: PAIR(8217, 5424)
  710. }
  711. *case: Option2
  712. {
  713. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  714. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  715. *PrintableArea: PAIR(8217, 5424)
  716. }
  717. *case: Option3
  718. {
  719. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  720. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  721. *PrintableArea: PAIR(8217, 5424)
  722. }
  723. *case: Option4
  724. {
  725. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  726. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  727. *PrintableArea: PAIR(8217, 5424)
  728. }
  729. }
  730. }
  731. }
  732. }
  733. *Option: B4
  734. {
  735. *rcNameID: =B4_DISPLAY
  736. *Command: CmdSelect
  737. {
  738. *Order: DOC_SETUP.4
  739. *Cmd: "<1B>2<1B>CT"
  740. }
  741. *switch: InputBin
  742. {
  743. *case: TRACTOR
  744. {
  745. *PrintableArea: PAIR(7286, 10318)
  746. *PrintableOrigin: PAIR(0, 0)
  747. *switch: Resolution
  748. {
  749. *case: Option2
  750. {
  751. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  752. *PrintableArea: PAIR(7286, 10316)
  753. }
  754. *case: Option3
  755. {
  756. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  757. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  758. *PrintableArea: PAIR(7284, 10316)
  759. }
  760. *case: Option4
  761. {
  762. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  763. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  764. *PrintableArea: PAIR(7284, 10316)
  765. }
  766. }
  767. }
  768. *case: AUTO
  769. {
  770. *PrintableArea: PAIR(7086, 9838)
  771. *PrintableOrigin: PAIR(100, 120)
  772. *switch: Resolution
  773. {
  774. *case: Option2
  775. {
  776. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  777. *PrintableArea: PAIR(7086, 9838)
  778. }
  779. *case: Option3
  780. {
  781. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  782. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  783. *PrintableArea: PAIR(7086, 9838)
  784. }
  785. *case: Option4
  786. {
  787. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  788. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  789. *PrintableArea: PAIR(7086, 9838)
  790. }
  791. }
  792. }
  793. *case: MANUAL
  794. {
  795. *PrintableArea: PAIR(7086, 9788)
  796. *PrintableOrigin: PAIR(100, 170)
  797. *switch: Resolution
  798. {
  799. *case: Option2
  800. {
  801. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  802. *PrintableArea: PAIR(7086, 9788)
  803. }
  804. *case: Option3
  805. {
  806. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  807. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  808. *PrintableArea: PAIR(7086, 9788)
  809. }
  810. *case: Option4
  811. {
  812. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  813. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  814. *PrintableArea: PAIR(7086, 9788)
  815. }
  816. }
  817. }
  818. }
  819. }
  820. *Option: B5
  821. {
  822. *rcNameID: =B5_DISPLAY
  823. *Command: CmdSelect
  824. {
  825. *Order: DOC_SETUP.4
  826. *Cmd: "<1B>2<1B>C="
  827. }
  828. *switch: InputBin
  829. {
  830. *case: TRACTOR
  831. {
  832. *PrintableArea: PAIR(5162, 7286)
  833. *PrintableOrigin: PAIR(0, 0)
  834. *switch: Resolution
  835. {
  836. *case: Option2
  837. {
  838. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  839. *PrintableArea: PAIR(5162, 7284)
  840. }
  841. *case: Option3
  842. {
  843. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  844. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  845. *PrintableArea: PAIR(5160, 7284)
  846. }
  847. *case: Option4
  848. {
  849. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  850. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  851. *PrintableArea: PAIR(5160, 7284)
  852. }
  853. }
  854. }
  855. *case: AUTO
  856. {
  857. *PrintableArea: PAIR(4962, 6806)
  858. *PrintableOrigin: PAIR(100, 120)
  859. *switch: Resolution
  860. {
  861. *case: Option2
  862. {
  863. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  864. *PrintableArea: PAIR(4962, 6806)
  865. }
  866. *case: Option3
  867. {
  868. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  869. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  870. *PrintableArea: PAIR(4962, 6806)
  871. }
  872. *case: Option4
  873. {
  874. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  875. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  876. *PrintableArea: PAIR(4962, 6806)
  877. }
  878. }
  879. }
  880. *case: MANUAL
  881. {
  882. *PrintableArea: PAIR(5162, 6806)
  883. *PrintableOrigin: PAIR(100, 170)
  884. *switch: Resolution
  885. {
  886. *case: Option2
  887. {
  888. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  889. *PrintableArea: PAIR(5162, 6806)
  890. }
  891. *case: Option3
  892. {
  893. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  894. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  895. *PrintableArea: PAIR(5162, 6806)
  896. }
  897. *case: Option4
  898. {
  899. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  900. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  901. *PrintableArea: PAIR(5162, 6806)
  902. }
  903. }
  904. }
  905. }
  906. }
  907. *Option: Option14
  908. {
  909. *rcNameID: 262
  910. *OptionID: 262
  911. *PageDimensions: PAIR(5760, 4320)
  912. *Command: CmdSelect
  913. {
  914. *Order: DOC_SETUP.4
  915. *Cmd: "<1B>2<1B>C$"
  916. }
  917. *switch: InputBin
  918. {
  919. *case: TRACTOR
  920. {
  921. *PrintableArea: PAIR(5040, 4320)
  922. *PrintableOrigin: PAIR(360, 0)
  923. }
  924. *case: AUTO
  925. {
  926. *PrintableArea: PAIR(5560, 3840)
  927. *PrintableOrigin: PAIR(100, 120)
  928. }
  929. *case: MANUAL
  930. {
  931. *PrintableArea: PAIR(5560, 3790)
  932. *PrintableOrigin: PAIR(100, 170)
  933. }
  934. }
  935. }
  936. *Option: FANFOLD_STD_GERMAN
  937. {
  938. *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
  939. *Command: CmdSelect
  940. {
  941. *Order: DOC_SETUP.4
  942. *Cmd: "<1B>2<1B>CH"
  943. }
  944. *switch: InputBin
  945. {
  946. *case: TRACTOR
  947. {
  948. *PrintableArea: PAIR(5760, 8640)
  949. *PrintableOrigin: PAIR(360, 0)
  950. }
  951. *case: AUTO
  952. {
  953. *PrintableArea: PAIR(6120, 8160)
  954. *PrintableOrigin: PAIR(0, 120)
  955. }
  956. *case: MANUAL
  957. {
  958. *PrintableArea: PAIR(6120, 8160)
  959. *PrintableOrigin: PAIR(0, 120)
  960. }
  961. }
  962. }
  963. *Option: Option16
  964. {
  965. *rcNameID: 263
  966. *OptionID: 263
  967. *PageDimensions: PAIR(5952, 8640)
  968. *Command: CmdSelect
  969. {
  970. *Order: DOC_SETUP.4
  971. *Cmd: "<1B>2<1B>CH"
  972. }
  973. *switch: InputBin
  974. {
  975. *case: TRACTOR
  976. {
  977. *PrintableArea: PAIR(5592, 8640)
  978. *PrintableOrigin: PAIR(360, 0)
  979. }
  980. *case: AUTO
  981. {
  982. *PrintableArea: PAIR(5952, 8160)
  983. *PrintableOrigin: PAIR(0, 120)
  984. }
  985. *case: MANUAL
  986. {
  987. *PrintableArea: PAIR(5952, 8160)
  988. *PrintableOrigin: PAIR(0, 120)
  989. }
  990. }
  991. }
  992. *Option: Option17
  993. {
  994. *rcNameID: 264
  995. *OptionID: 264
  996. *PageDimensions: PAIR(10148, 8640)
  997. *Command: CmdSelect
  998. {
  999. *Order: DOC_SETUP.4
  1000. *Cmd: "<1B>2<1B>CH"
  1001. }
  1002. *switch: InputBin
  1003. {
  1004. *case: TRACTOR
  1005. {
  1006. *PrintableArea: PAIR(9432, 8640)
  1007. *PrintableOrigin: PAIR(360, 0)
  1008. }
  1009. *case: AUTO
  1010. {
  1011. *PrintableArea: PAIR(9792, 8160)
  1012. *PrintableOrigin: PAIR(0, 120)
  1013. }
  1014. *case: MANUAL
  1015. {
  1016. *PrintableArea: PAIR(9792, 8160)
  1017. *PrintableOrigin: PAIR(0, 120)
  1018. }
  1019. }
  1020. }
  1021. *Option: Option18
  1022. {
  1023. *rcNameID: 265
  1024. *OptionID: 265
  1025. *PageDimensions: PAIR(10800, 8640)
  1026. *Command: CmdSelect
  1027. {
  1028. *Order: DOC_SETUP.4
  1029. *Cmd: "<1B>2<1B>CH"
  1030. }
  1031. *switch: InputBin
  1032. {
  1033. *case: TRACTOR
  1034. {
  1035. *PrintableArea: PAIR(9792, 8640)
  1036. *PrintableOrigin: PAIR(360, 0)
  1037. }
  1038. *case: AUTO
  1039. {
  1040. *PrintableArea: PAIR(9792, 8160)
  1041. *PrintableOrigin: PAIR(288, 120)
  1042. }
  1043. *case: MANUAL
  1044. {
  1045. *PrintableArea: PAIR(9792, 8160)
  1046. *PrintableOrigin: PAIR(288, 120)
  1047. }
  1048. }
  1049. }
  1050. *Option: FANFOLD_US
  1051. {
  1052. *rcNameID: =FANFOLD_US_DISPLAY
  1053. *Command: CmdSelect
  1054. {
  1055. *Order: DOC_SETUP.4
  1056. *Cmd: "<1B>2<1B>CB"
  1057. }
  1058. *switch: InputBin
  1059. {
  1060. *case: TRACTOR
  1061. {
  1062. *PrintableArea: PAIR(9792, 7920)
  1063. *PrintableOrigin: PAIR(360, 0)
  1064. *switch: Resolution
  1065. {
  1066. *case: Option4
  1067. {
  1068. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1069. *PrintableArea: PAIR(9786, 7920)
  1070. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1071. *PrintableOrigin: PAIR(204, 0)
  1072. }
  1073. }
  1074. }
  1075. *case: AUTO
  1076. {
  1077. *PrintableArea: PAIR(9792, 7440)
  1078. *PrintableOrigin: PAIR(200, 120)
  1079. *switch: Resolution
  1080. {
  1081. *case: Option4
  1082. {
  1083. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1084. *PrintableArea: PAIR(9786, 7440)
  1085. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1086. *PrintableOrigin: PAIR(204, 120)
  1087. }
  1088. }
  1089. }
  1090. *case: MANUAL
  1091. {
  1092. *PrintableArea: PAIR(9792, 7440)
  1093. *PrintableOrigin: PAIR(200, 120)
  1094. *switch: Resolution
  1095. {
  1096. *case: Option4
  1097. {
  1098. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1099. *PrintableArea: PAIR(9786, 7440)
  1100. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1101. *PrintableOrigin: PAIR(204, 120)
  1102. }
  1103. }
  1104. }
  1105. }
  1106. }
  1107. *Option: Option20
  1108. {
  1109. *rcNameID: 266
  1110. *OptionID: 266
  1111. *PageDimensions: PAIR(10800, 7920)
  1112. *Command: CmdSelect
  1113. {
  1114. *Order: DOC_SETUP.4
  1115. *Cmd: "<1B>2<1B>CB"
  1116. }
  1117. *switch: InputBin
  1118. {
  1119. *case: TRACTOR
  1120. {
  1121. *PrintableArea: PAIR(9790, 7920)
  1122. *PrintableOrigin: PAIR(360, 0)
  1123. *switch: Resolution
  1124. {
  1125. *case: Option3
  1126. {
  1127. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1128. *PrintableArea: PAIR(9788, 7920)
  1129. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1130. *PrintableOrigin: PAIR(360, 0)
  1131. }
  1132. *case: Option4
  1133. {
  1134. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1135. *PrintableArea: PAIR(9786, 7920)
  1136. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1137. *PrintableOrigin: PAIR(360, 0) }
  1138. }
  1139. }
  1140. *case: AUTO
  1141. {
  1142. *PrintableArea: PAIR(9790, 7440)
  1143. *PrintableOrigin: PAIR(290, 120)
  1144. *switch: Resolution
  1145. {
  1146. *case: Option3
  1147. {
  1148. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1149. *PrintableArea: PAIR(9788, 7440)
  1150. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1151. *PrintableOrigin: PAIR(292, 120)
  1152. }
  1153. *case: Option4
  1154. {
  1155. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1156. *PrintableArea: PAIR(9786, 7440)
  1157. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1158. *PrintableOrigin: PAIR(294, 120)
  1159. }
  1160. }
  1161. }
  1162. *case: MANUAL
  1163. {
  1164. *PrintableArea: PAIR(9790, 7440)
  1165. *PrintableOrigin: PAIR(290, 120)
  1166. *switch: Resolution
  1167. {
  1168. *case: Option3
  1169. {
  1170. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1171. *PrintableArea: PAIR(9788, 7440)
  1172. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1173. *PrintableOrigin: PAIR(292, 120)
  1174. }
  1175. *case: Option4
  1176. {
  1177. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1178. *PrintableArea: PAIR(9786, 7440)
  1179. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1180. *PrintableOrigin: PAIR(294, 120)
  1181. }
  1182. }
  1183. }
  1184. }
  1185. }
  1186. *Option: Option21
  1187. {
  1188. *rcNameID: 267
  1189. *OptionID: 267
  1190. *PageDimensions: PAIR(10800, 8417)
  1191. *Command: CmdSelect
  1192. {
  1193. *Order: DOC_SETUP.4
  1194. *Cmd: "<1B>2<1B>CF"
  1195. }
  1196. *switch: InputBin
  1197. {
  1198. *case: TRACTOR
  1199. {
  1200. *PrintableArea: PAIR(9790, 8417)
  1201. *PrintableOrigin: PAIR(360, 0)
  1202. *switch: Resolution
  1203. {
  1204. *case: Option1
  1205. {
  1206. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1207. *PrintableArea: PAIR(9790, 8416)
  1208. }
  1209. *case: Option2
  1210. {
  1211. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1212. *PrintableArea: PAIR(9790, 8416)
  1213. }
  1214. *case: Option3
  1215. {
  1216. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1217. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1218. *PrintableArea: PAIR(9788, 8416)
  1219. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1220. *PrintableOrigin: PAIR(360, 0)
  1221. }
  1222. *case: Option4
  1223. {
  1224. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1225. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1226. *PrintableArea: PAIR(9786, 8416)
  1227. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1228. *PrintableOrigin: PAIR(360, 0)
  1229. }
  1230. }
  1231. }
  1232. *case: AUTO
  1233. {
  1234. *PrintableArea: PAIR(9790, 7937)
  1235. *PrintableOrigin: PAIR(290, 120)
  1236. *switch: Resolution
  1237. {
  1238. *case: Option1
  1239. {
  1240. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1241. *PrintableArea: PAIR(9790, 7936)
  1242. }
  1243. *case: Option2
  1244. {
  1245. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1246. *PrintableArea: PAIR(9790, 7936)
  1247. }
  1248. *case: Option3
  1249. {
  1250. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1251. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1252. *PrintableArea: PAIR(9788, 7936)
  1253. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1254. *PrintableOrigin: PAIR(292, 120)
  1255. }
  1256. *case: Option4
  1257. {
  1258. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1259. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1260. *PrintableArea: PAIR(9786, 7936)
  1261. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1262. *PrintableOrigin: PAIR(294, 120)
  1263. }
  1264. }
  1265. }
  1266. *case: MANUAL
  1267. {
  1268. *PrintableArea: PAIR(9790, 7937)
  1269. *PrintableOrigin: PAIR(290, 120)
  1270. *switch: Resolution
  1271. {
  1272. *case: Option1
  1273. {
  1274. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1275. *PrintableArea: PAIR(9790, 7936)
  1276. }
  1277. *case: Option2
  1278. {
  1279. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1280. *PrintableArea: PAIR(9790, 7936)
  1281. }
  1282. *case: Option3
  1283. {
  1284. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1285. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1286. *PrintableArea: PAIR(9788, 7936)
  1287. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1288. *PrintableOrigin: PAIR(292, 120)
  1289. }
  1290. *case: Option4
  1291. {
  1292. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1293. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1294. *PrintableArea: PAIR(9786, 7936)
  1295. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1296. *PrintableOrigin: PAIR(294, 120)
  1297. }
  1298. }
  1299. }
  1300. }
  1301. }
  1302. *Option: Option22
  1303. {
  1304. *rcNameID: 268
  1305. *OptionID: 268
  1306. *PageDimensions: PAIR(6120, 7920)
  1307. *Command: CmdSelect
  1308. {
  1309. *Order: DOC_SETUP.4
  1310. *Cmd: "<1B>2<1B>CF"
  1311. }
  1312. *switch: InputBin
  1313. {
  1314. *case: TRACTOR
  1315. {
  1316. *PrintableArea: PAIR(5760, 7920)
  1317. *PrintableOrigin: PAIR(360, 0)
  1318. }
  1319. *case: AUTO
  1320. {
  1321. *PrintableArea: PAIR(5760, 7440)
  1322. *PrintableOrigin: PAIR(360, 120)
  1323. }
  1324. *case: MANUAL
  1325. {
  1326. *PrintableArea: PAIR(5760, 7440)
  1327. *PrintableOrigin: PAIR(360, 120)
  1328. }
  1329. }
  1330. }
  1331. *Option: Option23
  1332. {
  1333. *rcNameID: 269
  1334. *OptionID: 269
  1335. *PageDimensions: PAIR(8640, 7920)
  1336. *Command: CmdSelect
  1337. {
  1338. *Order: DOC_SETUP.4
  1339. *Cmd: "<1B>2<1B>CF"
  1340. }
  1341. *switch: InputBin
  1342. {
  1343. *case: TRACTOR
  1344. {
  1345. *PrintableArea: PAIR(7920, 7920)
  1346. *PrintableOrigin: PAIR(360, 0)
  1347. }
  1348. *case: AUTO
  1349. {
  1350. *PrintableArea: PAIR(7920, 7440)
  1351. *PrintableOrigin: PAIR(360, 120)
  1352. }
  1353. *case: MANUAL
  1354. {
  1355. *PrintableArea: PAIR(7920, 7440)
  1356. *PrintableOrigin: PAIR(360, 120)
  1357. }
  1358. }
  1359. }
  1360. *Option: CUSTOMSIZE
  1361. {
  1362. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1363. *MinSize: PAIR(720, 360)
  1364. *MaxSize: PAIR(11880, 15840)
  1365. *MaxPrintableWidth: 9792
  1366. *MinLeftMargin: 0
  1367. *CenterPrintable?: FALSE
  1368. *switch: InputBin
  1369. {
  1370. *case: TRACTOR
  1371. {
  1372. *TopMargin: 0
  1373. *BottomMargin: 0
  1374. }
  1375. *case: AUTO
  1376. {
  1377. *TopMargin: 120
  1378. *BottomMargin: 360
  1379. }
  1380. *case: MANUAL
  1381. {
  1382. *TopMargin: 170
  1383. *BottomMargin: 360
  1384. }
  1385. }
  1386. *Command: CmdSelect
  1387. {
  1388. *Order: DOC_SETUP.4
  1389. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 120) )}
  1390. }
  1391. }
  1392. }
  1393. *Feature: PrintQuality
  1394. {
  1395. *rcNameID: =TEXT_QUALITY_DISPLAY
  1396. *DefaultOption: LETTER_QUALITY
  1397. *Option: LETTER_QUALITY
  1398. {
  1399. *rcNameID: =LETTER_QUALITY_DISPLAY
  1400. *Command: CmdSelect
  1401. {
  1402. *Order: DOC_SETUP.2
  1403. *Cmd: "<1B>x1"
  1404. }
  1405. }
  1406. *Option: DRAFT_QUALITY
  1407. {
  1408. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1409. *Command: CmdSelect
  1410. {
  1411. *Order: DOC_SETUP.2
  1412. *Cmd: "<1B>x0"
  1413. }
  1414. }
  1415. *Option: Option3
  1416. {
  1417. *rcNameID: 272
  1418. *Command: CmdSelect
  1419. {
  1420. *Order: DOC_SETUP.2
  1421. *Cmd: "<1B>x<001B>z<01>"
  1422. }
  1423. }
  1424. }
  1425. *Feature: ColorMode
  1426. {
  1427. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1428. *DefaultOption: Mono
  1429. *Option: Mono
  1430. {
  1431. *rcNameID: =MONO_DISPLAY
  1432. *DevNumOfPlanes: 1
  1433. *DevBPP: 1
  1434. *Color? : FALSE
  1435. }
  1436. *Option: Color
  1437. {
  1438. *rcNameID: =COLOR_DISPLAY
  1439. *DevNumOfPlanes: 4
  1440. *DevBPP: 1
  1441. *DrvBPP: 4
  1442. EXTERN_GLOBAL: *MoveToX0BeforeSetColor? : TRUE
  1443. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1444. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1445. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1446. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1447. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1448. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1449. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1450. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1451. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1452. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1453. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1454. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1455. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1456. }
  1457. }
  1458. *Feature: Halftone
  1459. {
  1460. *rcNameID: =HALFTONING_DISPLAY
  1461. *DefaultOption: HT_PATSIZE_AUTO
  1462. *Option: HT_PATSIZE_AUTO
  1463. {
  1464. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1465. }
  1466. *Option: HT_PATSIZE_SUPERCELL_M
  1467. {
  1468. *rcNameID: =HT_SUPERCELL_DISPLAY
  1469. }
  1470. *Option: HT_PATSIZE_6x6_M
  1471. {
  1472. *rcNameID: =HT_DITHER6X6_DISPLAY
  1473. }
  1474. *Option: HT_PATSIZE_8x8_M
  1475. {
  1476. *rcNameID: =HT_DITHER8X8_DISPLAY
  1477. }
  1478. }
  1479. *Command: CmdStartDoc
  1480. {
  1481. *Order: DOC_SETUP.1
  1482. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  1483. }
  1484. *Command: CmdStartPage
  1485. {
  1486. *Order: PAGE_SETUP.1
  1487. *Cmd: "<0D>"
  1488. }
  1489. *Command: CmdEndJob
  1490. {
  1491. *Order: JOB_FINISH.1
  1492. *Cmd: "<1B>@"
  1493. }
  1494. *RotateCoordinate?: FALSE
  1495. *RotateRaster?: FALSE
  1496. *RotateFont?: FALSE
  1497. *switch: Orientation
  1498. {
  1499. *case: PORTRAIT
  1500. {
  1501. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1502. }
  1503. *case: LANDSCAPE_CC270
  1504. {
  1505. *TextCaps: LIST(TC_RA_ABLE)
  1506. }
  1507. }
  1508. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1509. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1510. *MaxLineSpacing: 255
  1511. *XMoveThreshold: 0
  1512. *YMoveThreshold: *
  1513. *XMoveUnit: 60
  1514. *YMoveUnit: 180
  1515. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1516. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1517. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1518. *Command: CmdCR { *Cmd : "<0D>" }
  1519. *Command: CmdLF { *Cmd : "<0A>" }
  1520. *Command: CmdFF { *Cmd : "<0C>" }
  1521. *Command: CmdBackSpace { *Cmd : "<08>" }
  1522. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1523. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1524. *EjectPageWithFF?: TRUE
  1525. *OutputDataFormat: V_BYTE
  1526. *OptimizeLeftBound?: TRUE
  1527. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1528. *CursorYAfterSendBlockData: NO_MOVE
  1529. *DefaultFont: 1
  1530. *DefaultCTT: 1
  1531. *switch: Orientation
  1532. {
  1533. *case: PORTRAIT
  1534. {
  1535. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,17,18,19,20,21,22,23,24,
  1536. + 25,26,27,28,29,31,32,142,143,144,145,146,147,148,149,158,170)
  1537. }
  1538. *case: LANDSCAPE_CC270
  1539. {
  1540. *DeviceFonts: LIST()
  1541. }
  1542. }
  1543. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1544. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1545. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1546. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1547. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1548. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1549. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P1" }
  1550. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P0" }