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.

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