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.

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