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.

1112 lines
37 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *Include: "StdNames.gpd"
  8. *GPDFileVersion: "1.0"
  9. *GPDFileName: "stn220ht.gpd"
  10. *ModelName: "Star NX-2420HT"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "st24tres.dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. }
  35. *Option: AUTO
  36. {
  37. *rcNameID: =AUTO_DISPLAY
  38. *Command: CmdSelect
  39. {
  40. *Order: DOC_SETUP.3
  41. *Cmd: "<1B1904>"
  42. }
  43. }
  44. *Option: MANUAL
  45. {
  46. *rcNameID: =MANUAL_FEED_DISPLAY
  47. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.3
  51. *Cmd: "<1B1900>"
  52. }
  53. }
  54. }
  55. *Feature: Resolution
  56. {
  57. *rcNameID: =RESOLUTION_DISPLAY
  58. *DefaultOption: Option3
  59. *Option: Option1
  60. {
  61. *Name: "360 x 360 " =DOTS_PER_INCH
  62. *DPI: PAIR(360, 360)
  63. *TextDPI: PAIR(360, 360)
  64. *PinsPerLogPass: 48
  65. *PinsPerPhysPass: 24
  66. *MinStripBlankPixels: 180
  67. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  68. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  69. *SpotDiameter: 170
  70. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  71. }
  72. *Option: Option2
  73. {
  74. *Name: "360 x 180 " =DOTS_PER_INCH
  75. *DPI: PAIR(360, 180)
  76. *TextDPI: PAIR(360, 180)
  77. *PinsPerLogPass: 24
  78. *PinsPerPhysPass: 24
  79. *MinStripBlankPixels: 180
  80. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  81. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  82. *SpotDiameter: 170
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "180 x 180 " =DOTS_PER_INCH
  88. *DPI: PAIR(180, 180)
  89. *TextDPI: PAIR(180, 180)
  90. *PinsPerLogPass: 24
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 90
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 170
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  96. }
  97. *Option: Option4
  98. {
  99. *Name: "120 x 180 " =DOTS_PER_INCH
  100. *DPI: PAIR(120, 180)
  101. *TextDPI: PAIR(120, 180)
  102. *PinsPerLogPass: 24
  103. *PinsPerPhysPass: 24
  104. *MinStripBlankPixels: 60
  105. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  106. *SpotDiameter: 170
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  108. }
  109. }
  110. *Feature: PaperSize
  111. {
  112. *rcNameID: =PAPER_SIZE_DISPLAY
  113. *DefaultOption: LETTER
  114. *Option: LETTER
  115. {
  116. *rcNameID: =LETTER_DISPLAY
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.4
  120. *Cmd: "<1B>2<1B>CB"
  121. }
  122. *switch: InputBin
  123. {
  124. *case: TRACTOR
  125. {
  126. *PrintableArea: PAIR(5760, 7920)
  127. *PrintableOrigin: PAIR(0, 0)
  128. }
  129. *case: AUTO
  130. {
  131. *PrintableArea: PAIR(5760, 7440)
  132. *PrintableOrigin: PAIR(0, 120)
  133. }
  134. *case: MANUAL
  135. {
  136. *PrintableArea: PAIR(5760, 7440)
  137. *PrintableOrigin: PAIR(0, 120)
  138. }
  139. }
  140. }
  141. *Option: Option2
  142. {
  143. *rcNameID: 258
  144. *OptionID: 258
  145. *PageDimensions: PAIR(7920, 6120)
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: "<1B>2<1B>C3"
  150. }
  151. *switch: InputBin
  152. {
  153. *case: TRACTOR
  154. {
  155. *PrintableArea: PAIR(5760, 6120)
  156. *PrintableOrigin: PAIR(0, 0)
  157. }
  158. *case: AUTO
  159. {
  160. *PrintableArea: PAIR(5760, 5640)
  161. *PrintableOrigin: PAIR(0, 120)
  162. }
  163. *case: MANUAL
  164. {
  165. *PrintableArea: PAIR(5760, 5640)
  166. *PrintableOrigin: PAIR(0, 120)
  167. }
  168. }
  169. }
  170. *Option: LEGAL
  171. {
  172. *rcNameID: =LEGAL_DISPLAY
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.4
  176. *Cmd: "<1B>2<1B>CT"
  177. }
  178. *switch: InputBin
  179. {
  180. *case: TRACTOR
  181. {
  182. *PrintableArea: PAIR(5760, 10080)
  183. *PrintableOrigin: PAIR(0, 0)
  184. }
  185. *case: AUTO
  186. {
  187. *PrintableArea: PAIR(5760, 9600)
  188. *PrintableOrigin: PAIR(0, 120)
  189. }
  190. *case: MANUAL
  191. {
  192. *PrintableArea: PAIR(5760, 9600)
  193. *PrintableOrigin: PAIR(0, 120)
  194. }
  195. }
  196. }
  197. *Option: TABLOID
  198. {
  199. *rcNameID: =TABLOID_DISPLAY
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>2<1B>Cf"
  204. }
  205. *switch: InputBin
  206. {
  207. *case: TRACTOR
  208. {
  209. *PrintableArea: PAIR(5760, 12240)
  210. *PrintableOrigin: PAIR(0, 0)
  211. }
  212. *case: AUTO
  213. {
  214. *PrintableArea: PAIR(5760, 11760)
  215. *PrintableOrigin: PAIR(0, 120)
  216. }
  217. *case: MANUAL
  218. {
  219. *PrintableArea: PAIR(5760, 11760)
  220. *PrintableOrigin: PAIR(0, 120)
  221. }
  222. }
  223. }
  224. *Option: EXECUTIVE
  225. {
  226. *rcNameID: =EXECUTIVE_DISPLAY
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.4
  230. *Cmd: "<1B>2<1B>C?"
  231. }
  232. *switch: InputBin
  233. {
  234. *case: TRACTOR
  235. {
  236. *PrintableArea: PAIR(5220, 7560)
  237. *PrintableOrigin: PAIR(0, 0)
  238. }
  239. *case: AUTO
  240. {
  241. *PrintableArea: PAIR(5220, 7080)
  242. *PrintableOrigin: PAIR(0, 120)
  243. }
  244. *case: MANUAL
  245. {
  246. *PrintableArea: PAIR(5220, 7080)
  247. *PrintableOrigin: PAIR(0, 120)
  248. }
  249. }
  250. }
  251. *Option: FOLIO
  252. {
  253. *rcNameID: =FOLIO_DISPLAY
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.4
  257. *Cmd: "<1B>2<1B>CN"
  258. }
  259. *switch: InputBin
  260. {
  261. *case: TRACTOR
  262. {
  263. *PrintableArea: PAIR(5760, 9360)
  264. *PrintableOrigin: PAIR(0, 0)
  265. }
  266. *case: AUTO
  267. {
  268. *PrintableArea: PAIR(5760, 8880)
  269. *PrintableOrigin: PAIR(0, 120)
  270. }
  271. *case: MANUAL
  272. {
  273. *PrintableArea: PAIR(5760, 8880)
  274. *PrintableOrigin: PAIR(0, 120)
  275. }
  276. }
  277. }
  278. *Option: A3
  279. {
  280. *rcNameID: =A3_DISPLAY
  281. *Command: CmdSelect
  282. {
  283. *Order: DOC_SETUP.4
  284. *Cmd: "<1B>2<1B>Cc"
  285. }
  286. *switch: InputBin
  287. {
  288. *case: TRACTOR
  289. {
  290. *PrintableArea: PAIR(5760, 11909)
  291. *PrintableOrigin: PAIR(0, 0)
  292. *switch: Resolution
  293. {
  294. *case: Option1
  295. {
  296. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  297. *PrintableArea: PAIR(5760, 11908)
  298. }
  299. *case: Option2
  300. {
  301. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  302. *PrintableArea: PAIR(5760, 11908)
  303. }
  304. *case: Option3
  305. {
  306. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  307. *PrintableArea: PAIR(5760, 11908)
  308. }
  309. *case: Option4
  310. {
  311. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  312. *PrintableArea: PAIR(5760, 11908)
  313. }
  314. }
  315. }
  316. *case: AUTO
  317. {
  318. *PrintableArea: PAIR(5760, 11429)
  319. *PrintableOrigin: PAIR(0, 120)
  320. *switch: Resolution
  321. {
  322. *case: Option1
  323. {
  324. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  325. *PrintableArea: PAIR(5760, 11428)
  326. }
  327. *case: Option2
  328. {
  329. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  330. *PrintableArea: PAIR(5760, 11428)
  331. }
  332. *case: Option3
  333. {
  334. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  335. *PrintableArea: PAIR(5760, 11428)
  336. }
  337. *case: Option4
  338. {
  339. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  340. *PrintableArea: PAIR(5760, 11428)
  341. }
  342. }
  343. }
  344. *case: MANUAL
  345. {
  346. *PrintableArea: PAIR(5760, 11429)
  347. *PrintableOrigin: PAIR(0, 120)
  348. *switch: Resolution
  349. {
  350. *case: Option1
  351. {
  352. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  353. *PrintableArea: PAIR(5760, 11428)
  354. }
  355. *case: Option2
  356. {
  357. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  358. *PrintableArea: PAIR(5760, 11428)
  359. }
  360. *case: Option3
  361. {
  362. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  363. *PrintableArea: PAIR(5760, 11428)
  364. }
  365. *case: Option4
  366. {
  367. *% Warning: the following printable length is adjusted (11429->11428) so it is divisible by the resolution Y scale.
  368. *PrintableArea: PAIR(5760, 11428)
  369. }
  370. }
  371. }
  372. }
  373. }
  374. *Option: A4
  375. {
  376. *rcNameID: =A4_DISPLAY
  377. *Command: CmdSelect
  378. {
  379. *Order: DOC_SETUP.4
  380. *Cmd: "<1B>2<1B>CF"
  381. }
  382. *switch: InputBin
  383. {
  384. *case: TRACTOR
  385. {
  386. *PrintableArea: PAIR(5760, 8417)
  387. *PrintableOrigin: PAIR(0, 0)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  393. *PrintableArea: PAIR(5760, 8416)
  394. }
  395. *case: Option2
  396. {
  397. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  398. *PrintableArea: PAIR(5760, 8416)
  399. }
  400. *case: Option3
  401. {
  402. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  403. *PrintableArea: PAIR(5760, 8416)
  404. }
  405. *case: Option4
  406. {
  407. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  408. *PrintableArea: PAIR(5760, 8416)
  409. }
  410. }
  411. }
  412. *case: AUTO
  413. {
  414. *PrintableArea: PAIR(5760, 7937)
  415. *PrintableOrigin: PAIR(0, 120)
  416. *switch: Resolution
  417. {
  418. *case: Option1
  419. {
  420. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  421. *PrintableArea: PAIR(5760, 7936)
  422. }
  423. *case: Option2
  424. {
  425. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  426. *PrintableArea: PAIR(5760, 7936)
  427. }
  428. *case: Option3
  429. {
  430. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  431. *PrintableArea: PAIR(5760, 7936)
  432. }
  433. *case: Option4
  434. {
  435. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  436. *PrintableArea: PAIR(5760, 7936)
  437. }
  438. }
  439. }
  440. *case: MANUAL
  441. {
  442. *PrintableArea: PAIR(5760, 7937)
  443. *PrintableOrigin: PAIR(0, 120)
  444. *switch: Resolution
  445. {
  446. *case: Option1
  447. {
  448. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  449. *PrintableArea: PAIR(5760, 7936)
  450. }
  451. *case: Option2
  452. {
  453. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  454. *PrintableArea: PAIR(5760, 7936)
  455. }
  456. *case: Option3
  457. {
  458. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  459. *PrintableArea: PAIR(5760, 7936)
  460. }
  461. *case: Option4
  462. {
  463. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  464. *PrintableArea: PAIR(5760, 7936)
  465. }
  466. }
  467. }
  468. }
  469. }
  470. *Option: Option9
  471. {
  472. *rcNameID: 261
  473. *OptionID: 261
  474. *PageDimensions: PAIR(8417, 5954)
  475. *Command: CmdSelect
  476. {
  477. *Order: DOC_SETUP.4
  478. *Cmd: "<1B>2<1B>C2"
  479. }
  480. *switch: InputBin
  481. {
  482. *case: TRACTOR
  483. {
  484. *PrintableArea: PAIR(5760, 5954)
  485. *PrintableOrigin: PAIR(0, 0)
  486. *switch: Resolution
  487. {
  488. *case: Option2
  489. {
  490. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  491. *PrintableArea: PAIR(5760, 5952)
  492. }
  493. *case: Option3
  494. {
  495. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  496. *PrintableArea: PAIR(5760, 5952)
  497. }
  498. *case: Option4
  499. {
  500. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  501. *PrintableArea: PAIR(5760, 5952)
  502. }
  503. }
  504. }
  505. *case: AUTO
  506. {
  507. *PrintableArea: PAIR(5760, 5474)
  508. *PrintableOrigin: PAIR(0, 120)
  509. *switch: Resolution
  510. {
  511. *case: Option2
  512. {
  513. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  514. *PrintableArea: PAIR(5760, 5472)
  515. }
  516. *case: Option3
  517. {
  518. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  519. *PrintableArea: PAIR(5760, 5472)
  520. }
  521. *case: Option4
  522. {
  523. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  524. *PrintableArea: PAIR(5760, 5472)
  525. }
  526. }
  527. }
  528. *case: MANUAL
  529. {
  530. *PrintableArea: PAIR(5760, 5474)
  531. *PrintableOrigin: PAIR(0, 120)
  532. *switch: Resolution
  533. {
  534. *case: Option2
  535. {
  536. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  537. *PrintableArea: PAIR(5760, 5472)
  538. }
  539. *case: Option3
  540. {
  541. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  542. *PrintableArea: PAIR(5760, 5472)
  543. }
  544. *case: Option4
  545. {
  546. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  547. *PrintableArea: PAIR(5760, 5472)
  548. }
  549. }
  550. }
  551. }
  552. }
  553. *Option: A5
  554. {
  555. *rcNameID: =A5_DISPLAY
  556. *Command: CmdSelect
  557. {
  558. *Order: DOC_SETUP.4
  559. *Cmd: "<1B>2<1B>C2"
  560. }
  561. *switch: InputBin
  562. {
  563. *case: TRACTOR
  564. {
  565. *PrintableArea: PAIR(4198, 5954)
  566. *PrintableOrigin: PAIR(0, 0)
  567. *switch: Resolution
  568. {
  569. *case: Option2
  570. {
  571. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  572. *PrintableArea: PAIR(4198, 5952)
  573. }
  574. *case: Option3
  575. {
  576. *% Warning: the following printable width is adjusted (4198->4196) so it is divisible by the resolution X scale.
  577. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  578. *PrintableArea: PAIR(4196, 5952)
  579. }
  580. *case: Option4
  581. {
  582. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  583. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  584. *PrintableArea: PAIR(4194, 5952)
  585. }
  586. }
  587. }
  588. *case: AUTO
  589. {
  590. *PrintableArea: PAIR(4198, 5474)
  591. *PrintableOrigin: PAIR(0, 120)
  592. *switch: Resolution
  593. {
  594. *case: Option2
  595. {
  596. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  597. *PrintableArea: PAIR(4198, 5472)
  598. }
  599. *case: Option3
  600. {
  601. *% Warning: the following printable width is adjusted (4198->4196) so it is divisible by the resolution X scale.
  602. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  603. *PrintableArea: PAIR(4196, 5472)
  604. }
  605. *case: Option4
  606. {
  607. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  608. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  609. *PrintableArea: PAIR(4194, 5472)
  610. }
  611. }
  612. }
  613. *case: MANUAL
  614. {
  615. *PrintableArea: PAIR(4198, 5474)
  616. *PrintableOrigin: PAIR(0, 120)
  617. *switch: Resolution
  618. {
  619. *case: Option2
  620. {
  621. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  622. *PrintableArea: PAIR(4198, 5472)
  623. }
  624. *case: Option3
  625. {
  626. *% Warning: the following printable width is adjusted (4198->4196) so it is divisible by the resolution X scale.
  627. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  628. *PrintableArea: PAIR(4196, 5472)
  629. }
  630. *case: Option4
  631. {
  632. *% Warning: the following printable width is adjusted (4198->4194) so it is divisible by the resolution X scale.
  633. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  634. *PrintableArea: PAIR(4194, 5472)
  635. }
  636. }
  637. }
  638. }
  639. }
  640. *Option: B4
  641. {
  642. *rcNameID: =B4_DISPLAY
  643. *Command: CmdSelect
  644. {
  645. *Order: DOC_SETUP.4
  646. *Cmd: "<1B>2<1B>CT"
  647. }
  648. *switch: InputBin
  649. {
  650. *case: TRACTOR
  651. {
  652. *PrintableArea: PAIR(5760, 10318)
  653. *PrintableOrigin: PAIR(0, 0)
  654. *switch: Resolution
  655. {
  656. *case: Option2
  657. {
  658. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  659. *PrintableArea: PAIR(5760, 10316)
  660. }
  661. *case: Option3
  662. {
  663. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  664. *PrintableArea: PAIR(5760, 10316)
  665. }
  666. *case: Option4
  667. {
  668. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  669. *PrintableArea: PAIR(5760, 10316)
  670. }
  671. }
  672. }
  673. *case: AUTO
  674. {
  675. *PrintableArea: PAIR(5760, 9838)
  676. *PrintableOrigin: PAIR(0, 120)
  677. *switch: Resolution
  678. {
  679. *case: Option2
  680. {
  681. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  682. *PrintableArea: PAIR(5760, 9836)
  683. }
  684. *case: Option3
  685. {
  686. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  687. *PrintableArea: PAIR(5760, 9836)
  688. }
  689. *case: Option4
  690. {
  691. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  692. *PrintableArea: PAIR(5760, 9836)
  693. }
  694. }
  695. }
  696. *case: MANUAL
  697. {
  698. *PrintableArea: PAIR(5760, 9838)
  699. *PrintableOrigin: PAIR(0, 120)
  700. *switch: Resolution
  701. {
  702. *case: Option2
  703. {
  704. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  705. *PrintableArea: PAIR(5760, 9836)
  706. }
  707. *case: Option3
  708. {
  709. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  710. *PrintableArea: PAIR(5760, 9836)
  711. }
  712. *case: Option4
  713. {
  714. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  715. *PrintableArea: PAIR(5760, 9836)
  716. }
  717. }
  718. }
  719. }
  720. }
  721. *Option: B5
  722. {
  723. *rcNameID: =B5_DISPLAY
  724. *Command: CmdSelect
  725. {
  726. *Order: DOC_SETUP.4
  727. *Cmd: "<1B>2<1B>C="
  728. }
  729. *switch: InputBin
  730. {
  731. *case: TRACTOR
  732. {
  733. *PrintableArea: PAIR(5162, 7286)
  734. *PrintableOrigin: PAIR(0, 0)
  735. *switch: Resolution
  736. {
  737. *case: Option2
  738. {
  739. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  740. *PrintableArea: PAIR(5162, 7284)
  741. }
  742. *case: Option3
  743. {
  744. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  745. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  746. *PrintableArea: PAIR(5160, 7284)
  747. }
  748. *case: Option4
  749. {
  750. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  751. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  752. *PrintableArea: PAIR(5160, 7284)
  753. }
  754. }
  755. }
  756. *case: AUTO
  757. {
  758. *PrintableArea: PAIR(5162, 6806)
  759. *PrintableOrigin: PAIR(0, 120)
  760. *switch: Resolution
  761. {
  762. *case: Option2
  763. {
  764. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  765. *PrintableArea: PAIR(5162, 6804)
  766. }
  767. *case: Option3
  768. {
  769. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  770. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  771. *PrintableArea: PAIR(5160, 6804)
  772. }
  773. *case: Option4
  774. {
  775. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  776. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  777. *PrintableArea: PAIR(5160, 6804)
  778. }
  779. }
  780. }
  781. *case: MANUAL
  782. {
  783. *PrintableArea: PAIR(5162, 6806)
  784. *PrintableOrigin: PAIR(0, 120)
  785. *switch: Resolution
  786. {
  787. *case: Option2
  788. {
  789. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  790. *PrintableArea: PAIR(5162, 6804)
  791. }
  792. *case: Option3
  793. {
  794. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  795. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  796. *PrintableArea: PAIR(5160, 6804)
  797. }
  798. *case: Option4
  799. {
  800. *% Warning: the following printable width is adjusted (5162->5160) so it is divisible by the resolution X scale.
  801. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  802. *PrintableArea: PAIR(5160, 6804)
  803. }
  804. }
  805. }
  806. }
  807. }
  808. *Option: Option13
  809. {
  810. *rcNameID: 262
  811. *OptionID: 262
  812. *PageDimensions: PAIR(5760, 8640)
  813. *Command: CmdSelect
  814. {
  815. *Order: DOC_SETUP.4
  816. *Cmd: "<1B>2<1B>C$"
  817. }
  818. *switch: InputBin
  819. {
  820. *case: TRACTOR
  821. {
  822. *PrintableArea: PAIR(5760, 8640)
  823. *PrintableOrigin: PAIR(0, 0)
  824. }
  825. *case: AUTO
  826. {
  827. *PrintableArea: PAIR(5760, 8160)
  828. *PrintableOrigin: PAIR(0, 120)
  829. }
  830. *case: MANUAL
  831. {
  832. *PrintableArea: PAIR(5760, 8160)
  833. *PrintableOrigin: PAIR(0, 120)
  834. }
  835. }
  836. }
  837. *Option: FANFOLD_STD_GERMAN
  838. {
  839. *rcNameID: =FANFOLD_STD_GERMAN_DISPLAY
  840. *Command: CmdSelect
  841. {
  842. *Order: DOC_SETUP.4
  843. *Cmd: "<1B>2<1B>CH"
  844. }
  845. *switch: InputBin
  846. {
  847. *case: TRACTOR
  848. {
  849. *PrintableArea: PAIR(5760, 8640)
  850. *PrintableOrigin: PAIR(0, 0)
  851. }
  852. *case: AUTO
  853. {
  854. *PrintableArea: PAIR(5760, 8160)
  855. *PrintableOrigin: PAIR(0, 120)
  856. }
  857. *case: MANUAL
  858. {
  859. *PrintableArea: PAIR(5760, 8160)
  860. *PrintableOrigin: PAIR(0, 120)
  861. }
  862. }
  863. }
  864. *Option: Option15
  865. {
  866. *rcNameID: 263
  867. *OptionID: 263
  868. *PageDimensions: PAIR(5952, 8640)
  869. *Command: CmdSelect
  870. {
  871. *Order: DOC_SETUP.4
  872. *Cmd: "<1B>2<1B>CH"
  873. }
  874. *switch: InputBin
  875. {
  876. *case: TRACTOR
  877. {
  878. *PrintableArea: PAIR(5760, 8640)
  879. *PrintableOrigin: PAIR(0, 0)
  880. }
  881. *case: AUTO
  882. {
  883. *PrintableArea: PAIR(5760, 8160)
  884. *PrintableOrigin: PAIR(0, 120)
  885. }
  886. *case: MANUAL
  887. {
  888. *PrintableArea: PAIR(5760, 8160)
  889. *PrintableOrigin: PAIR(0, 120)
  890. }
  891. }
  892. }
  893. *Option: Option16
  894. {
  895. *rcNameID: 268
  896. *OptionID: 268
  897. *PageDimensions: PAIR(6120, 7920)
  898. *Command: CmdSelect
  899. {
  900. *Order: DOC_SETUP.4
  901. *Cmd: "<1B>2<1B>CF"
  902. }
  903. *switch: InputBin
  904. {
  905. *case: TRACTOR
  906. {
  907. *PrintableArea: PAIR(5760, 7920)
  908. *PrintableOrigin: PAIR(360, 0)
  909. }
  910. *case: AUTO
  911. {
  912. *PrintableArea: PAIR(5760, 7440)
  913. *PrintableOrigin: PAIR(360, 120)
  914. }
  915. *case: MANUAL
  916. {
  917. *PrintableArea: PAIR(5760, 7440)
  918. *PrintableOrigin: PAIR(360, 120)
  919. }
  920. }
  921. }
  922. *Option: CUSTOMSIZE
  923. {
  924. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  925. *MinSize: PAIR(720, 360)
  926. *MaxSize: PAIR(8424, 15840)
  927. *MaxPrintableWidth: 5760
  928. *MinLeftMargin: 0
  929. *CenterPrintable?: FALSE
  930. *switch: InputBin
  931. {
  932. *case: TRACTOR
  933. {
  934. *TopMargin: 0
  935. *BottomMargin: 0
  936. }
  937. *case: AUTO
  938. {
  939. *TopMargin: 120
  940. *BottomMargin: 360
  941. }
  942. *case: MANUAL
  943. {
  944. *TopMargin: 120
  945. *BottomMargin: 360
  946. }
  947. }
  948. *Command: CmdSelect
  949. {
  950. *Order: DOC_SETUP.4
  951. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 120) )}
  952. }
  953. }
  954. }
  955. *Feature: PrintQuality
  956. {
  957. *rcNameID: =TEXT_QUALITY_DISPLAY
  958. *DefaultOption: LETTER_QUALITY
  959. *Option: LETTER_QUALITY
  960. {
  961. *rcNameID: =LETTER_QUALITY_DISPLAY
  962. *Command: CmdSelect
  963. {
  964. *Order: DOC_SETUP.2
  965. *Cmd: "<1B>x1"
  966. }
  967. }
  968. *Option: DRAFT_QUALITY
  969. {
  970. *rcNameID: =DRAFT_QUALITY_DISPLAY
  971. *Command: CmdSelect
  972. {
  973. *Order: DOC_SETUP.2
  974. *Cmd: "<1B>x0"
  975. }
  976. }
  977. *Option: Option3
  978. {
  979. *rcNameID: 272
  980. *Command: CmdSelect
  981. {
  982. *Order: DOC_SETUP.2
  983. *Cmd: "<1B>x<001B>z<01>"
  984. }
  985. }
  986. }
  987. *Feature: ColorMode
  988. {
  989. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  990. *DefaultOption: Color
  991. *Option: Mono
  992. {
  993. *rcNameID: =MONO_DISPLAY
  994. *DevNumOfPlanes: 1
  995. *DevBPP: 1
  996. *Color? : FALSE
  997. }
  998. *Option: Color
  999. {
  1000. *rcNameID: =COLOR_DISPLAY
  1001. *DevNumOfPlanes: 4
  1002. *DevBPP: 1
  1003. *DrvBPP: 4
  1004. EXTERN_GLOBAL: *MoveToX0BeforeSetColor? : TRUE
  1005. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  1006. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  1007. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  1008. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  1009. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  1010. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  1011. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  1012. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  1013. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  1014. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  1015. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  1016. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  1017. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  1018. }
  1019. }
  1020. *Feature: Halftone
  1021. {
  1022. *rcNameID: =HALFTONING_DISPLAY
  1023. *DefaultOption: HT_PATSIZE_AUTO
  1024. *Option: HT_PATSIZE_AUTO
  1025. {
  1026. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1027. }
  1028. *Option: HT_PATSIZE_SUPERCELL_M
  1029. {
  1030. *rcNameID: =HT_SUPERCELL_DISPLAY
  1031. }
  1032. *Option: HT_PATSIZE_6x6_M
  1033. {
  1034. *rcNameID: =HT_DITHER6X6_DISPLAY
  1035. }
  1036. *Option: HT_PATSIZE_8x8_M
  1037. {
  1038. *rcNameID: =HT_DITHER8X8_DISPLAY
  1039. }
  1040. }
  1041. *Command: CmdStartDoc
  1042. {
  1043. *Order: DOC_SETUP.1
  1044. *Cmd: "<1B>@<1B>t<011B>6<1B>r<00>"
  1045. }
  1046. *Command: CmdStartPage
  1047. {
  1048. *Order: PAGE_SETUP.1
  1049. *Cmd: "<0D>"
  1050. }
  1051. *Command: CmdEndJob
  1052. {
  1053. *Order: JOB_FINISH.1
  1054. *Cmd: "<1B>@"
  1055. }
  1056. *RotateCoordinate?: FALSE
  1057. *RotateRaster?: FALSE
  1058. *RotateFont?: FALSE
  1059. *switch: Orientation
  1060. {
  1061. *case: PORTRAIT
  1062. {
  1063. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1064. }
  1065. *case: LANDSCAPE_CC270
  1066. {
  1067. *TextCaps: LIST(TC_RA_ABLE)
  1068. }
  1069. }
  1070. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1071. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1072. *MaxLineSpacing: 255
  1073. *XMoveThreshold: 0
  1074. *YMoveThreshold: *
  1075. *XMoveUnit: 60
  1076. *YMoveUnit: 180
  1077. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1078. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1079. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1080. *Command: CmdCR { *Cmd : "<0D>" }
  1081. *Command: CmdLF { *Cmd : "<0A>" }
  1082. *Command: CmdFF { *Cmd : "<0C>" }
  1083. *Command: CmdBackSpace { *Cmd : "<08>" }
  1084. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1085. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1086. *EjectPageWithFF?: TRUE
  1087. *OutputDataFormat: V_BYTE
  1088. *OptimizeLeftBound?: TRUE
  1089. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1090. *CursorYAfterSendBlockData: NO_MOVE
  1091. *DefaultFont: 1
  1092. *DefaultCTT: 1
  1093. *switch: Orientation
  1094. {
  1095. *case: PORTRAIT
  1096. {
  1097. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,17,18,19,20,21,22,23,24,
  1098. + 25,26,27,28,29,31,32,48,49,50,51,52,53,54,55,139,158)
  1099. }
  1100. *case: LANDSCAPE_CC270
  1101. {
  1102. *DeviceFonts: LIST()
  1103. }
  1104. }
  1105. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1106. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1107. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1108. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1109. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  1110. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  1111. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P1" }
  1112. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P0" }