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.

933 lines
32 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: "epl3khmk.gpd"
  9. *ModelName: "EPSON DLQ-3000H+ (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. *CustCursorOriginX: %d{43}
  744. *CustCursorOriginY: %d{0}
  745. *CustPrintableOriginX: %d{43}
  746. *CustPrintableOriginY: %d{0}
  747. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  748. *CustPrintableSizeY: %d{PhysPaperLength}
  749. }
  750. *case: MANUAL
  751. {
  752. *TopMargin: 60
  753. *BottomMargin: 60
  754. *CustCursorOriginX: %d{43}
  755. *CustCursorOriginY: %d{60}
  756. *CustPrintableOriginX: %d{43}
  757. *CustPrintableOriginY: %d{60}
  758. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  759. *CustPrintableSizeY: %d{PhysPaperLength-120}
  760. }
  761. *case: UPPER
  762. {
  763. *TopMargin: 60
  764. *BottomMargin: 60
  765. *CustCursorOriginX: %d{43}
  766. *CustCursorOriginY: %d{60}
  767. *CustPrintableOriginX: %d{43}
  768. *CustPrintableOriginY: %d{60}
  769. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  770. *CustPrintableSizeY: %d{PhysPaperLength-120}
  771. }
  772. *case: LOWER
  773. {
  774. *TopMargin: 60
  775. *BottomMargin: 60
  776. *CustCursorOriginX: %d{43}
  777. *CustCursorOriginY: %d{60}
  778. *CustPrintableOriginX: %d{43}
  779. *CustPrintableOriginY: %d{60}
  780. *CustPrintableSizeX: %d{PhysPaperWidth-86}
  781. *CustPrintableSizeY: %d{PhysPaperLength-120}
  782. }
  783. }
  784. *Command: CmdSelect
  785. {
  786. *Order: DOC_SETUP.4
  787. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  788. }
  789. }
  790. }
  791. *Feature: PrintQuality
  792. {
  793. *rcNameID: =TEXT_QUALITY_DISPLAY
  794. *DefaultOption: LETTER_QUALITY
  795. *Option: LETTER_QUALITY
  796. {
  797. *rcNameID: =LETTER_QUALITY_DISPLAY
  798. *Command: CmdSelect
  799. {
  800. *Order: DOC_SETUP.2
  801. *Cmd: "<1B>x<01>"
  802. }
  803. }
  804. *Option: DRAFT_QUALITY
  805. {
  806. *rcNameID: =DRAFT_QUALITY_DISPLAY
  807. *Command: CmdSelect
  808. {
  809. *Order: DOC_SETUP.2
  810. *Cmd: "<1B>x<00>"
  811. }
  812. }
  813. }
  814. *Feature: ColorMode
  815. {
  816. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  817. *DefaultOption: Color
  818. *Option: Mono
  819. {
  820. *rcNameID: =MONO_DISPLAY
  821. *DevNumOfPlanes: 1
  822. *DevBPP: 1
  823. *Color? : FALSE
  824. }
  825. *Option: Color
  826. {
  827. *rcNameID: =COLOR_DISPLAY
  828. *DevNumOfPlanes: 4
  829. *DevBPP: 1
  830. *DrvBPP: 4
  831. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  832. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  833. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  834. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  835. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  836. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  837. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  838. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  839. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  840. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  841. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  842. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  843. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  844. }
  845. }
  846. *Feature: Halftone
  847. {
  848. *rcNameID: =HALFTONING_DISPLAY
  849. *DefaultOption: HT_PATSIZE_AUTO
  850. *Option: HT_PATSIZE_AUTO
  851. {
  852. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  853. }
  854. *Option: HT_PATSIZE_SUPERCELL_M
  855. {
  856. *rcNameID: =HT_SUPERCELL_DISPLAY
  857. }
  858. *Option: HT_PATSIZE_6x6_M
  859. {
  860. *rcNameID: =HT_DITHER6X6_DISPLAY
  861. }
  862. *Option: HT_PATSIZE_8x8_M
  863. {
  864. *rcNameID: =HT_DITHER8X8_DISPLAY
  865. }
  866. }
  867. *Command: CmdStartDoc
  868. {
  869. *Order: DOC_SETUP.1
  870. *Cmd: "<1B>@"
  871. }
  872. *Command: CmdStartPage
  873. {
  874. *Order: PAGE_SETUP.1
  875. *Cmd: "<0D>"
  876. }
  877. *RotateCoordinate?: FALSE
  878. *RotateRaster?: FALSE
  879. *RotateFont?: FALSE
  880. *switch: Orientation
  881. {
  882. *case: PORTRAIT
  883. {
  884. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  885. }
  886. *case: LANDSCAPE_CC270
  887. {
  888. *TextCaps: LIST(TC_RA_ABLE)
  889. }
  890. }
  891. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  892. *YMoveAttributes: LIST(SEND_CR_FIRST)
  893. *MaxLineSpacing: 255
  894. *XMoveThreshold: 0
  895. *YMoveThreshold: *
  896. *XMoveUnit: 60
  897. *YMoveUnit: 180
  898. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  899. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  900. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  901. *Command: CmdCR { *Cmd : "<0D>" }
  902. *Command: CmdLF { *Cmd : "<0A>" }
  903. *Command: CmdFF { *Cmd : "<0C>" }
  904. *Command: CmdBackSpace { *Cmd : "<08>" }
  905. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  906. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  907. *EjectPageWithFF?: FALSE
  908. *switch: InputBin
  909. {
  910. *case: MANUAL
  911. {
  912. *EjectPageWithFF?: TRUE
  913. }
  914. *case: UPPER
  915. {
  916. *EjectPageWithFF?: TRUE
  917. }
  918. *case: LOWER
  919. {
  920. *EjectPageWithFF?: TRUE
  921. }
  922. }
  923. *OutputDataFormat: V_BYTE
  924. *OptimizeLeftBound?: FALSE
  925. *CursorXAfterSendBlockData: AT_GRXDATA_END
  926. *CursorYAfterSendBlockData: NO_MOVE
  927. *DefaultCTT: 2
  928. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  929. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  930. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  931. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  932. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  933. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }