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.

1543 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: "stxt15t.gpd"
  10. *ModelName: "Star XT-15"
  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(6120, 7440)
  132. *PrintableOrigin: PAIR(0, 120)
  133. }
  134. *case: MANUAL
  135. {
  136. *PrintableArea: PAIR(6120, 6840)
  137. *PrintableOrigin: PAIR(0, 720)
  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(7920, 5640)
  161. *PrintableOrigin: PAIR(0, 120)
  162. }
  163. *case: MANUAL
  164. {
  165. *PrintableArea: PAIR(7920, 5040)
  166. *PrintableOrigin: PAIR(0, 720)
  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(6120, 9600)
  188. *PrintableOrigin: PAIR(0, 120)
  189. }
  190. *case: MANUAL
  191. {
  192. *PrintableArea: PAIR(6120, 9000)
  193. *PrintableOrigin: PAIR(0, 720)
  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(7920, 11760)
  215. *PrintableOrigin: PAIR(0, 120)
  216. }
  217. *case: MANUAL
  218. {
  219. *PrintableArea: PAIR(7920, 11160)
  220. *PrintableOrigin: PAIR(0, 720)
  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(5220, 7080)
  242. *PrintableOrigin: PAIR(0, 120)
  243. }
  244. *case: MANUAL
  245. {
  246. *PrintableArea: PAIR(5220, 6480)
  247. *PrintableOrigin: PAIR(0, 720)
  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, 8280)
  274. *PrintableOrigin: PAIR(0, 720)
  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, 15752)
  303. *PrintableOrigin: PAIR(1080, 720)
  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(8417, 11429)
  352. *PrintableOrigin: PAIR(0, 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(8416, 11428)
  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(8416, 11428)
  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(8416, 11428)
  372. }
  373. *case: Option4
  374. {
  375. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  376. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  377. *PrintableArea: PAIR(8412, 11428)
  378. }
  379. }
  380. }
  381. *case: MANUAL
  382. {
  383. *PrintableArea: PAIR(8417, 10829)
  384. *PrintableOrigin: PAIR(0, 720)
  385. *switch: Resolution
  386. {
  387. *case: Option1
  388. {
  389. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  390. *% Warning: the following printable length is adjusted (10829->10828) so it is divisible by the resolution Y scale.
  391. *PrintableArea: PAIR(8416, 10828)
  392. }
  393. *case: Option2
  394. {
  395. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  396. *% Warning: the following printable length is adjusted (10829->10828) so it is divisible by the resolution Y scale.
  397. *PrintableArea: PAIR(8416, 10828)
  398. }
  399. *case: Option3
  400. {
  401. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  402. *% Warning: the following printable length is adjusted (10829->10828) so it is divisible by the resolution Y scale.
  403. *PrintableArea: PAIR(8416, 10828)
  404. }
  405. *case: Option4
  406. {
  407. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  408. *% Warning: the following printable length is adjusted (10829->10828) so it is divisible by the resolution Y scale.
  409. *PrintableArea: PAIR(8412, 10828)
  410. }
  411. }
  412. }
  413. }
  414. }
  415. *Option: Option9
  416. {
  417. *rcNameID: 260
  418. *OptionID: 260
  419. *PageDimensions: PAIR(11909, 8417)
  420. *Command: CmdSelect
  421. {
  422. *Order: DOC_SETUP.4
  423. *Cmd: "<1B>2<1B>CF"
  424. }
  425. *switch: InputBin
  426. {
  427. *case: TRACTOR
  428. {
  429. *PrintableArea: PAIR(9749, 8417)
  430. *PrintableOrigin: PAIR(1080, 0)
  431. *switch: Resolution
  432. {
  433. *case: Option1
  434. {
  435. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  436. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  437. *PrintableArea: PAIR(9748, 8416)
  438. }
  439. *case: Option2
  440. {
  441. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  442. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  443. *PrintableArea: PAIR(9748, 8416)
  444. }
  445. *case: Option3
  446. {
  447. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  448. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  449. *PrintableArea: PAIR(9748, 8416)
  450. }
  451. *case: Option4
  452. {
  453. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  454. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  455. *PrintableArea: PAIR(9744, 8416)
  456. }
  457. }
  458. }
  459. *case: AUTO
  460. {
  461. *PrintableArea: PAIR(9749, 7937)
  462. *PrintableOrigin: PAIR(1080, 120)
  463. *switch: Resolution
  464. {
  465. *case: Option1
  466. {
  467. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  468. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  469. *PrintableArea: PAIR(9748, 7936)
  470. }
  471. *case: Option2
  472. {
  473. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  474. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  475. *PrintableArea: PAIR(9748, 7936)
  476. }
  477. *case: Option3
  478. {
  479. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  480. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  481. *PrintableArea: PAIR(9748, 7936)
  482. }
  483. *case: Option4
  484. {
  485. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  486. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  487. *PrintableArea: PAIR(9744, 7936)
  488. }
  489. }
  490. }
  491. *case: MANUAL
  492. {
  493. *PrintableArea: PAIR(9749, 7337)
  494. *PrintableOrigin: PAIR(1080, 720)
  495. *switch: Resolution
  496. {
  497. *case: Option1
  498. {
  499. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  500. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  501. *PrintableArea: PAIR(9748, 7336)
  502. }
  503. *case: Option2
  504. {
  505. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  506. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  507. *PrintableArea: PAIR(9748, 7336)
  508. }
  509. *case: Option3
  510. {
  511. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  512. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  513. *PrintableArea: PAIR(9748, 7336)
  514. }
  515. *case: Option4
  516. {
  517. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  518. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  519. *PrintableArea: PAIR(9744, 7336)
  520. }
  521. }
  522. }
  523. }
  524. }
  525. *Option: A4
  526. {
  527. *rcNameID: =A4_DISPLAY
  528. *Command: CmdSelect
  529. {
  530. *Order: DOC_SETUP.4
  531. *Cmd: "<1B>2<1B>CF"
  532. }
  533. *switch: InputBin
  534. {
  535. *case: TRACTOR
  536. {
  537. *PrintableArea: PAIR(5954, 8417)
  538. *PrintableOrigin: PAIR(0, 0)
  539. *switch: Resolution
  540. {
  541. *case: Option1
  542. {
  543. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  544. *PrintableArea: PAIR(5954, 8416)
  545. }
  546. *case: Option2
  547. {
  548. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  549. *PrintableArea: PAIR(5954, 8416)
  550. }
  551. *case: Option3
  552. {
  553. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  554. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  555. *PrintableArea: PAIR(5952, 8416)
  556. }
  557. *case: Option4
  558. {
  559. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  560. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  561. *PrintableArea: PAIR(5952, 8416)
  562. }
  563. }
  564. }
  565. *case: AUTO
  566. {
  567. *PrintableArea: PAIR(5954, 7937)
  568. *PrintableOrigin: PAIR(0, 120)
  569. *switch: Resolution
  570. {
  571. *case: Option1
  572. {
  573. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  574. *PrintableArea: PAIR(5954, 7936)
  575. }
  576. *case: Option2
  577. {
  578. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  579. *PrintableArea: PAIR(5954, 7936)
  580. }
  581. *case: Option3
  582. {
  583. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  584. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  585. *PrintableArea: PAIR(5952, 7936)
  586. }
  587. *case: Option4
  588. {
  589. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  590. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  591. *PrintableArea: PAIR(5952, 7936)
  592. }
  593. }
  594. }
  595. *case: MANUAL
  596. {
  597. *PrintableArea: PAIR(5954, 7337)
  598. *PrintableOrigin: PAIR(0, 720)
  599. *switch: Resolution
  600. {
  601. *case: Option1
  602. {
  603. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  604. *PrintableArea: PAIR(5954, 7336)
  605. }
  606. *case: Option2
  607. {
  608. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  609. *PrintableArea: PAIR(5954, 7336)
  610. }
  611. *case: Option3
  612. {
  613. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  614. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  615. *PrintableArea: PAIR(5952, 7336)
  616. }
  617. *case: Option4
  618. {
  619. *% Warning: the following printable width is adjusted (5954->5952) so it is divisible by the resolution X scale.
  620. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  621. *PrintableArea: PAIR(5952, 7336)
  622. }
  623. }
  624. }
  625. }
  626. }
  627. *Option: Option11
  628. {
  629. *rcNameID: 261
  630. *OptionID: 261
  631. *PageDimensions: PAIR(8417, 5954)
  632. *Command: CmdSelect
  633. {
  634. *Order: DOC_SETUP.4
  635. *Cmd: "<1B>2<1B>C2"
  636. }
  637. *switch: InputBin
  638. {
  639. *case: TRACTOR
  640. {
  641. *PrintableArea: PAIR(8417, 5954)
  642. *PrintableOrigin: PAIR(0, 0)
  643. *switch: Resolution
  644. {
  645. *case: Option1
  646. {
  647. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  648. *PrintableArea: PAIR(8416, 5954)
  649. }
  650. *case: Option2
  651. {
  652. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  653. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  654. *PrintableArea: PAIR(8416, 5952)
  655. }
  656. *case: Option3
  657. {
  658. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  659. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  660. *PrintableArea: PAIR(8416, 5952)
  661. }
  662. *case: Option4
  663. {
  664. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  665. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  666. *PrintableArea: PAIR(8412, 5952)
  667. }
  668. }
  669. }
  670. *case: AUTO
  671. {
  672. *PrintableArea: PAIR(8417, 5474)
  673. *PrintableOrigin: PAIR(0, 120)
  674. *switch: Resolution
  675. {
  676. *case: Option1
  677. {
  678. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  679. *PrintableArea: PAIR(8416, 5474)
  680. }
  681. *case: Option2
  682. {
  683. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  684. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  685. *PrintableArea: PAIR(8416, 5472)
  686. }
  687. *case: Option3
  688. {
  689. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  690. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  691. *PrintableArea: PAIR(8416, 5472)
  692. }
  693. *case: Option4
  694. {
  695. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  696. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  697. *PrintableArea: PAIR(8412, 5472)
  698. }
  699. }
  700. }
  701. *case: MANUAL
  702. {
  703. *PrintableArea: PAIR(8417, 4874)
  704. *PrintableOrigin: PAIR(0, 720)
  705. *switch: Resolution
  706. {
  707. *case: Option1
  708. {
  709. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  710. *PrintableArea: PAIR(8416, 4874)
  711. }
  712. *case: Option2
  713. {
  714. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  715. *% Warning: the following printable length is adjusted (4874->4872) so it is divisible by the resolution Y scale.
  716. *PrintableArea: PAIR(8416, 4872)
  717. }
  718. *case: Option3
  719. {
  720. *% Warning: the following printable width is adjusted (8417->8416) so it is divisible by the resolution X scale.
  721. *% Warning: the following printable length is adjusted (4874->4872) so it is divisible by the resolution Y scale.
  722. *PrintableArea: PAIR(8416, 4872)
  723. }
  724. *case: Option4
  725. {
  726. *% Warning: the following printable width is adjusted (8417->8412) so it is divisible by the resolution X scale.
  727. *% Warning: the following printable length is adjusted (4874->4872) so it is divisible by the resolution Y scale.
  728. *PrintableArea: PAIR(8412, 4872)
  729. }
  730. }
  731. }
  732. }
  733. }
  734. *Option: B4
  735. {
  736. *rcNameID: =B4_DISPLAY
  737. *Command: CmdSelect
  738. {
  739. *Order: DOC_SETUP.4
  740. *Cmd: "<1B>2<1B>CT"
  741. }
  742. *switch: InputBin
  743. {
  744. *case: TRACTOR
  745. {
  746. *PrintableArea: PAIR(7286, 10318)
  747. *PrintableOrigin: PAIR(0, 0)
  748. *switch: Resolution
  749. {
  750. *case: Option2
  751. {
  752. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  753. *PrintableArea: PAIR(7286, 10316)
  754. }
  755. *case: Option3
  756. {
  757. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  758. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  759. *PrintableArea: PAIR(7284, 10316)
  760. }
  761. *case: Option4
  762. {
  763. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  764. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  765. *PrintableArea: PAIR(7284, 10316)
  766. }
  767. }
  768. }
  769. *case: AUTO
  770. {
  771. *PrintableArea: PAIR(7286, 9838)
  772. *PrintableOrigin: PAIR(0, 120)
  773. *switch: Resolution
  774. {
  775. *case: Option2
  776. {
  777. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  778. *PrintableArea: PAIR(7286, 9836)
  779. }
  780. *case: Option3
  781. {
  782. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  783. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  784. *PrintableArea: PAIR(7284, 9836)
  785. }
  786. *case: Option4
  787. {
  788. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  789. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  790. *PrintableArea: PAIR(7284, 9836)
  791. }
  792. }
  793. }
  794. *case: MANUAL
  795. {
  796. *PrintableArea: PAIR(7286, 9238)
  797. *PrintableOrigin: PAIR(0, 720)
  798. *switch: Resolution
  799. {
  800. *case: Option2
  801. {
  802. *% Warning: the following printable length is adjusted (9238->9236) so it is divisible by the resolution Y scale.
  803. *PrintableArea: PAIR(7286, 9236)
  804. }
  805. *case: Option3
  806. {
  807. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  808. *% Warning: the following printable length is adjusted (9238->9236) so it is divisible by the resolution Y scale.
  809. *PrintableArea: PAIR(7284, 9236)
  810. }
  811. *case: Option4
  812. {
  813. *% Warning: the following printable width is adjusted (7286->7284) so it is divisible by the resolution X scale.
  814. *% Warning: the following printable length is adjusted (9238->9236) so it is divisible by the resolution Y scale.
  815. *PrintableArea: PAIR(7284, 9236)
  816. }
  817. }
  818. }
  819. }
  820. }
  821. *Option: B5
  822. {
  823. *rcNameID: =B5_DISPLAY
  824. *Command: CmdSelect
  825. {
  826. *Order: DOC_SETUP.4
  827. *Cmd: "<1B>2<1B>C="
  828. }
  829. *switch: InputBin
  830. {
  831. *case: TRACTOR
  832. {
  833. *PrintableArea: PAIR(5162, 7286)
  834. *PrintableOrigin: PAIR(0, 0)
  835. *switch: Resolution
  836. {
  837. *case: Option2
  838. {
  839. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  840. *PrintableArea: PAIR(5162, 7284)
  841. }
  842. *case: Option3
  843. {
  844. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  845. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  846. *PrintableArea: PAIR(5160, 7284)
  847. }
  848. *case: Option4
  849. {
  850. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  851. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  852. *PrintableArea: PAIR(5160, 7284)
  853. }
  854. }
  855. }
  856. *case: AUTO
  857. {
  858. *PrintableArea: PAIR(5162, 6806)
  859. *PrintableOrigin: PAIR(0, 120)
  860. *switch: Resolution
  861. {
  862. *case: Option2
  863. {
  864. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  865. *PrintableArea: PAIR(5162, 6804)
  866. }
  867. *case: Option3
  868. {
  869. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  870. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  871. *PrintableArea: PAIR(5160, 6804)
  872. }
  873. *case: Option4
  874. {
  875. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  876. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  877. *PrintableArea: PAIR(5160, 6804)
  878. }
  879. }
  880. }
  881. *case: MANUAL
  882. {
  883. *PrintableArea: PAIR(5162, 6206)
  884. *PrintableOrigin: PAIR(0, 720)
  885. *switch: Resolution
  886. {
  887. *case: Option2
  888. {
  889. *% Warning: the following printable length is adjusted (6206->6204) so it is divisible by the resolution Y scale.
  890. *PrintableArea: PAIR(5162, 6204)
  891. }
  892. *case: Option3
  893. {
  894. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  895. *% Warning: the following printable length is adjusted (6206->6204) so it is divisible by the resolution Y scale.
  896. *PrintableArea: PAIR(5160, 6204)
  897. }
  898. *case: Option4
  899. {
  900. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  901. *% Warning: the following printable length is adjusted (6206->6204) so it is divisible by the resolution Y scale.
  902. *PrintableArea: PAIR(5160, 6204)
  903. }
  904. }
  905. }
  906. }
  907. }
  908. *Option: Option14
  909. {
  910. *rcNameID: 262
  911. *OptionID: 262
  912. *PageDimensions: PAIR(5760, 8640)
  913. *Command: CmdSelect
  914. {
  915. *Order: DOC_SETUP.4
  916. *Cmd: "<1B>2<1B>C$"
  917. }
  918. *switch: InputBin
  919. {
  920. *case: TRACTOR
  921. {
  922. *PrintableArea: PAIR(5760, 8640)
  923. *PrintableOrigin: PAIR(0, 0)
  924. }
  925. *case: AUTO
  926. {
  927. *PrintableArea: PAIR(5760, 8160)
  928. *PrintableOrigin: PAIR(0, 120)
  929. }
  930. *case: MANUAL
  931. {
  932. *PrintableArea: PAIR(5760, 7560)
  933. *PrintableOrigin: PAIR(0, 720)
  934. }
  935. }
  936. }
  937. *Option: FANFOLD_STD_GERMAN
  938. {
  939. *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
  940. *Command: CmdSelect
  941. {
  942. *Order: DOC_SETUP.4
  943. *Cmd: "<1B>2<1B>CH"
  944. }
  945. *switch: InputBin
  946. {
  947. *case: TRACTOR
  948. {
  949. *PrintableArea: PAIR(6120, 8640)
  950. *PrintableOrigin: PAIR(0, 0)
  951. }
  952. *case: AUTO
  953. {
  954. *PrintableArea: PAIR(6120, 8160)
  955. *PrintableOrigin: PAIR(0, 120)
  956. }
  957. *case: MANUAL
  958. {
  959. *PrintableArea: PAIR(6120, 7560)
  960. *PrintableOrigin: PAIR(0, 720)
  961. }
  962. }
  963. }
  964. *Option: Option16
  965. {
  966. *rcNameID: 263
  967. *OptionID: 263
  968. *PageDimensions: PAIR(5952, 8640)
  969. *Command: CmdSelect
  970. {
  971. *Order: DOC_SETUP.4
  972. *Cmd: "<1B>2<1B>CH"
  973. }
  974. *switch: InputBin
  975. {
  976. *case: TRACTOR
  977. {
  978. *PrintableArea: PAIR(5952, 8640)
  979. *PrintableOrigin: PAIR(0, 0)
  980. }
  981. *case: AUTO
  982. {
  983. *PrintableArea: PAIR(5952, 8160)
  984. *PrintableOrigin: PAIR(0, 120)
  985. }
  986. *case: MANUAL
  987. {
  988. *PrintableArea: PAIR(5952, 7560)
  989. *PrintableOrigin: PAIR(0, 720)
  990. }
  991. }
  992. }
  993. *Option: Option17
  994. {
  995. *rcNameID: 264
  996. *OptionID: 264
  997. *PageDimensions: PAIR(10148, 8640)
  998. *Command: CmdSelect
  999. {
  1000. *Order: DOC_SETUP.4
  1001. *Cmd: "<1B>2<1B>CH"
  1002. }
  1003. *switch: InputBin
  1004. {
  1005. *case: TRACTOR
  1006. {
  1007. *PrintableArea: PAIR(9792, 8640)
  1008. *PrintableOrigin: PAIR(0, 0)
  1009. }
  1010. *case: AUTO
  1011. {
  1012. *PrintableArea: PAIR(9792, 8160)
  1013. *PrintableOrigin: PAIR(0, 120)
  1014. }
  1015. *case: MANUAL
  1016. {
  1017. *PrintableArea: PAIR(9792, 7560)
  1018. *PrintableOrigin: PAIR(0, 720)
  1019. }
  1020. }
  1021. }
  1022. *Option: Option18
  1023. {
  1024. *rcNameID: 265
  1025. *OptionID: 265
  1026. *PageDimensions: PAIR(10800, 8640)
  1027. *Command: CmdSelect
  1028. {
  1029. *Order: DOC_SETUP.4
  1030. *Cmd: "<1B>2<1B>CH"
  1031. }
  1032. *switch: InputBin
  1033. {
  1034. *case: TRACTOR
  1035. {
  1036. *PrintableArea: PAIR(9792, 8640)
  1037. *PrintableOrigin: PAIR(288, 0)
  1038. }
  1039. *case: AUTO
  1040. {
  1041. *PrintableArea: PAIR(9792, 8160)
  1042. *PrintableOrigin: PAIR(288, 120)
  1043. }
  1044. *case: MANUAL
  1045. {
  1046. *PrintableArea: PAIR(9792, 7560)
  1047. *PrintableOrigin: PAIR(288, 720)
  1048. }
  1049. }
  1050. }
  1051. *Option: FANFOLD_US
  1052. {
  1053. *rcNameID: =FANFOLD_US_DISPLAY
  1054. *Command: CmdSelect
  1055. {
  1056. *Order: DOC_SETUP.4
  1057. *Cmd: "<1B>2<1B>CB"
  1058. }
  1059. *switch: InputBin
  1060. {
  1061. *case: TRACTOR
  1062. {
  1063. *PrintableArea: PAIR(9792, 7920)
  1064. *PrintableOrigin: PAIR(200, 0)
  1065. *switch: Resolution
  1066. {
  1067. *case: Option4
  1068. {
  1069. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1070. *PrintableArea: PAIR(9786, 7920)
  1071. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1072. *PrintableOrigin: PAIR(204, 0)
  1073. }
  1074. }
  1075. }
  1076. *case: AUTO
  1077. {
  1078. *PrintableArea: PAIR(9792, 7440)
  1079. *PrintableOrigin: PAIR(200, 120)
  1080. *switch: Resolution
  1081. {
  1082. *case: Option4
  1083. {
  1084. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1085. *PrintableArea: PAIR(9786, 7440)
  1086. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1087. *PrintableOrigin: PAIR(204, 120)
  1088. }
  1089. }
  1090. }
  1091. *case: MANUAL
  1092. {
  1093. *PrintableArea: PAIR(9792, 6840)
  1094. *PrintableOrigin: PAIR(200, 720)
  1095. *switch: Resolution
  1096. {
  1097. *case: Option4
  1098. {
  1099. *% Warning: the following printable width is adjusted (9792->9786) so it is divisible by the resolution X scale.
  1100. *PrintableArea: PAIR(9786, 6840)
  1101. *% Warning: the following printable origin X is adjusted (200->204) so it is divisible by the resolution X scale.
  1102. *PrintableOrigin: PAIR(204, 720)
  1103. }
  1104. }
  1105. }
  1106. }
  1107. }
  1108. *Option: Option20
  1109. {
  1110. *rcNameID: 266
  1111. *OptionID: 266
  1112. *PageDimensions: PAIR(10800, 7920)
  1113. *Command: CmdSelect
  1114. {
  1115. *Order: DOC_SETUP.4
  1116. *Cmd: "<1B>2<1B>CB"
  1117. }
  1118. *switch: InputBin
  1119. {
  1120. *case: TRACTOR
  1121. {
  1122. *PrintableArea: PAIR(9790, 7920)
  1123. *PrintableOrigin: PAIR(290, 0)
  1124. *switch: Resolution
  1125. {
  1126. *case: Option3
  1127. {
  1128. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1129. *PrintableArea: PAIR(9788, 7920)
  1130. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1131. *PrintableOrigin: PAIR(292, 0)
  1132. }
  1133. *case: Option4
  1134. {
  1135. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1136. *PrintableArea: PAIR(9786, 7920)
  1137. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1138. *PrintableOrigin: PAIR(294, 0)
  1139. }
  1140. }
  1141. }
  1142. *case: AUTO
  1143. {
  1144. *PrintableArea: PAIR(9790, 7440)
  1145. *PrintableOrigin: PAIR(290, 120)
  1146. *switch: Resolution
  1147. {
  1148. *case: Option3
  1149. {
  1150. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1151. *PrintableArea: PAIR(9788, 7440)
  1152. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1153. *PrintableOrigin: PAIR(292, 120)
  1154. }
  1155. *case: Option4
  1156. {
  1157. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1158. *PrintableArea: PAIR(9786, 7440)
  1159. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1160. *PrintableOrigin: PAIR(294, 120)
  1161. }
  1162. }
  1163. }
  1164. *case: MANUAL
  1165. {
  1166. *PrintableArea: PAIR(9790, 6840)
  1167. *PrintableOrigin: PAIR(290, 720)
  1168. *switch: Resolution
  1169. {
  1170. *case: Option3
  1171. {
  1172. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1173. *PrintableArea: PAIR(9788, 6840)
  1174. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1175. *PrintableOrigin: PAIR(292, 720)
  1176. }
  1177. *case: Option4
  1178. {
  1179. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1180. *PrintableArea: PAIR(9786, 6840)
  1181. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1182. *PrintableOrigin: PAIR(294, 720)
  1183. }
  1184. }
  1185. }
  1186. }
  1187. }
  1188. *Option: Option21
  1189. {
  1190. *rcNameID: 267
  1191. *OptionID: 267
  1192. *PageDimensions: PAIR(10800, 8417)
  1193. *Command: CmdSelect
  1194. {
  1195. *Order: DOC_SETUP.4
  1196. *Cmd: "<1B>2<1B>CF"
  1197. }
  1198. *switch: InputBin
  1199. {
  1200. *case: TRACTOR
  1201. {
  1202. *PrintableArea: PAIR(9790, 8417)
  1203. *PrintableOrigin: PAIR(290, 0)
  1204. *switch: Resolution
  1205. {
  1206. *case: Option1
  1207. {
  1208. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1209. *PrintableArea: PAIR(9790, 8416)
  1210. }
  1211. *case: Option2
  1212. {
  1213. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1214. *PrintableArea: PAIR(9790, 8416)
  1215. }
  1216. *case: Option3
  1217. {
  1218. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1219. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1220. *PrintableArea: PAIR(9788, 8416)
  1221. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1222. *PrintableOrigin: PAIR(292, 0)
  1223. }
  1224. *case: Option4
  1225. {
  1226. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1227. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  1228. *PrintableArea: PAIR(9786, 8416)
  1229. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1230. *PrintableOrigin: PAIR(294, 0)
  1231. }
  1232. }
  1233. }
  1234. *case: AUTO
  1235. {
  1236. *PrintableArea: PAIR(9790, 7937)
  1237. *PrintableOrigin: PAIR(290, 120)
  1238. *switch: Resolution
  1239. {
  1240. *case: Option1
  1241. {
  1242. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1243. *PrintableArea: PAIR(9790, 7936)
  1244. }
  1245. *case: Option2
  1246. {
  1247. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1248. *PrintableArea: PAIR(9790, 7936)
  1249. }
  1250. *case: Option3
  1251. {
  1252. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1253. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1254. *PrintableArea: PAIR(9788, 7936)
  1255. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1256. *PrintableOrigin: PAIR(292, 120)
  1257. }
  1258. *case: Option4
  1259. {
  1260. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1261. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  1262. *PrintableArea: PAIR(9786, 7936)
  1263. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1264. *PrintableOrigin: PAIR(294, 120)
  1265. }
  1266. }
  1267. }
  1268. *case: MANUAL
  1269. {
  1270. *PrintableArea: PAIR(9790, 7337)
  1271. *PrintableOrigin: PAIR(290, 720)
  1272. *switch: Resolution
  1273. {
  1274. *case: Option1
  1275. {
  1276. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  1277. *PrintableArea: PAIR(9790, 7336)
  1278. }
  1279. *case: Option2
  1280. {
  1281. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  1282. *PrintableArea: PAIR(9790, 7336)
  1283. }
  1284. *case: Option3
  1285. {
  1286. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  1287. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  1288. *PrintableArea: PAIR(9788, 7336)
  1289. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  1290. *PrintableOrigin: PAIR(292, 720)
  1291. }
  1292. *case: Option4
  1293. {
  1294. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  1295. *% Warning: the following printable length is adjusted (7337->7336) so it is divisible by the resolution Y scale.
  1296. *PrintableArea: PAIR(9786, 7336)
  1297. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  1298. *PrintableOrigin: PAIR(294, 720)
  1299. }
  1300. }
  1301. }
  1302. }
  1303. }
  1304. *Option: Option22
  1305. {
  1306. *rcNameID: 268
  1307. *OptionID: 268
  1308. *PageDimensions: PAIR(6120, 7920)
  1309. *Command: CmdSelect
  1310. {
  1311. *Order: DOC_SETUP.4
  1312. *Cmd: "<1B>2<1B>CF"
  1313. }
  1314. *switch: InputBin
  1315. {
  1316. *case: TRACTOR
  1317. {
  1318. *PrintableArea: PAIR(5760, 7920)
  1319. *PrintableOrigin: PAIR(360, 0)
  1320. }
  1321. *case: AUTO
  1322. {
  1323. *PrintableArea: PAIR(5760, 7440)
  1324. *PrintableOrigin: PAIR(360, 120)
  1325. }
  1326. *case: MANUAL
  1327. {
  1328. *PrintableArea: PAIR(5760, 6840)
  1329. *PrintableOrigin: PAIR(360, 720)
  1330. }
  1331. }
  1332. }
  1333. *Option: Option23
  1334. {
  1335. *rcNameID: 269
  1336. *OptionID: 269
  1337. *PageDimensions: PAIR(8640, 7920)
  1338. *Command: CmdSelect
  1339. {
  1340. *Order: DOC_SETUP.4
  1341. *Cmd: "<1B>2<1B>CF"
  1342. }
  1343. *switch: InputBin
  1344. {
  1345. *case: TRACTOR
  1346. {
  1347. *PrintableArea: PAIR(7920, 7920)
  1348. *PrintableOrigin: PAIR(360, 0)
  1349. }
  1350. *case: AUTO
  1351. {
  1352. *PrintableArea: PAIR(7920, 7440)
  1353. *PrintableOrigin: PAIR(360, 120)
  1354. }
  1355. *case: MANUAL
  1356. {
  1357. *PrintableArea: PAIR(7920, 6840)
  1358. *PrintableOrigin: PAIR(360, 720)
  1359. }
  1360. }
  1361. }
  1362. *Option: CUSTOMSIZE
  1363. {
  1364. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1365. *MinSize: PAIR(720, 360)
  1366. *MaxSize: PAIR(11880, 15840)
  1367. *MaxPrintableWidth: 9792
  1368. *MinLeftMargin: 0
  1369. *CenterPrintable?: FALSE
  1370. *switch: InputBin
  1371. {
  1372. *case: TRACTOR
  1373. {
  1374. *TopMargin: 0
  1375. *BottomMargin: 0
  1376. }
  1377. *case: AUTO
  1378. {
  1379. *TopMargin: 120
  1380. *BottomMargin: 360
  1381. }
  1382. *case: MANUAL
  1383. {
  1384. *TopMargin: 720
  1385. *BottomMargin: 360
  1386. }
  1387. }
  1388. *Command: CmdSelect
  1389. {
  1390. *Order: DOC_SETUP.4
  1391. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 120) )}
  1392. }
  1393. }
  1394. }
  1395. *Feature: PrintQuality
  1396. {
  1397. *rcNameID: =TEXT_QUALITY_DISPLAY
  1398. *DefaultOption: LETTER_QUALITY
  1399. *Option: LETTER_QUALITY
  1400. {
  1401. *rcNameID: =LETTER_QUALITY_DISPLAY
  1402. *Command: CmdSelect
  1403. {
  1404. *Order: DOC_SETUP.2
  1405. *Cmd: "<1B>x1"
  1406. }
  1407. }
  1408. *Option: DRAFT_QUALITY
  1409. {
  1410. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1411. *Command: CmdSelect
  1412. {
  1413. *Order: DOC_SETUP.2
  1414. *Cmd: "<1B>x0"
  1415. }
  1416. }
  1417. }
  1418. *Feature: ColorMode
  1419. {
  1420. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1421. *DefaultOption: Mono
  1422. *Option: Mono
  1423. {
  1424. *rcNameID: =MONO_DISPLAY
  1425. *DevNumOfPlanes: 1
  1426. *DevBPP: 1
  1427. *Color? : FALSE
  1428. }
  1429. *Option: Color
  1430. {
  1431. *rcNameID: =COLOR_DISPLAY
  1432. *DevNumOfPlanes: 4
  1433. *DevBPP: 1
  1434. *DrvBPP: 4
  1435. EXTERN_GLOBAL: *MoveToX0BeforeSetColor? : TRUE
  1436. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1437. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1438. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1439. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1440. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1441. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1442. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1443. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1444. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1445. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1446. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1447. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1448. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1449. }
  1450. }
  1451. *Feature: Halftone
  1452. {
  1453. *rcNameID: =HALFTONING_DISPLAY
  1454. *DefaultOption: HT_PATSIZE_AUTO
  1455. *Option: HT_PATSIZE_AUTO
  1456. {
  1457. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1458. }
  1459. *Option: HT_PATSIZE_SUPERCELL_M
  1460. {
  1461. *rcNameID: =HT_SUPERCELL_DISPLAY
  1462. }
  1463. *Option: HT_PATSIZE_6x6_M
  1464. {
  1465. *rcNameID: =HT_DITHER6X6_DISPLAY
  1466. }
  1467. *Option: HT_PATSIZE_8x8_M
  1468. {
  1469. *rcNameID: =HT_DITHER8X8_DISPLAY
  1470. }
  1471. }
  1472. *Command: CmdStartDoc
  1473. {
  1474. *Order: DOC_SETUP.1
  1475. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  1476. }
  1477. *Command: CmdStartPage
  1478. {
  1479. *Order: PAGE_SETUP.1
  1480. *Cmd: "<0D>"
  1481. }
  1482. *Command: CmdEndJob
  1483. {
  1484. *Order: JOB_FINISH.1
  1485. *Cmd: "<1B>@"
  1486. }
  1487. *RotateCoordinate?: FALSE
  1488. *RotateRaster?: FALSE
  1489. *RotateFont?: FALSE
  1490. *switch: Orientation
  1491. {
  1492. *case: PORTRAIT
  1493. {
  1494. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1495. }
  1496. *case: LANDSCAPE_CC270
  1497. {
  1498. *TextCaps: LIST(TC_RA_ABLE)
  1499. }
  1500. }
  1501. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1502. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1503. *MaxLineSpacing: 255
  1504. *XMoveThreshold: 0
  1505. *YMoveThreshold: *
  1506. *XMoveUnit: 60
  1507. *YMoveUnit: 180
  1508. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1509. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1510. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1511. *Command: CmdCR { *Cmd : "<0D>" }
  1512. *Command: CmdLF { *Cmd : "<0A>" }
  1513. *Command: CmdFF { *Cmd : "<0C>" }
  1514. *Command: CmdBackSpace { *Cmd : "<08>" }
  1515. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1516. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1517. *EjectPageWithFF?: TRUE
  1518. *OutputDataFormat: V_BYTE
  1519. *OptimizeLeftBound?: TRUE
  1520. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1521. *CursorYAfterSendBlockData: NO_MOVE
  1522. *DefaultFont: 48
  1523. *DefaultCTT: 2
  1524. *switch: Orientation
  1525. {
  1526. *case: PORTRAIT
  1527. {
  1528. *DeviceFonts: LIST(1,2,3,4,5,6,7,17,18,19,20,21,22,23,24,25,
  1529. + 26,27,28,29,31,48,49,50,51,52,53,54,139,140,141,182,194)
  1530. }
  1531. *case: LANDSCAPE_CC270
  1532. {
  1533. *DeviceFonts: LIST()
  1534. }
  1535. }
  1536. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1537. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1538. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1539. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1540. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1541. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1542. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P1" }
  1543. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P0" }