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.

1280 lines
43 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "eplq50t.gpd"
  9. *Include: "STDNAMES.GPD"
  10. *ModelName: "Epson LQ-500C"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "ep24tres.dll"
  13. *PrinterType: SERIAL
  14. *FontCartSlots: 1
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: TRACTOR
  32. *Option: TRACTOR
  33. {
  34. *rcNameID: =TRACTOR_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.3
  38. *Cmd: "<1B19>0"
  39. }
  40. }
  41. *Option: MANUAL
  42. {
  43. *rcNameID: =MANUAL_FEED_DISPLAY
  44. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.3
  48. *Cmd: "<1B19>0"
  49. }
  50. }
  51. *Option: Option3
  52. {
  53. *rcNameID: 265
  54. *OptionID: 265
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.3
  58. *Cmd: "<1B19>4<1B19>1"
  59. }
  60. }
  61. }
  62. *Feature: Resolution
  63. {
  64. *rcNameID: =RESOLUTION_DISPLAY
  65. *DefaultOption: Option3
  66. *Option: Option1
  67. {
  68. *Name: "360 x 180 dots per inch"
  69. *DPI: PAIR(360, 180)
  70. *TextDPI: PAIR(360, 180)
  71. *PinsPerLogPass: 24
  72. *PinsPerPhysPass: 24
  73. *MinStripBlankPixels: 360
  74. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  75. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  76. *SpotDiameter: 170
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  78. }
  79. *Option: Option2
  80. {
  81. *Name: "360 x 360 dots per inch"
  82. *DPI: PAIR(360, 360)
  83. *TextDPI: PAIR(360, 360)
  84. *PinsPerLogPass: 48
  85. *PinsPerPhysPass: 24
  86. *MinStripBlankPixels: 360
  87. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  88. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  89. *SpotDiameter: 170
  90. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  91. }
  92. *Option: Option3
  93. {
  94. *Name: "180 x 180 dots per inch"
  95. *DPI: PAIR(180, 180)
  96. *TextDPI: PAIR(180, 180)
  97. *PinsPerLogPass: 24
  98. *PinsPerPhysPass: 24
  99. *MinStripBlankPixels: 180
  100. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  101. *SpotDiameter: 120
  102. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  103. }
  104. *Option: Option4
  105. {
  106. *Name: "120 x 180 dots per inch"
  107. *DPI: PAIR(120, 180)
  108. *TextDPI: PAIR(120, 180)
  109. *PinsPerLogPass: 24
  110. *PinsPerPhysPass: 24
  111. *MinStripBlankPixels: 120
  112. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  113. *SpotDiameter: 100
  114. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  115. }
  116. }
  117. *Feature: PaperSize
  118. {
  119. *rcNameID: =PAPER_SIZE_DISPLAY
  120. *DefaultOption: LETTER
  121. *Option: LETTER
  122. {
  123. *rcNameID: =LETTER_DISPLAY
  124. *Command: CmdSelect
  125. {
  126. *Order: DOC_SETUP.4
  127. *Cmd: "<1B>2<1B>CB"
  128. }
  129. *switch: InputBin
  130. {
  131. *case: TRACTOR
  132. {
  133. *PrintableArea: PAIR(2880, 3615)
  134. *PrintableOrigin: PAIR(90, 120)
  135. *switch: Resolution
  136. {
  137. *case: Option1
  138. {
  139. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  140. *PrintableArea: PAIR(2880, 3614)
  141. }
  142. *case: Option3
  143. {
  144. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  145. *PrintableArea: PAIR(2880, 3614)
  146. }
  147. *case: Option4
  148. {
  149. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  150. *PrintableArea: PAIR(2880, 3614)
  151. }
  152. }
  153. }
  154. *case: MANUAL
  155. {
  156. *PrintableArea: PAIR(2880, 3615)
  157. *PrintableOrigin: PAIR(90, 120)
  158. *switch: Resolution
  159. {
  160. *case: Option1
  161. {
  162. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  163. *PrintableArea: PAIR(2880, 3614)
  164. }
  165. *case: Option3
  166. {
  167. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  168. *PrintableArea: PAIR(2880, 3614)
  169. }
  170. *case: Option4
  171. {
  172. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  173. *PrintableArea: PAIR(2880, 3614)
  174. }
  175. }
  176. }
  177. *case: Option3
  178. {
  179. *PrintableArea: PAIR(2880, 3615)
  180. *PrintableOrigin: PAIR(90, 120)
  181. *switch: Resolution
  182. {
  183. *case: Option1
  184. {
  185. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  186. *PrintableArea: PAIR(2880, 3614)
  187. }
  188. *case: Option3
  189. {
  190. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  191. *PrintableArea: PAIR(2880, 3614)
  192. }
  193. *case: Option4
  194. {
  195. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  196. *PrintableArea: PAIR(2880, 3614)
  197. }
  198. }
  199. }
  200. }
  201. }
  202. *Option: LEGAL
  203. {
  204. *rcNameID: =LEGAL_DISPLAY
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.4
  208. *Cmd: "<1B>2<1B>CT"
  209. }
  210. *switch: InputBin
  211. {
  212. *case: TRACTOR
  213. {
  214. *PrintableArea: PAIR(2880, 4695)
  215. *PrintableOrigin: PAIR(90, 120)
  216. *switch: Resolution
  217. {
  218. *case: Option1
  219. {
  220. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  221. *PrintableArea: PAIR(2880, 4694)
  222. }
  223. *case: Option3
  224. {
  225. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  226. *PrintableArea: PAIR(2880, 4694)
  227. }
  228. *case: Option4
  229. {
  230. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  231. *PrintableArea: PAIR(2880, 4694)
  232. }
  233. }
  234. }
  235. *case: MANUAL
  236. {
  237. *PrintableArea: PAIR(2880, 4695)
  238. *PrintableOrigin: PAIR(90, 120)
  239. *switch: Resolution
  240. {
  241. *case: Option1
  242. {
  243. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  244. *PrintableArea: PAIR(2880, 4694)
  245. }
  246. *case: Option3
  247. {
  248. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  249. *PrintableArea: PAIR(2880, 4694)
  250. }
  251. *case: Option4
  252. {
  253. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  254. *PrintableArea: PAIR(2880, 4694)
  255. }
  256. }
  257. }
  258. *case: Option3
  259. {
  260. *PrintableArea: PAIR(2880, 4695)
  261. *PrintableOrigin: PAIR(90, 120)
  262. *switch: Resolution
  263. {
  264. *case: Option1
  265. {
  266. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  267. *PrintableArea: PAIR(2880, 4694)
  268. }
  269. *case: Option3
  270. {
  271. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  272. *PrintableArea: PAIR(2880, 4694)
  273. }
  274. *case: Option4
  275. {
  276. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  277. *PrintableArea: PAIR(2880, 4694)
  278. }
  279. }
  280. }
  281. }
  282. }
  283. *Option: EXECUTIVE
  284. {
  285. *rcNameID: =EXECUTIVE_DISPLAY
  286. *Command: CmdSelect
  287. {
  288. *Order: DOC_SETUP.4
  289. *Cmd: "<1B>2<1B>C?"
  290. }
  291. *switch: InputBin
  292. {
  293. *case: TRACTOR
  294. {
  295. *PrintableArea: PAIR(2475, 3435)
  296. *PrintableOrigin: PAIR(90, 120)
  297. *switch: Resolution
  298. {
  299. *case: Option1
  300. {
  301. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  302. *PrintableArea: PAIR(2475, 3434)
  303. }
  304. *case: Option3
  305. {
  306. *% Warning: the following printable width is adjusted (2475->2474) so it is divisible by the resolution X scale.
  307. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  308. *PrintableArea: PAIR(2474, 3434)
  309. }
  310. *case: Option4
  311. {
  312. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  313. *PrintableArea: PAIR(2475, 3434)
  314. }
  315. }
  316. }
  317. *case: MANUAL
  318. {
  319. *PrintableArea: PAIR(2475, 3435)
  320. *PrintableOrigin: PAIR(90, 120)
  321. *switch: Resolution
  322. {
  323. *case: Option1
  324. {
  325. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  326. *PrintableArea: PAIR(2475, 3434)
  327. }
  328. *case: Option3
  329. {
  330. *% Warning: the following printable width is adjusted (2475->2474) so it is divisible by the resolution X scale.
  331. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  332. *PrintableArea: PAIR(2474, 3434)
  333. }
  334. *case: Option4
  335. {
  336. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  337. *PrintableArea: PAIR(2475, 3434)
  338. }
  339. }
  340. }
  341. *case: Option3
  342. {
  343. *PrintableArea: PAIR(2475, 3435)
  344. *PrintableOrigin: PAIR(90, 120)
  345. *switch: Resolution
  346. {
  347. *case: Option1
  348. {
  349. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  350. *PrintableArea: PAIR(2475, 3434)
  351. }
  352. *case: Option3
  353. {
  354. *% Warning: the following printable width is adjusted (2475->2474) so it is divisible by the resolution X scale.
  355. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  356. *PrintableArea: PAIR(2474, 3434)
  357. }
  358. *case: Option4
  359. {
  360. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  361. *PrintableArea: PAIR(2475, 3434)
  362. }
  363. }
  364. }
  365. }
  366. }
  367. *Option: FOLIO
  368. {
  369. *rcNameID: =FOLIO_DISPLAY
  370. *Command: CmdSelect
  371. {
  372. *Order: DOC_SETUP.4
  373. *Cmd: "<1B>2<1B>CN"
  374. }
  375. *switch: InputBin
  376. {
  377. *case: TRACTOR
  378. {
  379. *PrintableArea: PAIR(2880, 4335)
  380. *PrintableOrigin: PAIR(90, 120)
  381. *switch: Resolution
  382. {
  383. *case: Option1
  384. {
  385. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  386. *PrintableArea: PAIR(2880, 4334)
  387. }
  388. *case: Option3
  389. {
  390. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  391. *PrintableArea: PAIR(2880, 4334)
  392. }
  393. *case: Option4
  394. {
  395. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  396. *PrintableArea: PAIR(2880, 4334)
  397. }
  398. }
  399. }
  400. *case: MANUAL
  401. {
  402. *PrintableArea: PAIR(2880, 4335)
  403. *PrintableOrigin: PAIR(90, 120)
  404. *switch: Resolution
  405. {
  406. *case: Option1
  407. {
  408. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  409. *PrintableArea: PAIR(2880, 4334)
  410. }
  411. *case: Option3
  412. {
  413. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  414. *PrintableArea: PAIR(2880, 4334)
  415. }
  416. *case: Option4
  417. {
  418. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  419. *PrintableArea: PAIR(2880, 4334)
  420. }
  421. }
  422. }
  423. *case: Option3
  424. {
  425. *PrintableArea: PAIR(2880, 4335)
  426. *PrintableOrigin: PAIR(90, 120)
  427. *switch: Resolution
  428. {
  429. *case: Option1
  430. {
  431. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  432. *PrintableArea: PAIR(2880, 4334)
  433. }
  434. *case: Option3
  435. {
  436. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  437. *PrintableArea: PAIR(2880, 4334)
  438. }
  439. *case: Option4
  440. {
  441. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(2880, 4334)
  443. }
  444. }
  445. }
  446. }
  447. }
  448. *Option: A4
  449. {
  450. *rcNameID: =A4_DISPLAY
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.4
  454. *Cmd: "<1B>2<1B>CF"
  455. }
  456. *switch: InputBin
  457. {
  458. *case: TRACTOR
  459. {
  460. *PrintableArea: PAIR(2842, 3863)
  461. *PrintableOrigin: PAIR(90, 120)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  467. *PrintableArea: PAIR(2842, 3862)
  468. }
  469. *case: Option3
  470. {
  471. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  472. *PrintableArea: PAIR(2842, 3862)
  473. }
  474. *case: Option4
  475. {
  476. *% Warning: the following printable width is adjusted (2842->2841) so it is divisible by the resolution X scale.
  477. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  478. *PrintableArea: PAIR(2841, 3862)
  479. }
  480. }
  481. }
  482. *case: MANUAL
  483. {
  484. *PrintableArea: PAIR(2842, 3863)
  485. *PrintableOrigin: PAIR(90, 120)
  486. *switch: Resolution
  487. {
  488. *case: Option1
  489. {
  490. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  491. *PrintableArea: PAIR(2842, 3862)
  492. }
  493. *case: Option3
  494. {
  495. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(2842, 3862)
  497. }
  498. *case: Option4
  499. {
  500. *% Warning: the following printable width is adjusted (2842->2841) so it is divisible by the resolution X scale.
  501. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  502. *PrintableArea: PAIR(2841, 3862)
  503. }
  504. }
  505. }
  506. *case: Option3
  507. {
  508. *PrintableArea: PAIR(2842, 3863)
  509. *PrintableOrigin: PAIR(90, 120)
  510. *switch: Resolution
  511. {
  512. *case: Option1
  513. {
  514. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  515. *PrintableArea: PAIR(2842, 3862)
  516. }
  517. *case: Option3
  518. {
  519. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  520. *PrintableArea: PAIR(2842, 3862)
  521. }
  522. *case: Option4
  523. {
  524. *% Warning: the following printable width is adjusted (2842->2841) so it is divisible by the resolution X scale.
  525. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  526. *PrintableArea: PAIR(2841, 3862)
  527. }
  528. }
  529. }
  530. }
  531. }
  532. *Option: A5
  533. {
  534. *rcNameID: =A5_DISPLAY
  535. *Command: CmdSelect
  536. {
  537. *Order: DOC_SETUP.4
  538. *Cmd: "<1B>2<1B>C2"
  539. }
  540. *switch: InputBin
  541. {
  542. *case: TRACTOR
  543. {
  544. *PrintableArea: PAIR(1964, 2632)
  545. *PrintableOrigin: PAIR(90, 120)
  546. *switch: Resolution
  547. {
  548. *case: Option4
  549. {
  550. *% Warning: the following printable width is adjusted (1964->1962) so it is divisible by the resolution X scale.
  551. *PrintableArea: PAIR(1962, 2632)
  552. }
  553. }
  554. }
  555. *case: MANUAL
  556. {
  557. *PrintableArea: PAIR(1964, 2632)
  558. *PrintableOrigin: PAIR(90, 120)
  559. *switch: Resolution
  560. {
  561. *case: Option4
  562. {
  563. *% Warning: the following printable width is adjusted (1964->1962) so it is divisible by the resolution X scale.
  564. *PrintableArea: PAIR(1962, 2632)
  565. }
  566. }
  567. }
  568. *case: Option3
  569. {
  570. *PrintableArea: PAIR(1964, 2632)
  571. *PrintableOrigin: PAIR(90, 120)
  572. *switch: Resolution
  573. {
  574. *case: Option4
  575. {
  576. *% Warning: the following printable width is adjusted (1964->1962) so it is divisible by the resolution X scale.
  577. *PrintableArea: PAIR(1962, 2632)
  578. }
  579. }
  580. }
  581. }
  582. }
  583. *Option: B4
  584. {
  585. *rcNameID: =B4_DISPLAY
  586. *Command: CmdSelect
  587. {
  588. *Order: DOC_SETUP.4
  589. *Cmd: "<1B>2<1B>CT"
  590. }
  591. *switch: InputBin
  592. {
  593. *case: TRACTOR
  594. {
  595. *PrintableArea: PAIR(2880, 4814)
  596. *PrintableOrigin: PAIR(90, 120)
  597. }
  598. *case: MANUAL
  599. {
  600. *PrintableArea: PAIR(2880, 4814)
  601. *PrintableOrigin: PAIR(90, 120)
  602. }
  603. *case: Option3
  604. {
  605. *PrintableArea: PAIR(2880, 4814)
  606. *PrintableOrigin: PAIR(90, 120)
  607. }
  608. }
  609. }
  610. *Option: B5
  611. {
  612. *rcNameID: =B5_DISPLAY
  613. *Command: CmdSelect
  614. {
  615. *Order: DOC_SETUP.4
  616. *Cmd: "<1B>2<1B>C="
  617. }
  618. *switch: InputBin
  619. {
  620. *case: TRACTOR
  621. {
  622. *PrintableArea: PAIR(2446, 3298)
  623. *PrintableOrigin: PAIR(90, 120)
  624. *switch: Resolution
  625. {
  626. *case: Option4
  627. {
  628. *% Warning: the following printable width is adjusted (2446->2445) so it is divisible by the resolution X scale.
  629. *PrintableArea: PAIR(2445, 3298)
  630. }
  631. }
  632. }
  633. *case: MANUAL
  634. {
  635. *PrintableArea: PAIR(2446, 3298)
  636. *PrintableOrigin: PAIR(90, 120)
  637. *switch: Resolution
  638. {
  639. *case: Option4
  640. {
  641. *% Warning: the following printable width is adjusted (2446->2445) so it is divisible by the resolution X scale.
  642. *PrintableArea: PAIR(2445, 3298)
  643. }
  644. }
  645. }
  646. *case: Option3
  647. {
  648. *PrintableArea: PAIR(2446, 3298)
  649. *PrintableOrigin: PAIR(90, 120)
  650. *switch: Resolution
  651. {
  652. *case: Option4
  653. {
  654. *% Warning: the following printable width is adjusted (2446->2445) so it is divisible by the resolution X scale.
  655. *PrintableArea: PAIR(2445, 3298)
  656. }
  657. }
  658. }
  659. }
  660. }
  661. *Option: Option9
  662. {
  663. *rcNameID: 260
  664. *OptionID: 260
  665. *PageDimensions: PAIR(2880, 2160)
  666. *Command: CmdSelect
  667. {
  668. *Order: DOC_SETUP.4
  669. *Cmd: "<1B>2<1B>C$"
  670. }
  671. *switch: InputBin
  672. {
  673. *case: TRACTOR
  674. {
  675. *PrintableArea: PAIR(2790, 2160)
  676. *PrintableOrigin: PAIR(90, 0)
  677. }
  678. *case: MANUAL
  679. {
  680. *PrintableArea: PAIR(2790, 1815)
  681. *PrintableOrigin: PAIR(90, 120)
  682. *switch: Resolution
  683. {
  684. *case: Option1
  685. {
  686. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  687. *PrintableArea: PAIR(2790, 1814)
  688. }
  689. *case: Option3
  690. {
  691. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  692. *PrintableArea: PAIR(2790, 1814)
  693. }
  694. *case: Option4
  695. {
  696. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  697. *PrintableArea: PAIR(2790, 1814)
  698. }
  699. }
  700. }
  701. *case: Option3
  702. {
  703. *PrintableArea: PAIR(2790, 1815)
  704. *PrintableOrigin: PAIR(90, 120)
  705. *switch: Resolution
  706. {
  707. *case: Option1
  708. {
  709. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  710. *PrintableArea: PAIR(2790, 1814)
  711. }
  712. *case: Option3
  713. {
  714. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  715. *PrintableArea: PAIR(2790, 1814)
  716. }
  717. *case: Option4
  718. {
  719. *% Warning: the following printable length is adjusted (1815->1814) so it is divisible by the resolution Y scale.
  720. *PrintableArea: PAIR(2790, 1814)
  721. }
  722. }
  723. }
  724. }
  725. }
  726. *Option: FANFOLD_STD_GERMAN
  727. {
  728. *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
  729. *Command: CmdSelect
  730. {
  731. *Order: DOC_SETUP.4
  732. *Cmd: "<1B>2<1B>CH"
  733. }
  734. *switch: InputBin
  735. {
  736. *case: TRACTOR
  737. {
  738. *PrintableArea: PAIR(2880, 4320)
  739. *PrintableOrigin: PAIR(90, 0)
  740. }
  741. *case: MANUAL
  742. {
  743. *PrintableArea: PAIR(2880, 3975)
  744. *PrintableOrigin: PAIR(90, 120)
  745. *switch: Resolution
  746. {
  747. *case: Option1
  748. {
  749. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  750. *PrintableArea: PAIR(2880, 3974)
  751. }
  752. *case: Option3
  753. {
  754. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  755. *PrintableArea: PAIR(2880, 3974)
  756. }
  757. *case: Option4
  758. {
  759. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  760. *PrintableArea: PAIR(2880, 3974)
  761. }
  762. }
  763. }
  764. *case: Option3
  765. {
  766. *PrintableArea: PAIR(2880, 3975)
  767. *PrintableOrigin: PAIR(90, 120)
  768. *switch: Resolution
  769. {
  770. *case: Option1
  771. {
  772. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  773. *PrintableArea: PAIR(2880, 3974)
  774. }
  775. *case: Option3
  776. {
  777. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  778. *PrintableArea: PAIR(2880, 3974)
  779. }
  780. *case: Option4
  781. {
  782. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  783. *PrintableArea: PAIR(2880, 3974)
  784. }
  785. }
  786. }
  787. }
  788. }
  789. *Option: Option11
  790. {
  791. *rcNameID: 262
  792. *OptionID: 262
  793. *PageDimensions: PAIR(2976, 4320)
  794. *Command: CmdSelect
  795. {
  796. *Order: DOC_SETUP.4
  797. *Cmd: "<1B>2<1B>CH"
  798. }
  799. *switch: InputBin
  800. {
  801. *case: TRACTOR
  802. {
  803. *PrintableArea: PAIR(2880, 4320)
  804. *PrintableOrigin: PAIR(90, 0)
  805. }
  806. *case: MANUAL
  807. {
  808. *PrintableArea: PAIR(2880, 3975)
  809. *PrintableOrigin: PAIR(90, 120)
  810. *switch: Resolution
  811. {
  812. *case: Option1
  813. {
  814. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  815. *PrintableArea: PAIR(2880, 3974)
  816. }
  817. *case: Option3
  818. {
  819. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  820. *PrintableArea: PAIR(2880, 3974)
  821. }
  822. *case: Option4
  823. {
  824. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  825. *PrintableArea: PAIR(2880, 3974)
  826. }
  827. }
  828. }
  829. *case: Option3
  830. {
  831. *PrintableArea: PAIR(2880, 3975)
  832. *PrintableOrigin: PAIR(90, 120)
  833. *switch: Resolution
  834. {
  835. *case: Option1
  836. {
  837. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  838. *PrintableArea: PAIR(2880, 3974)
  839. }
  840. *case: Option3
  841. {
  842. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  843. *PrintableArea: PAIR(2880, 3974)
  844. }
  845. *case: Option4
  846. {
  847. *% Warning: the following printable length is adjusted (3975->3974) so it is divisible by the resolution Y scale.
  848. *PrintableArea: PAIR(2880, 3974)
  849. }
  850. }
  851. }
  852. }
  853. }
  854. *Option: FANFOLD_LGL_GERMAN
  855. {
  856. *rcNameID: =FANFOLD_LGL_GERMAN_DISPLAY
  857. *Command: CmdSelect
  858. {
  859. *Order: DOC_SETUP.4
  860. *Cmd: "<1B>2<1B>CN"
  861. }
  862. *switch: InputBin
  863. {
  864. *case: TRACTOR
  865. {
  866. *PrintableArea: PAIR(2880, 4680)
  867. *PrintableOrigin: PAIR(90, 0)
  868. }
  869. *case: MANUAL
  870. {
  871. *PrintableArea: PAIR(2880, 4335)
  872. *PrintableOrigin: PAIR(90, 120)
  873. *switch: Resolution
  874. {
  875. *case: Option1
  876. {
  877. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  878. *PrintableArea: PAIR(2880, 4334)
  879. }
  880. *case: Option3
  881. {
  882. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  883. *PrintableArea: PAIR(2880, 4334)
  884. }
  885. *case: Option4
  886. {
  887. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  888. *PrintableArea: PAIR(2880, 4334)
  889. }
  890. }
  891. }
  892. *case: Option3
  893. {
  894. *PrintableArea: PAIR(2880, 4335)
  895. *PrintableOrigin: PAIR(90, 120)
  896. *switch: Resolution
  897. {
  898. *case: Option1
  899. {
  900. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  901. *PrintableArea: PAIR(2880, 4334)
  902. }
  903. *case: Option3
  904. {
  905. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  906. *PrintableArea: PAIR(2880, 4334)
  907. }
  908. *case: Option4
  909. {
  910. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  911. *PrintableArea: PAIR(2880, 4334)
  912. }
  913. }
  914. }
  915. }
  916. }
  917. *Option: ENV_9
  918. {
  919. *rcNameID: =ENV_9_DISPLAY
  920. *RotateSize? : TRUE
  921. *Command: CmdSelect
  922. {
  923. *Order: DOC_SETUP.4
  924. *Cmd: "<1B>2<1B>C<17>"
  925. }
  926. *switch: InputBin
  927. {
  928. *case: TRACTOR
  929. {
  930. *PrintableArea: PAIR(2880, 1052)
  931. *PrintableOrigin: PAIR(90, 120)
  932. }
  933. *case: MANUAL
  934. {
  935. *PrintableArea: PAIR(2880, 1052)
  936. *PrintableOrigin: PAIR(90, 120)
  937. }
  938. *case: Option3
  939. {
  940. *PrintableArea: PAIR(2880, 1052)
  941. *PrintableOrigin: PAIR(90, 120)
  942. }
  943. }
  944. }
  945. *Option: ENV_10
  946. {
  947. *rcNameID: =ENV_10_DISPLAY
  948. *RotateSize? : TRUE
  949. *Command: CmdSelect
  950. {
  951. *Order: DOC_SETUP.4
  952. *Cmd: "<1B>2<1B>C<19>"
  953. }
  954. *switch: InputBin
  955. {
  956. *case: TRACTOR
  957. {
  958. *PrintableArea: PAIR(2880, 1142)
  959. *PrintableOrigin: PAIR(90, 120)
  960. }
  961. *case: MANUAL
  962. {
  963. *PrintableArea: PAIR(2880, 1142)
  964. *PrintableOrigin: PAIR(90, 120)
  965. }
  966. *case: Option3
  967. {
  968. *PrintableArea: PAIR(2880, 1142)
  969. *PrintableOrigin: PAIR(90, 120)
  970. }
  971. }
  972. }
  973. *Option: ENV_DL
  974. {
  975. *rcNameID: =ENV_DL_DISPLAY
  976. *RotateSize? : TRUE
  977. *Command: CmdSelect
  978. {
  979. *Order: DOC_SETUP.4
  980. *Cmd: "<1B>2<1B>C<1A>"
  981. }
  982. *switch: InputBin
  983. {
  984. *case: TRACTOR
  985. {
  986. *PrintableArea: PAIR(2880, 1214)
  987. *PrintableOrigin: PAIR(90, 120)
  988. }
  989. *case: MANUAL
  990. {
  991. *PrintableArea: PAIR(2880, 1214)
  992. *PrintableOrigin: PAIR(90, 120)
  993. }
  994. *case: Option3
  995. {
  996. *PrintableArea: PAIR(2880, 1214)
  997. *PrintableOrigin: PAIR(90, 120)
  998. }
  999. }
  1000. }
  1001. *Option: ENV_C5
  1002. {
  1003. *rcNameID: =ENV_C5_DISPLAY
  1004. *RotateSize? : TRUE
  1005. *Command: CmdSelect
  1006. {
  1007. *Order: DOC_SETUP.4
  1008. *Cmd: "<1B>2<1B>C&"
  1009. }
  1010. *switch: InputBin
  1011. {
  1012. *case: TRACTOR
  1013. {
  1014. *PrintableArea: PAIR(2880, 1952)
  1015. *PrintableOrigin: PAIR(90, 120)
  1016. }
  1017. *case: MANUAL
  1018. {
  1019. *PrintableArea: PAIR(2880, 1952)
  1020. *PrintableOrigin: PAIR(90, 120)
  1021. }
  1022. *case: Option3
  1023. {
  1024. *PrintableArea: PAIR(2880, 1952)
  1025. *PrintableOrigin: PAIR(90, 120)
  1026. }
  1027. }
  1028. }
  1029. *Option: ENV_B5
  1030. {
  1031. *rcNameID: =ENV_B5_DISPLAY
  1032. *RotateSize? : TRUE
  1033. *Command: CmdSelect
  1034. {
  1035. *Order: DOC_SETUP.4
  1036. *Cmd: "<1B>2<1B>C*"
  1037. }
  1038. *switch: InputBin
  1039. {
  1040. *case: TRACTOR
  1041. {
  1042. *PrintableArea: PAIR(2880, 2150)
  1043. *PrintableOrigin: PAIR(90, 120)
  1044. }
  1045. *case: MANUAL
  1046. {
  1047. *PrintableArea: PAIR(2880, 2150)
  1048. *PrintableOrigin: PAIR(90, 120)
  1049. }
  1050. *case: Option3
  1051. {
  1052. *PrintableArea: PAIR(2880, 2150)
  1053. *PrintableOrigin: PAIR(90, 120)
  1054. }
  1055. }
  1056. }
  1057. *Option: ENV_MONARCH
  1058. {
  1059. *rcNameID: =ENV_MONARCH_DISPLAY
  1060. *RotateSize? : TRUE
  1061. *Command: CmdSelect
  1062. {
  1063. *Order: DOC_SETUP.4
  1064. *Cmd: "<1B>2<1B>C!"
  1065. }
  1066. *switch: InputBin
  1067. {
  1068. *case: TRACTOR
  1069. {
  1070. *PrintableArea: PAIR(2565, 1052)
  1071. *PrintableOrigin: PAIR(90, 120)
  1072. *switch: Resolution
  1073. {
  1074. *case: Option3
  1075. {
  1076. *% Warning: the following printable width is adjusted (2565->2564) so it is divisible by the resolution X scale.
  1077. *PrintableArea: PAIR(2564, 1052)
  1078. }
  1079. }
  1080. }
  1081. *case: MANUAL
  1082. {
  1083. *PrintableArea: PAIR(2565, 1052)
  1084. *PrintableOrigin: PAIR(90, 120)
  1085. *switch: Resolution
  1086. {
  1087. *case: Option3
  1088. {
  1089. *% Warning: the following printable width is adjusted (2565->2564) so it is divisible by the resolution X scale.
  1090. *PrintableArea: PAIR(2564, 1052)
  1091. }
  1092. }
  1093. }
  1094. *case: Option3
  1095. {
  1096. *PrintableArea: PAIR(2565, 1052)
  1097. *PrintableOrigin: PAIR(90, 120)
  1098. *switch: Resolution
  1099. {
  1100. *case: Option3
  1101. {
  1102. *% Warning: the following printable width is adjusted (2565->2564) so it is divisible by the resolution X scale.
  1103. *PrintableArea: PAIR(2564, 1052)
  1104. }
  1105. }
  1106. }
  1107. }
  1108. }
  1109. *Option: CUSTOMSIZE
  1110. {
  1111. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1112. *MinSize: PAIR(180, 180)
  1113. *MaxSize: PAIR(4140, 32767)
  1114. *MaxPrintableWidth: 2880
  1115. *MinLeftMargin: 90
  1116. *CenterPrintable?: FALSE
  1117. *switch: InputBin
  1118. {
  1119. *case: TRACTOR
  1120. {
  1121. *TopMargin: 0
  1122. *BottomMargin: 0
  1123. }
  1124. *case: MANUAL
  1125. {
  1126. *TopMargin: 120
  1127. *BottomMargin: 225
  1128. }
  1129. *case: Option3
  1130. {
  1131. *TopMargin: 120
  1132. *BottomMargin: 225
  1133. }
  1134. }
  1135. *Command: CmdSelect
  1136. {
  1137. *Order: DOC_SETUP.4
  1138. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  1139. }
  1140. }
  1141. }
  1142. *Feature: PrintQuality
  1143. {
  1144. *rcNameID: =TEXT_QUALITY_DISPLAY
  1145. *DefaultOption: LETTER_QUALITY
  1146. *Option: LETTER_QUALITY
  1147. {
  1148. *rcNameID: =LETTER_QUALITY_DISPLAY
  1149. *Command: CmdSelect
  1150. {
  1151. *Order: DOC_SETUP.2
  1152. *Cmd: "<1B>x<01>"
  1153. }
  1154. }
  1155. *Option: DRAFT_QUALITY
  1156. {
  1157. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1158. *Command: CmdSelect
  1159. {
  1160. *Order: DOC_SETUP.2
  1161. *Cmd: "<1B>x<00>"
  1162. }
  1163. }
  1164. }
  1165. *Feature: Halftone
  1166. {
  1167. *rcNameID: =HALFTONING_DISPLAY
  1168. *DefaultOption: HT_PATSIZE_AUTO
  1169. *Option: HT_PATSIZE_AUTO
  1170. {
  1171. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1172. }
  1173. *Option: HT_PATSIZE_SUPERCELL_M
  1174. {
  1175. *rcNameID: =HT_SUPERCELL_DISPLAY
  1176. }
  1177. *Option: HT_PATSIZE_6x6_M
  1178. {
  1179. *rcNameID: =HT_DITHER6X6_DISPLAY
  1180. }
  1181. *Option: HT_PATSIZE_8x8_M
  1182. {
  1183. *rcNameID: =HT_DITHER8X8_DISPLAY
  1184. }
  1185. }
  1186. *Command: CmdStartDoc
  1187. {
  1188. *Order: DOC_SETUP.1
  1189. *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<011C>."
  1190. }
  1191. *Command: CmdStartPage
  1192. {
  1193. *Order: PAGE_SETUP.1
  1194. *Cmd: "<0D>"
  1195. }
  1196. *Command: CmdEndJob
  1197. {
  1198. *Order: JOB_FINISH.1
  1199. *Cmd: "<1B>@"
  1200. }
  1201. *RotateCoordinate?: FALSE
  1202. *RotateRaster?: FALSE
  1203. *RotateFont?: FALSE
  1204. *switch: Orientation
  1205. {
  1206. *case: PORTRAIT
  1207. {
  1208. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1209. }
  1210. *case: LANDSCAPE_CC270
  1211. {
  1212. *TextCaps: LIST(TC_RA_ABLE)
  1213. }
  1214. }
  1215. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1216. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1217. *MaxLineSpacing: 255
  1218. *XMoveThreshold: 0
  1219. *YMoveThreshold: *
  1220. *XMoveUnit: 60
  1221. *YMoveUnit: 180
  1222. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  1223. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1224. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1225. *Command: CmdCR { *Cmd : "<0D>" }
  1226. *Command: CmdLF { *Cmd : "<0A>" }
  1227. *Command: CmdFF { *Cmd : "<0C>" }
  1228. *Command: CmdBackSpace { *Cmd : "<08>" }
  1229. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1230. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1231. *EjectPageWithFF?: TRUE
  1232. *OutputDataFormat: V_BYTE
  1233. *OptimizeLeftBound?: FALSE
  1234. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1235. *CursorYAfterSendBlockData: NO_MOVE
  1236. *DefaultFont: 3
  1237. *DefaultCTT: 2
  1238. *switch: Orientation
  1239. {
  1240. *case: PORTRAIT
  1241. {
  1242. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  1243. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  1244. + 33,34,35,36,37,42,44,48)
  1245. }
  1246. *case: LANDSCAPE_CC270
  1247. {
  1248. *DeviceFonts: LIST()
  1249. }
  1250. }
  1251. *FontCartridge: FC1
  1252. {
  1253. *rcCartridgeNameID: 271
  1254. *PortraitFonts: LIST(39)
  1255. *LandscapeFonts: LIST()
  1256. }
  1257. *FontCartridge: FC2
  1258. {
  1259. *rcCartridgeNameID: 272
  1260. *PortraitFonts: LIST(38)
  1261. *LandscapeFonts: LIST()
  1262. }
  1263. *FontCartridge: FC3
  1264. {
  1265. *rcCartridgeNameID: 273
  1266. *PortraitFonts: LIST(40)
  1267. *LandscapeFonts: LIST()
  1268. }
  1269. *FontCartridge: FC4
  1270. {
  1271. *rcCartridgeNameID: 274
  1272. *PortraitFonts: LIST(41)
  1273. *LandscapeFonts: LIST()
  1274. }
  1275. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1276. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1277. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1278. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1279. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1280. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }