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.

877 lines
30 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "epl257mk.gpd"
  9. *ModelName: "EPSON LQ-2570H (KSSM)"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "kssmkres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.3
  36. *Cmd: "<1B19>0"
  37. }
  38. }
  39. *Option: MANUAL
  40. {
  41. *rcNameID: =MANUAL_FEED_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.3
  45. *Cmd: "<1B19>0"
  46. }
  47. }
  48. *Option: UPPER
  49. {
  50. *rcNameID: =UPPER_TRAY_DISPLAY
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.3
  54. *Cmd: "<1B19>4<1B19>1"
  55. }
  56. }
  57. *Option: LOWER
  58. {
  59. *rcNameID: =LOWER_TRAY_DISPLAY
  60. *Command: CmdSelect
  61. {
  62. *Order: DOC_SETUP.3
  63. *Cmd: "<1B19>4<1B19>2"
  64. }
  65. }
  66. }
  67. *Feature: Resolution
  68. {
  69. *rcNameID: =RESOLUTION_DISPLAY
  70. *DefaultOption: Option2
  71. *Option: Option1
  72. {
  73. *Name: "360 x 180 " =DOTS_PER_INCH
  74. *DPI: PAIR(360, 180)
  75. *TextDPI: PAIR(360, 180)
  76. *PinsPerLogPass: 24
  77. *PinsPerPhysPass: 24
  78. *MinStripBlankPixels: 360
  79. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  80. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  81. *SpotDiameter: 170
  82. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  83. }
  84. *Option: Option2
  85. {
  86. *Name: "180 x 180 " =DOTS_PER_INCH
  87. *DPI: PAIR(180, 180)
  88. *TextDPI: PAIR(180, 180)
  89. *PinsPerLogPass: 24
  90. *PinsPerPhysPass: 24
  91. *MinStripBlankPixels: 180
  92. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  93. *SpotDiameter: 120
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  95. }
  96. *Option: Option3
  97. {
  98. *Name: "120 x 180 " =DOTS_PER_INCH
  99. *DPI: PAIR(120, 180)
  100. *TextDPI: PAIR(120, 180)
  101. *PinsPerLogPass: 24
  102. *PinsPerPhysPass: 24
  103. *MinStripBlankPixels: 120
  104. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  105. *SpotDiameter: 100
  106. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  107. }
  108. }
  109. *Feature: PaperSize
  110. {
  111. *rcNameID: =PAPER_SIZE_DISPLAY
  112. *DefaultOption: A4
  113. *Option: LETTER
  114. {
  115. *rcNameID: =LETTER_DISPLAY
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.4
  119. *Cmd: "<1B>2"
  120. }
  121. *switch: InputBin
  122. {
  123. *case: TRACTOR
  124. {
  125. *PrintableArea: PAIR(3060, 3960)
  126. *PrintableOrigin: PAIR(0, 0)
  127. }
  128. *case: MANUAL
  129. {
  130. *PrintableArea: PAIR(3060, 3840)
  131. *PrintableOrigin: PAIR(0, 60)
  132. }
  133. *case: UPPER
  134. {
  135. *PrintableArea: PAIR(3060, 3840)
  136. *PrintableOrigin: PAIR(0, 60)
  137. }
  138. *case: LOWER
  139. {
  140. *PrintableArea: PAIR(3060, 3840)
  141. *PrintableOrigin: PAIR(0, 60)
  142. }
  143. }
  144. }
  145. *Option: LEGAL
  146. {
  147. *rcNameID: =LEGAL_DISPLAY
  148. *Command: CmdSelect
  149. {
  150. *Order: DOC_SETUP.4
  151. *Cmd: "<1B>2"
  152. }
  153. *switch: InputBin
  154. {
  155. *case: TRACTOR
  156. {
  157. *PrintableArea: PAIR(3060, 5040)
  158. *PrintableOrigin: PAIR(0, 0)
  159. }
  160. *case: MANUAL
  161. {
  162. *PrintableArea: PAIR(3060, 4920)
  163. *PrintableOrigin: PAIR(0, 60)
  164. }
  165. *case: UPPER
  166. {
  167. *PrintableArea: PAIR(3060, 4920)
  168. *PrintableOrigin: PAIR(0, 60)
  169. }
  170. *case: LOWER
  171. {
  172. *PrintableArea: PAIR(3060, 4920)
  173. *PrintableOrigin: PAIR(0, 60)
  174. }
  175. }
  176. }
  177. *Option: A4
  178. {
  179. *rcNameID: =A4_DISPLAY
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.4
  183. *Cmd: "<1B>2"
  184. }
  185. *switch: InputBin
  186. {
  187. *case: TRACTOR
  188. {
  189. *PrintableArea: PAIR(2977, 4208)
  190. *PrintableOrigin: PAIR(0, 0)
  191. *switch: Resolution
  192. {
  193. *case: Option2
  194. {
  195. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  196. *PrintableArea: PAIR(2976, 4208)
  197. }
  198. *case: Option3
  199. {
  200. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  201. *PrintableArea: PAIR(2976, 4208)
  202. }
  203. }
  204. }
  205. *case: MANUAL
  206. {
  207. *PrintableArea: PAIR(2977, 4088)
  208. *PrintableOrigin: PAIR(0, 60)
  209. *switch: Resolution
  210. {
  211. *case: Option2
  212. {
  213. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  214. *PrintableArea: PAIR(2976, 4088)
  215. }
  216. *case: Option3
  217. {
  218. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  219. *PrintableArea: PAIR(2976, 4088)
  220. }
  221. }
  222. }
  223. *case: UPPER
  224. {
  225. *PrintableArea: PAIR(2977, 4088)
  226. *PrintableOrigin: PAIR(0, 60)
  227. *switch: Resolution
  228. {
  229. *case: Option2
  230. {
  231. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  232. *PrintableArea: PAIR(2976, 4088)
  233. }
  234. *case: Option3
  235. {
  236. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  237. *PrintableArea: PAIR(2976, 4088)
  238. }
  239. }
  240. }
  241. *case: LOWER
  242. {
  243. *PrintableArea: PAIR(2977, 4088)
  244. *PrintableOrigin: PAIR(0, 60)
  245. *switch: Resolution
  246. {
  247. *case: Option2
  248. {
  249. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  250. *PrintableArea: PAIR(2976, 4088)
  251. }
  252. *case: Option3
  253. {
  254. *% Warning: the following printable width is adjusted (2977->2976) so it is divisible by the resolution X scale.
  255. *PrintableArea: PAIR(2976, 4088)
  256. }
  257. }
  258. }
  259. }
  260. }
  261. *Option: A5
  262. {
  263. *rcNameID: =A5_DISPLAY
  264. *Command: CmdSelect
  265. {
  266. *Order: DOC_SETUP.4
  267. *Cmd: "<1B>2"
  268. }
  269. *switch: InputBin
  270. {
  271. *case: TRACTOR
  272. {
  273. *PrintableArea: PAIR(2099, 2977)
  274. *PrintableOrigin: PAIR(0, 0)
  275. *switch: Resolution
  276. {
  277. *case: Option1
  278. {
  279. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  280. *PrintableArea: PAIR(2099, 2976)
  281. }
  282. *case: Option2
  283. {
  284. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  286. *PrintableArea: PAIR(2098, 2976)
  287. }
  288. *case: Option3
  289. {
  290. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  291. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  292. *PrintableArea: PAIR(2097, 2976)
  293. }
  294. }
  295. }
  296. *case: MANUAL
  297. {
  298. *PrintableArea: PAIR(2099, 2857)
  299. *PrintableOrigin: PAIR(0, 60)
  300. *switch: Resolution
  301. {
  302. *case: Option1
  303. {
  304. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  305. *PrintableArea: PAIR(2099, 2856)
  306. }
  307. *case: Option2
  308. {
  309. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  310. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  311. *PrintableArea: PAIR(2098, 2856)
  312. }
  313. *case: Option3
  314. {
  315. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  316. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  317. *PrintableArea: PAIR(2097, 2856)
  318. }
  319. }
  320. }
  321. *case: UPPER
  322. {
  323. *PrintableArea: PAIR(2099, 2857)
  324. *PrintableOrigin: PAIR(0, 60)
  325. *switch: Resolution
  326. {
  327. *case: Option1
  328. {
  329. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  330. *PrintableArea: PAIR(2099, 2856)
  331. }
  332. *case: Option2
  333. {
  334. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  335. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  336. *PrintableArea: PAIR(2098, 2856)
  337. }
  338. *case: Option3
  339. {
  340. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  341. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  342. *PrintableArea: PAIR(2097, 2856)
  343. }
  344. }
  345. }
  346. *case: LOWER
  347. {
  348. *PrintableArea: PAIR(2099, 2857)
  349. *PrintableOrigin: PAIR(0, 60)
  350. *switch: Resolution
  351. {
  352. *case: Option1
  353. {
  354. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  355. *PrintableArea: PAIR(2099, 2856)
  356. }
  357. *case: Option2
  358. {
  359. *% Warning: the following printable width is adjusted (2099->2098) so it is divisible by the resolution X scale.
  360. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  361. *PrintableArea: PAIR(2098, 2856)
  362. }
  363. *case: Option3
  364. {
  365. *% Warning: the following printable width is adjusted (2099->2097) so it is divisible by the resolution X scale.
  366. *% Warning: the following printable length is adjusted (2857->2856) so it is divisible by the resolution Y scale.
  367. *PrintableArea: PAIR(2097, 2856)
  368. }
  369. }
  370. }
  371. }
  372. }
  373. *Option: B5
  374. {
  375. *rcNameID: =B5_DISPLAY
  376. *Command: CmdSelect
  377. {
  378. *Order: DOC_SETUP.4
  379. *Cmd: "<1B>2"
  380. }
  381. *switch: InputBin
  382. {
  383. *case: TRACTOR
  384. {
  385. *PrintableArea: PAIR(2581, 3643)
  386. *PrintableOrigin: PAIR(0, 0)
  387. *switch: Resolution
  388. {
  389. *case: Option1
  390. {
  391. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  392. *PrintableArea: PAIR(2581, 3642)
  393. }
  394. *case: Option2
  395. {
  396. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  397. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  398. *PrintableArea: PAIR(2580, 3642)
  399. }
  400. *case: Option3
  401. {
  402. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  403. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  404. *PrintableArea: PAIR(2580, 3642)
  405. }
  406. }
  407. }
  408. *case: MANUAL
  409. {
  410. *PrintableArea: PAIR(2581, 3523)
  411. *PrintableOrigin: PAIR(0, 60)
  412. *switch: Resolution
  413. {
  414. *case: Option1
  415. {
  416. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  417. *PrintableArea: PAIR(2581, 3522)
  418. }
  419. *case: Option2
  420. {
  421. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  422. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  423. *PrintableArea: PAIR(2580, 3522)
  424. }
  425. *case: Option3
  426. {
  427. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  428. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  429. *PrintableArea: PAIR(2580, 3522)
  430. }
  431. }
  432. }
  433. *case: UPPER
  434. {
  435. *PrintableArea: PAIR(2581, 3523)
  436. *PrintableOrigin: PAIR(0, 60)
  437. *switch: Resolution
  438. {
  439. *case: Option1
  440. {
  441. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(2581, 3522)
  443. }
  444. *case: Option2
  445. {
  446. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  447. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  448. *PrintableArea: PAIR(2580, 3522)
  449. }
  450. *case: Option3
  451. {
  452. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  453. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  454. *PrintableArea: PAIR(2580, 3522)
  455. }
  456. }
  457. }
  458. *case: LOWER
  459. {
  460. *PrintableArea: PAIR(2581, 3523)
  461. *PrintableOrigin: PAIR(0, 60)
  462. *switch: Resolution
  463. {
  464. *case: Option1
  465. {
  466. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  467. *PrintableArea: PAIR(2581, 3522)
  468. }
  469. *case: Option2
  470. {
  471. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  472. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  473. *PrintableArea: PAIR(2580, 3522)
  474. }
  475. *case: Option3
  476. {
  477. *% Warning: the following printable width is adjusted (2581->2580) so it is divisible by the resolution X scale.
  478. *% Warning: the following printable length is adjusted (3523->3522) so it is divisible by the resolution Y scale.
  479. *PrintableArea: PAIR(2580, 3522)
  480. }
  481. }
  482. }
  483. }
  484. }
  485. *Option: A3
  486. {
  487. *rcNameID: =A3_DISPLAY
  488. *Command: CmdSelect
  489. {
  490. *Order: DOC_SETUP.4
  491. *Cmd: "<1B>2"
  492. }
  493. *switch: InputBin
  494. {
  495. *case: TRACTOR
  496. {
  497. *PrintableArea: PAIR(4208, 5954)
  498. *PrintableOrigin: PAIR(0, 0)
  499. *switch: Resolution
  500. {
  501. *case: Option3
  502. {
  503. *% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
  504. *PrintableArea: PAIR(4206, 5954)
  505. }
  506. }
  507. }
  508. *case: MANUAL
  509. {
  510. *PrintableArea: PAIR(4208, 5834)
  511. *PrintableOrigin: PAIR(0, 60)
  512. *switch: Resolution
  513. {
  514. *case: Option3
  515. {
  516. *% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
  517. *PrintableArea: PAIR(4206, 5834)
  518. }
  519. }
  520. }
  521. *case: UPPER
  522. {
  523. *PrintableArea: PAIR(4208, 5834)
  524. *PrintableOrigin: PAIR(0, 60)
  525. *switch: Resolution
  526. {
  527. *case: Option3
  528. {
  529. *% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
  530. *PrintableArea: PAIR(4206, 5834)
  531. }
  532. }
  533. }
  534. *case: LOWER
  535. {
  536. *PrintableArea: PAIR(4208, 5834)
  537. *PrintableOrigin: PAIR(0, 60)
  538. *switch: Resolution
  539. {
  540. *case: Option3
  541. {
  542. *% Warning: the following printable width is adjusted (4208->4206) so it is divisible by the resolution X scale.
  543. *PrintableArea: PAIR(4206, 5834)
  544. }
  545. }
  546. }
  547. }
  548. }
  549. *Option: B4
  550. {
  551. *rcNameID: =B4_DISPLAY
  552. *Command: CmdSelect
  553. {
  554. *Order: DOC_SETUP.4
  555. *Cmd: "<1B>2"
  556. }
  557. *switch: InputBin
  558. {
  559. *case: TRACTOR
  560. {
  561. *PrintableArea: PAIR(3643, 5159)
  562. *PrintableOrigin: PAIR(0, 0)
  563. *switch: Resolution
  564. {
  565. *case: Option1
  566. {
  567. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  568. *PrintableArea: PAIR(3643, 5158)
  569. }
  570. *case: Option2
  571. {
  572. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  573. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  574. *PrintableArea: PAIR(3642, 5158)
  575. }
  576. *case: Option3
  577. {
  578. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  579. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  580. *PrintableArea: PAIR(3642, 5158)
  581. }
  582. }
  583. }
  584. *case: MANUAL
  585. {
  586. *PrintableArea: PAIR(3643, 5039)
  587. *PrintableOrigin: PAIR(0, 60)
  588. *switch: Resolution
  589. {
  590. *case: Option1
  591. {
  592. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  593. *PrintableArea: PAIR(3643, 5038)
  594. }
  595. *case: Option2
  596. {
  597. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  598. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  599. *PrintableArea: PAIR(3642, 5038)
  600. }
  601. *case: Option3
  602. {
  603. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  604. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  605. *PrintableArea: PAIR(3642, 5038)
  606. }
  607. }
  608. }
  609. *case: UPPER
  610. {
  611. *PrintableArea: PAIR(3643, 5039)
  612. *PrintableOrigin: PAIR(0, 60)
  613. *switch: Resolution
  614. {
  615. *case: Option1
  616. {
  617. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  618. *PrintableArea: PAIR(3643, 5038)
  619. }
  620. *case: Option2
  621. {
  622. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  623. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  624. *PrintableArea: PAIR(3642, 5038)
  625. }
  626. *case: Option3
  627. {
  628. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  629. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  630. *PrintableArea: PAIR(3642, 5038)
  631. }
  632. }
  633. }
  634. *case: LOWER
  635. {
  636. *PrintableArea: PAIR(3643, 5039)
  637. *PrintableOrigin: PAIR(0, 60)
  638. *switch: Resolution
  639. {
  640. *case: Option1
  641. {
  642. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  643. *PrintableArea: PAIR(3643, 5038)
  644. }
  645. *case: Option2
  646. {
  647. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  648. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  649. *PrintableArea: PAIR(3642, 5038)
  650. }
  651. *case: Option3
  652. {
  653. *% Warning: the following printable width is adjusted (3643->3642) so it is divisible by the resolution X scale.
  654. *% Warning: the following printable length is adjusted (5039->5038) so it is divisible by the resolution Y scale.
  655. *PrintableArea: PAIR(3642, 5038)
  656. }
  657. }
  658. }
  659. }
  660. }
  661. *Option: Option8
  662. {
  663. *rcNameID: 258
  664. *OptionID: 258
  665. *PageDimensions: PAIR(3060, 3960)
  666. *Command: CmdSelect
  667. {
  668. *Order: DOC_SETUP.4
  669. *Cmd: "<1B>2"
  670. }
  671. *switch: InputBin
  672. {
  673. *case: TRACTOR
  674. {
  675. *PrintableArea: PAIR(3060, 3960)
  676. *PrintableOrigin: PAIR(0, 0)
  677. }
  678. *case: MANUAL
  679. {
  680. *PrintableArea: PAIR(3060, 3840)
  681. *PrintableOrigin: PAIR(0, 60)
  682. }
  683. *case: UPPER
  684. {
  685. *PrintableArea: PAIR(3060, 3840)
  686. *PrintableOrigin: PAIR(0, 60)
  687. }
  688. *case: LOWER
  689. {
  690. *PrintableArea: PAIR(3060, 3840)
  691. *PrintableOrigin: PAIR(0, 60)
  692. }
  693. }
  694. }
  695. *Option: Option9
  696. {
  697. *rcNameID: 259
  698. *OptionID: 259
  699. *PageDimensions: PAIR(4896, 3960)
  700. *Command: CmdSelect
  701. {
  702. *Order: DOC_SETUP.4
  703. *Cmd: "<1B>2"
  704. }
  705. *switch: InputBin
  706. {
  707. *case: TRACTOR
  708. {
  709. *PrintableArea: PAIR(4896, 3960)
  710. *PrintableOrigin: PAIR(0, 0)
  711. }
  712. *case: MANUAL
  713. {
  714. *PrintableArea: PAIR(4896, 3840)
  715. *PrintableOrigin: PAIR(0, 60)
  716. }
  717. *case: UPPER
  718. {
  719. *PrintableArea: PAIR(4896, 3840)
  720. *PrintableOrigin: PAIR(0, 60)
  721. }
  722. *case: LOWER
  723. {
  724. *PrintableArea: PAIR(4896, 3840)
  725. *PrintableOrigin: PAIR(0, 60)
  726. }
  727. }
  728. }
  729. *Option: CUSTOMSIZE
  730. {
  731. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  732. *MinSize: PAIR(360, 360)
  733. *MaxSize: PAIR(5040, 7920)
  734. *MaxPrintableWidth: 4896
  735. *MinLeftMargin: 0
  736. *CenterPrintable?: FALSE
  737. *switch: InputBin
  738. {
  739. *case: TRACTOR
  740. {
  741. *TopMargin: 0
  742. *BottomMargin: 0
  743. }
  744. *case: MANUAL
  745. {
  746. *TopMargin: 60
  747. *BottomMargin: 60
  748. }
  749. *case: UPPER
  750. {
  751. *TopMargin: 60
  752. *BottomMargin: 60
  753. }
  754. *case: LOWER
  755. {
  756. *TopMargin: 60
  757. *BottomMargin: 60
  758. }
  759. }
  760. *Command: CmdSelect
  761. {
  762. *Order: DOC_SETUP.4
  763. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  764. }
  765. }
  766. }
  767. *Feature: PrintQuality
  768. {
  769. *rcNameID: =TEXT_QUALITY_DISPLAY
  770. *DefaultOption: LETTER_QUALITY
  771. *Option: LETTER_QUALITY
  772. {
  773. *rcNameID: =LETTER_QUALITY_DISPLAY
  774. *Command: CmdSelect
  775. {
  776. *Order: DOC_SETUP.2
  777. *Cmd: "<1B>x<01>"
  778. }
  779. }
  780. *Option: DRAFT_QUALITY
  781. {
  782. *rcNameID: =DRAFT_QUALITY_DISPLAY
  783. *Command: CmdSelect
  784. {
  785. *Order: DOC_SETUP.2
  786. *Cmd: "<1B>x<00>"
  787. }
  788. }
  789. }
  790. *Feature: Halftone
  791. {
  792. *rcNameID: =HALFTONING_DISPLAY
  793. *DefaultOption: HT_PATSIZE_AUTO
  794. *Option: HT_PATSIZE_AUTO
  795. {
  796. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  797. }
  798. *Option: HT_PATSIZE_SUPERCELL_M
  799. {
  800. *rcNameID: =HT_SUPERCELL_DISPLAY
  801. }
  802. *Option: HT_PATSIZE_6x6_M
  803. {
  804. *rcNameID: =HT_DITHER6X6_DISPLAY
  805. }
  806. *Option: HT_PATSIZE_8x8_M
  807. {
  808. *rcNameID: =HT_DITHER8X8_DISPLAY
  809. }
  810. }
  811. *Command: CmdStartDoc
  812. {
  813. *Order: DOC_SETUP.1
  814. *Cmd: "<1B>@"
  815. }
  816. *Command: CmdStartPage
  817. {
  818. *Order: PAGE_SETUP.1
  819. *Cmd: "<0D>"
  820. }
  821. *RotateCoordinate?: FALSE
  822. *RotateRaster?: FALSE
  823. *RotateFont?: FALSE
  824. *switch: Orientation
  825. {
  826. *case: PORTRAIT
  827. {
  828. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  829. }
  830. *case: LANDSCAPE_CC270
  831. {
  832. *TextCaps: LIST(TC_RA_ABLE)
  833. }
  834. }
  835. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  836. *YMoveAttributes: LIST(SEND_CR_FIRST)
  837. *MaxLineSpacing: 255
  838. *XMoveThreshold: 0
  839. *YMoveThreshold: *
  840. *XMoveUnit: 60
  841. *YMoveUnit: 180
  842. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  843. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  844. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  845. *Command: CmdCR { *Cmd : "<0D>" }
  846. *Command: CmdLF { *Cmd : "<0A>" }
  847. *Command: CmdFF { *Cmd : "<0C>" }
  848. *Command: CmdBackSpace { *Cmd : "<08>" }
  849. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  850. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  851. *EjectPageWithFF?: FALSE
  852. *switch: InputBin
  853. {
  854. *case: MANUAL
  855. {
  856. *EjectPageWithFF?: TRUE
  857. }
  858. *case: UPPER
  859. {
  860. *EjectPageWithFF?: TRUE
  861. }
  862. *case: LOWER
  863. {
  864. *EjectPageWithFF?: TRUE
  865. }
  866. }
  867. *OutputDataFormat: V_BYTE
  868. *OptimizeLeftBound?: FALSE
  869. *CursorXAfterSendBlockData: AT_GRXDATA_END
  870. *CursorYAfterSendBlockData: NO_MOVE
  871. *DefaultCTT: 2
  872. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  873. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  874. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  875. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  876. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  877. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }