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.

1299 lines
43 KiB

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