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.

897 lines
30 KiB

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