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.

1298 lines
46 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPVP150J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON VP-1500"
  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: A3
  94. {
  95. *rcNameID: =A3_DISPLAY
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.8
  99. *Cmd: "<1B>C<0010>"
  100. }
  101. *switch: InputBin
  102. {
  103. *case: MANUAL
  104. {
  105. *PrintableArea: PAIR(4124, 5621)
  106. *PrintableOrigin: PAIR(42, 120)
  107. *switch: Resolution
  108. {
  109. *case: Option1
  110. {
  111. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  112. *PrintableArea: PAIR(4124, 5620)
  113. }
  114. *case: Option2
  115. {
  116. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  117. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  118. *PrintableArea: PAIR(4122, 5620)
  119. }
  120. }
  121. }
  122. *case: Option2
  123. {
  124. *PrintableArea: PAIR(4124, 5621)
  125. *PrintableOrigin: PAIR(42, 120)
  126. *switch: Resolution
  127. {
  128. *case: Option1
  129. {
  130. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  131. *PrintableArea: PAIR(4124, 5620)
  132. }
  133. *case: Option2
  134. {
  135. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  136. *% Warning: the following printable length is adjusted (5621->5620) so it is divisible by the resolution Y scale.
  137. *PrintableArea: PAIR(4122, 5620)
  138. }
  139. }
  140. }
  141. *case: Option3
  142. {
  143. *PrintableArea: PAIR(4124, 5954)
  144. *PrintableOrigin: PAIR(42, 0)
  145. *switch: Resolution
  146. {
  147. *case: Option2
  148. {
  149. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  150. *PrintableArea: PAIR(4122, 5954)
  151. }
  152. }
  153. }
  154. }
  155. }
  156. *Option: A4
  157. {
  158. *rcNameID: =A4_DISPLAY
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.8
  162. *Cmd: "<1B>C<000C>"
  163. }
  164. *switch: InputBin
  165. {
  166. *case: MANUAL
  167. {
  168. *PrintableArea: PAIR(2893, 3875)
  169. *PrintableOrigin: PAIR(42, 120)
  170. *switch: Resolution
  171. {
  172. *case: Option1
  173. {
  174. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  175. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  176. *PrintableArea: PAIR(2892, 3874)
  177. }
  178. *case: Option2
  179. {
  180. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  181. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  182. *PrintableArea: PAIR(2892, 3874)
  183. }
  184. }
  185. }
  186. *case: Option2
  187. {
  188. *PrintableArea: PAIR(2893, 3875)
  189. *PrintableOrigin: PAIR(42, 120)
  190. *switch: Resolution
  191. {
  192. *case: Option1
  193. {
  194. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  195. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  196. *PrintableArea: PAIR(2892, 3874)
  197. }
  198. *case: Option2
  199. {
  200. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  201. *% Warning: the following printable length is adjusted (3875->3874) so it is divisible by the resolution Y scale.
  202. *PrintableArea: PAIR(2892, 3874)
  203. }
  204. }
  205. }
  206. *case: Option3
  207. {
  208. *PrintableArea: PAIR(2893, 4208)
  209. *PrintableOrigin: PAIR(42, 0)
  210. *switch: Resolution
  211. {
  212. *case: Option1
  213. {
  214. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  215. *PrintableArea: PAIR(2892, 4208)
  216. }
  217. *case: Option2
  218. {
  219. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  220. *PrintableArea: PAIR(2892, 4208)
  221. }
  222. }
  223. }
  224. }
  225. }
  226. *Option: A4_ROTATED
  227. {
  228. *rcNameID: =A4_ROTATED_DISPLAY
  229. *Command: CmdSelect
  230. {
  231. *Order: DOC_SETUP.8
  232. *Cmd: "<1B>C<0008>"
  233. }
  234. *switch: InputBin
  235. {
  236. *case: MANUAL
  237. {
  238. *PrintableArea: PAIR(4124, 2644)
  239. *PrintableOrigin: PAIR(42, 120)
  240. *switch: Resolution
  241. {
  242. *case: Option2
  243. {
  244. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  245. *PrintableArea: PAIR(4122, 2644)
  246. }
  247. }
  248. }
  249. *case: Option2
  250. {
  251. *PrintableArea: PAIR(4124, 2644)
  252. *PrintableOrigin: PAIR(42, 120)
  253. *switch: Resolution
  254. {
  255. *case: Option2
  256. {
  257. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  258. *PrintableArea: PAIR(4122, 2644)
  259. }
  260. }
  261. }
  262. *case: Option3
  263. {
  264. *PrintableArea: PAIR(4124, 2977)
  265. *PrintableOrigin: PAIR(42, 0)
  266. *switch: Resolution
  267. {
  268. *case: Option1
  269. {
  270. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  271. *PrintableArea: PAIR(4124, 2976)
  272. }
  273. *case: Option2
  274. {
  275. *% Warning: the following printable width is adjusted (4124->4122) so it is divisible by the resolution X scale.
  276. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  277. *PrintableArea: PAIR(4122, 2976)
  278. }
  279. }
  280. }
  281. }
  282. }
  283. *Option: A5
  284. {
  285. *rcNameID: =A5_DISPLAY
  286. *Command: CmdSelect
  287. {
  288. *Order: DOC_SETUP.8
  289. *Cmd: "<1B>C<0008>"
  290. }
  291. *switch: InputBin
  292. {
  293. *case: MANUAL
  294. {
  295. *PrintableArea: PAIR(2015, 2644)
  296. *PrintableOrigin: PAIR(42, 120)
  297. *switch: Resolution
  298. {
  299. *case: Option1
  300. {
  301. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  302. *PrintableArea: PAIR(2014, 2644)
  303. }
  304. *case: Option2
  305. {
  306. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  307. *PrintableArea: PAIR(2013, 2644)
  308. }
  309. }
  310. }
  311. *case: Option2
  312. {
  313. *PrintableArea: PAIR(2015, 2644)
  314. *PrintableOrigin: PAIR(42, 120)
  315. *switch: Resolution
  316. {
  317. *case: Option1
  318. {
  319. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  320. *PrintableArea: PAIR(2014, 2644)
  321. }
  322. *case: Option2
  323. {
  324. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  325. *PrintableArea: PAIR(2013, 2644)
  326. }
  327. }
  328. }
  329. *case: Option3
  330. {
  331. *PrintableArea: PAIR(2015, 2977)
  332. *PrintableOrigin: PAIR(42, 0)
  333. *switch: Resolution
  334. {
  335. *case: Option1
  336. {
  337. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  338. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  339. *PrintableArea: PAIR(2014, 2976)
  340. }
  341. *case: Option2
  342. {
  343. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  344. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  345. *PrintableArea: PAIR(2013, 2976)
  346. }
  347. }
  348. }
  349. }
  350. }
  351. *Option: A5_ROTATED
  352. {
  353. *rcNameID: =A5_ROTATED_DISPLAY
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.8
  357. *Cmd: "<1B>C<0006>"
  358. }
  359. *switch: InputBin
  360. {
  361. *case: MANUAL
  362. {
  363. *PrintableArea: PAIR(2893, 1766)
  364. *PrintableOrigin: PAIR(42, 120)
  365. *switch: Resolution
  366. {
  367. *case: Option1
  368. {
  369. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  370. *PrintableArea: PAIR(2892, 1766)
  371. }
  372. *case: Option2
  373. {
  374. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  375. *PrintableArea: PAIR(2892, 1766)
  376. }
  377. }
  378. }
  379. *case: Option2
  380. {
  381. *PrintableArea: PAIR(2893, 1766)
  382. *PrintableOrigin: PAIR(42, 120)
  383. *switch: Resolution
  384. {
  385. *case: Option1
  386. {
  387. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  388. *PrintableArea: PAIR(2892, 1766)
  389. }
  390. *case: Option2
  391. {
  392. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  393. *PrintableArea: PAIR(2892, 1766)
  394. }
  395. }
  396. }
  397. *case: Option3
  398. {
  399. *PrintableArea: PAIR(2893, 2099)
  400. *PrintableOrigin: PAIR(42, 0)
  401. *switch: Resolution
  402. {
  403. *case: Option1
  404. {
  405. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  406. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  407. *PrintableArea: PAIR(2892, 2098)
  408. }
  409. *case: Option2
  410. {
  411. *% Warning: the following printable width is adjusted (2893->2892) so it is divisible by the resolution X scale.
  412. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  413. *PrintableArea: PAIR(2892, 2098)
  414. }
  415. }
  416. }
  417. }
  418. }
  419. *Option: A6
  420. {
  421. *rcNameID: =A6_DISPLAY
  422. *Command: CmdSelect
  423. {
  424. *Order: DOC_SETUP.8
  425. *Cmd: "<1B>C<0006>"
  426. }
  427. *switch: InputBin
  428. {
  429. *case: MANUAL
  430. {
  431. *PrintableArea: PAIR(1403, 1766)
  432. *PrintableOrigin: PAIR(42, 120)
  433. *switch: Resolution
  434. {
  435. *case: Option1
  436. {
  437. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  438. *PrintableArea: PAIR(1402, 1766)
  439. }
  440. *case: Option2
  441. {
  442. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  443. *PrintableArea: PAIR(1401, 1766)
  444. }
  445. }
  446. }
  447. *case: Option2
  448. {
  449. *PrintableArea: PAIR(1403, 1766)
  450. *PrintableOrigin: PAIR(42, 120)
  451. *switch: Resolution
  452. {
  453. *case: Option1
  454. {
  455. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  456. *PrintableArea: PAIR(1402, 1766)
  457. }
  458. *case: Option2
  459. {
  460. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  461. *PrintableArea: PAIR(1401, 1766)
  462. }
  463. }
  464. }
  465. *case: Option3
  466. {
  467. *PrintableArea: PAIR(1403, 2099)
  468. *PrintableOrigin: PAIR(42, 0)
  469. *switch: Resolution
  470. {
  471. *case: Option1
  472. {
  473. *% Warning: the following printable width is adjusted (1403->1402) so it is divisible by the resolution X scale.
  474. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  475. *PrintableArea: PAIR(1402, 2098)
  476. }
  477. *case: Option2
  478. {
  479. *% Warning: the following printable width is adjusted (1403->1401) so it is divisible by the resolution X scale.
  480. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  481. *PrintableArea: PAIR(1401, 2098)
  482. }
  483. }
  484. }
  485. }
  486. }
  487. *Option: A6_ROTATED
  488. {
  489. *rcNameID: =A6_ROTATED_DISPLAY
  490. *Command: CmdSelect
  491. {
  492. *Order: DOC_SETUP.8
  493. *Cmd: "<1B>C<0004>"
  494. }
  495. *switch: InputBin
  496. {
  497. *case: MANUAL
  498. {
  499. *PrintableArea: PAIR(2015, 1154)
  500. *PrintableOrigin: PAIR(42, 120)
  501. *switch: Resolution
  502. {
  503. *case: Option1
  504. {
  505. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  506. *PrintableArea: PAIR(2014, 1154)
  507. }
  508. *case: Option2
  509. {
  510. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  511. *PrintableArea: PAIR(2013, 1154)
  512. }
  513. }
  514. }
  515. *case: Option2
  516. {
  517. *PrintableArea: PAIR(2015, 1154)
  518. *PrintableOrigin: PAIR(42, 120)
  519. *switch: Resolution
  520. {
  521. *case: Option1
  522. {
  523. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  524. *PrintableArea: PAIR(2014, 1154)
  525. }
  526. *case: Option2
  527. {
  528. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  529. *PrintableArea: PAIR(2013, 1154)
  530. }
  531. }
  532. }
  533. *case: Option3
  534. {
  535. *PrintableArea: PAIR(2015, 1487)
  536. *PrintableOrigin: PAIR(42, 0)
  537. *switch: Resolution
  538. {
  539. *case: Option1
  540. {
  541. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  542. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  543. *PrintableArea: PAIR(2014, 1486)
  544. }
  545. *case: Option2
  546. {
  547. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  548. *% Warning: the following printable length is adjusted (1487->1486) so it is divisible by the resolution Y scale.
  549. *PrintableArea: PAIR(2013, 1486)
  550. }
  551. }
  552. }
  553. }
  554. }
  555. *Option: B4
  556. {
  557. *rcNameID: =B4_DISPLAY
  558. *Command: CmdSelect
  559. {
  560. *Order: DOC_SETUP.8
  561. *Cmd: "<1B>C<000E>"
  562. }
  563. *switch: InputBin
  564. {
  565. *case: MANUAL
  566. {
  567. *PrintableArea: PAIR(3559, 4826)
  568. *PrintableOrigin: PAIR(42, 120)
  569. *switch: Resolution
  570. {
  571. *case: Option1
  572. {
  573. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  574. *PrintableArea: PAIR(3558, 4826)
  575. }
  576. *case: Option2
  577. {
  578. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  579. *PrintableArea: PAIR(3558, 4826)
  580. }
  581. }
  582. }
  583. *case: Option2
  584. {
  585. *PrintableArea: PAIR(3559, 4826)
  586. *PrintableOrigin: PAIR(42, 120)
  587. *switch: Resolution
  588. {
  589. *case: Option1
  590. {
  591. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  592. *PrintableArea: PAIR(3558, 4826)
  593. }
  594. *case: Option2
  595. {
  596. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  597. *PrintableArea: PAIR(3558, 4826)
  598. }
  599. }
  600. }
  601. *case: Option3
  602. {
  603. *PrintableArea: PAIR(3559, 5159)
  604. *PrintableOrigin: PAIR(42, 0)
  605. *switch: Resolution
  606. {
  607. *case: Option1
  608. {
  609. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  610. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  611. *PrintableArea: PAIR(3558, 5158)
  612. }
  613. *case: Option2
  614. {
  615. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  616. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  617. *PrintableArea: PAIR(3558, 5158)
  618. }
  619. }
  620. }
  621. }
  622. }
  623. *Option: B4_JIS_ROTATED
  624. {
  625. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  626. *Command: CmdSelect
  627. {
  628. *Order: DOC_SETUP.8
  629. *Cmd: "<1B>C<000A>"
  630. }
  631. *switch: InputBin
  632. {
  633. *case: MANUAL
  634. {
  635. *PrintableArea: PAIR(4896, 3310)
  636. *PrintableOrigin: PAIR(42, 120)
  637. }
  638. *case: Option2
  639. {
  640. *PrintableArea: PAIR(4896, 3310)
  641. *PrintableOrigin: PAIR(42, 120)
  642. }
  643. *case: Option3
  644. {
  645. *PrintableArea: PAIR(4896, 3643)
  646. *PrintableOrigin: PAIR(42, 0)
  647. *switch: Resolution
  648. {
  649. *case: Option1
  650. {
  651. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  652. *PrintableArea: PAIR(4896, 3642)
  653. }
  654. *case: Option2
  655. {
  656. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  657. *PrintableArea: PAIR(4896, 3642)
  658. }
  659. }
  660. }
  661. }
  662. }
  663. *Option: B5
  664. {
  665. *rcNameID: =B5_DISPLAY
  666. *Command: CmdSelect
  667. {
  668. *Order: DOC_SETUP.8
  669. *Cmd: "<1B>C<000A>"
  670. }
  671. *switch: InputBin
  672. {
  673. *case: MANUAL
  674. {
  675. *PrintableArea: PAIR(2497, 3310)
  676. *PrintableOrigin: PAIR(42, 120)
  677. *switch: Resolution
  678. {
  679. *case: Option1
  680. {
  681. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  682. *PrintableArea: PAIR(2496, 3310)
  683. }
  684. *case: Option2
  685. {
  686. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  687. *PrintableArea: PAIR(2496, 3310)
  688. }
  689. }
  690. }
  691. *case: Option2
  692. {
  693. *PrintableArea: PAIR(2497, 3310)
  694. *PrintableOrigin: PAIR(42, 120)
  695. *switch: Resolution
  696. {
  697. *case: Option1
  698. {
  699. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  700. *PrintableArea: PAIR(2496, 3310)
  701. }
  702. *case: Option2
  703. {
  704. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  705. *PrintableArea: PAIR(2496, 3310)
  706. }
  707. }
  708. }
  709. *case: Option3
  710. {
  711. *PrintableArea: PAIR(2497, 3643)
  712. *PrintableOrigin: PAIR(42, 0)
  713. *switch: Resolution
  714. {
  715. *case: Option1
  716. {
  717. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  718. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  719. *PrintableArea: PAIR(2496, 3642)
  720. }
  721. *case: Option2
  722. {
  723. *% Warning: the following printable width is adjusted (2497->2496) so it is divisible by the resolution X scale.
  724. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  725. *PrintableArea: PAIR(2496, 3642)
  726. }
  727. }
  728. }
  729. }
  730. }
  731. *Option: B5_JIS_ROTATED
  732. {
  733. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  734. *Command: CmdSelect
  735. {
  736. *Order: DOC_SETUP.8
  737. *Cmd: "<1B>C<0007>"
  738. }
  739. *switch: InputBin
  740. {
  741. *case: MANUAL
  742. {
  743. *PrintableArea: PAIR(3559, 2248)
  744. *PrintableOrigin: PAIR(42, 120)
  745. *switch: Resolution
  746. {
  747. *case: Option1
  748. {
  749. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  750. *PrintableArea: PAIR(3558, 2248)
  751. }
  752. *case: Option2
  753. {
  754. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  755. *PrintableArea: PAIR(3558, 2248)
  756. }
  757. }
  758. }
  759. *case: Option2
  760. {
  761. *PrintableArea: PAIR(3559, 2248)
  762. *PrintableOrigin: PAIR(42, 120)
  763. *switch: Resolution
  764. {
  765. *case: Option1
  766. {
  767. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  768. *PrintableArea: PAIR(3558, 2248)
  769. }
  770. *case: Option2
  771. {
  772. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  773. *PrintableArea: PAIR(3558, 2248)
  774. }
  775. }
  776. }
  777. *case: Option3
  778. {
  779. *PrintableArea: PAIR(3559, 2581)
  780. *PrintableOrigin: PAIR(42, 0)
  781. *switch: Resolution
  782. {
  783. *case: Option1
  784. {
  785. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  786. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  787. *PrintableArea: PAIR(3558, 2580)
  788. }
  789. *case: Option2
  790. {
  791. *% Warning: the following printable width is adjusted (3559->3558) so it is divisible by the resolution X scale.
  792. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  793. *PrintableArea: PAIR(3558, 2580)
  794. }
  795. }
  796. }
  797. }
  798. }
  799. *Option: 10X11
  800. {
  801. *rcNameID: =10X11_DISPLAY
  802. *Command: CmdSelect
  803. {
  804. *Order: DOC_SETUP.8
  805. *Cmd: "<1B>C<000B>"
  806. }
  807. *switch: InputBin
  808. {
  809. *case: MANUAL
  810. {
  811. *PrintableArea: PAIR(3600, 3627)
  812. *PrintableOrigin: PAIR(0, 120)
  813. *switch: Resolution
  814. {
  815. *case: Option1
  816. {
  817. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  818. *PrintableArea: PAIR(3600, 3626)
  819. }
  820. *case: Option2
  821. {
  822. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  823. *PrintableArea: PAIR(3600, 3626)
  824. }
  825. }
  826. }
  827. *case: Option2
  828. {
  829. *PrintableArea: PAIR(3600, 3627)
  830. *PrintableOrigin: PAIR(0, 120)
  831. *switch: Resolution
  832. {
  833. *case: Option1
  834. {
  835. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  836. *PrintableArea: PAIR(3600, 3626)
  837. }
  838. *case: Option2
  839. {
  840. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  841. *PrintableArea: PAIR(3600, 3626)
  842. }
  843. }
  844. }
  845. *case: Option3
  846. {
  847. *PrintableArea: PAIR(3600, 3960)
  848. *PrintableOrigin: PAIR(0, 0)
  849. }
  850. }
  851. }
  852. *Option: 15X11
  853. {
  854. *rcNameID: =15X11_DISPLAY
  855. *Command: CmdSelect
  856. {
  857. *Order: DOC_SETUP.8
  858. *Cmd: "<1B>C<000B>"
  859. }
  860. *switch: InputBin
  861. {
  862. *case: MANUAL
  863. {
  864. *PrintableArea: PAIR(4896, 3627)
  865. *PrintableOrigin: PAIR(0, 120)
  866. *switch: Resolution
  867. {
  868. *case: Option1
  869. {
  870. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  871. *PrintableArea: PAIR(4896, 3626)
  872. }
  873. *case: Option2
  874. {
  875. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  876. *PrintableArea: PAIR(4896, 3626)
  877. }
  878. }
  879. }
  880. *case: Option2
  881. {
  882. *PrintableArea: PAIR(4896, 3627)
  883. *PrintableOrigin: PAIR(0, 120)
  884. *switch: Resolution
  885. {
  886. *case: Option1
  887. {
  888. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  889. *PrintableArea: PAIR(4896, 3626)
  890. }
  891. *case: Option2
  892. {
  893. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  894. *PrintableArea: PAIR(4896, 3626)
  895. }
  896. }
  897. }
  898. *case: Option3
  899. {
  900. *PrintableArea: PAIR(4896, 3960)
  901. *PrintableOrigin: PAIR(0, 0)
  902. }
  903. }
  904. }
  905. *Option: LETTER
  906. {
  907. *rcNameID: =LETTER_DISPLAY
  908. *Command: CmdSelect
  909. {
  910. *Order: DOC_SETUP.8
  911. *Cmd: "<1B>C<000B>"
  912. }
  913. *switch: InputBin
  914. {
  915. *case: MANUAL
  916. {
  917. *PrintableArea: PAIR(2976, 3627)
  918. *PrintableOrigin: PAIR(42, 120)
  919. *switch: Resolution
  920. {
  921. *case: Option1
  922. {
  923. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  924. *PrintableArea: PAIR(2976, 3626)
  925. }
  926. *case: Option2
  927. {
  928. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  929. *PrintableArea: PAIR(2976, 3626)
  930. }
  931. }
  932. }
  933. *case: Option2
  934. {
  935. *PrintableArea: PAIR(2976, 3627)
  936. *PrintableOrigin: PAIR(42, 120)
  937. *switch: Resolution
  938. {
  939. *case: Option1
  940. {
  941. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  942. *PrintableArea: PAIR(2976, 3626)
  943. }
  944. *case: Option2
  945. {
  946. *% Warning: the following printable length is adjusted (3627->3626) so it is divisible by the resolution Y scale.
  947. *PrintableArea: PAIR(2976, 3626)
  948. }
  949. }
  950. }
  951. *case: Option3
  952. {
  953. *PrintableArea: PAIR(2976, 3960)
  954. *PrintableOrigin: PAIR(42, 0)
  955. }
  956. }
  957. }
  958. *Option: LEGAL
  959. {
  960. *rcNameID: =LEGAL_DISPLAY
  961. *Command: CmdSelect
  962. {
  963. *Order: DOC_SETUP.8
  964. *Cmd: "<1B>C<000E>"
  965. }
  966. *switch: InputBin
  967. {
  968. *case: MANUAL
  969. {
  970. *PrintableArea: PAIR(2976, 4707)
  971. *PrintableOrigin: PAIR(42, 120)
  972. *switch: Resolution
  973. {
  974. *case: Option1
  975. {
  976. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  977. *PrintableArea: PAIR(2976, 4706)
  978. }
  979. *case: Option2
  980. {
  981. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  982. *PrintableArea: PAIR(2976, 4706)
  983. }
  984. }
  985. }
  986. *case: Option2
  987. {
  988. *PrintableArea: PAIR(2976, 4707)
  989. *PrintableOrigin: PAIR(42, 120)
  990. *switch: Resolution
  991. {
  992. *case: Option1
  993. {
  994. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  995. *PrintableArea: PAIR(2976, 4706)
  996. }
  997. *case: Option2
  998. {
  999. *% Warning: the following printable length is adjusted (4707->4706) so it is divisible by the resolution Y scale.
  1000. *PrintableArea: PAIR(2976, 4706)
  1001. }
  1002. }
  1003. }
  1004. *case: Option3
  1005. {
  1006. *PrintableArea: PAIR(2976, 5040)
  1007. *PrintableOrigin: PAIR(42, 0)
  1008. }
  1009. }
  1010. }
  1011. *Option: JAPANESE_POSTCARD
  1012. {
  1013. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  1014. *switch: InputBin
  1015. {
  1016. *case: MANUAL
  1017. {
  1018. *PrintableArea: PAIR(1334, 1744)
  1019. *PrintableOrigin: PAIR(42, 142)
  1020. *switch: Resolution
  1021. {
  1022. *case: Option2
  1023. {
  1024. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1025. *PrintableArea: PAIR(1332, 1744)
  1026. }
  1027. }
  1028. }
  1029. *case: Option2
  1030. {
  1031. *PrintableArea: PAIR(1334, 1744)
  1032. *PrintableOrigin: PAIR(42, 142)
  1033. *switch: Resolution
  1034. {
  1035. *case: Option2
  1036. {
  1037. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1038. *PrintableArea: PAIR(1332, 1744)
  1039. }
  1040. }
  1041. }
  1042. *case: Option3
  1043. {
  1044. *PrintableArea: PAIR(1334, 1957)
  1045. *PrintableOrigin: PAIR(42, 142)
  1046. *switch: Resolution
  1047. {
  1048. *case: Option1
  1049. {
  1050. *% Warning: the following printable length is adjusted (1957->1956) so it is divisible by the resolution Y scale.
  1051. *PrintableArea: PAIR(1334, 1956)
  1052. }
  1053. *case: Option2
  1054. {
  1055. *% Warning: the following printable width is adjusted (1334->1332) so it is divisible by the resolution X scale.
  1056. *% Warning: the following printable length is adjusted (1957->1956) so it is divisible by the resolution Y scale.
  1057. *PrintableArea: PAIR(1332, 1956)
  1058. }
  1059. }
  1060. }
  1061. }
  1062. }
  1063. *Option: JAPANESE_POSTCARD_ROTATED
  1064. {
  1065. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  1066. *switch: InputBin
  1067. {
  1068. *case: MANUAL
  1069. {
  1070. *PrintableArea: PAIR(2015, 1063)
  1071. *PrintableOrigin: PAIR(42, 142)
  1072. *switch: Resolution
  1073. {
  1074. *case: Option1
  1075. {
  1076. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1077. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  1078. *PrintableArea: PAIR(2014, 1062)
  1079. }
  1080. *case: Option2
  1081. {
  1082. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1083. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  1084. *PrintableArea: PAIR(2013, 1062)
  1085. }
  1086. }
  1087. }
  1088. *case: Option2
  1089. {
  1090. *PrintableArea: PAIR(2015, 1063)
  1091. *PrintableOrigin: PAIR(42, 142)
  1092. *switch: Resolution
  1093. {
  1094. *case: Option1
  1095. {
  1096. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1097. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  1098. *PrintableArea: PAIR(2014, 1062)
  1099. }
  1100. *case: Option2
  1101. {
  1102. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1103. *% Warning: the following printable length is adjusted (1063->1062) so it is divisible by the resolution Y scale.
  1104. *PrintableArea: PAIR(2013, 1062)
  1105. }
  1106. }
  1107. }
  1108. *case: Option3
  1109. {
  1110. *PrintableArea: PAIR(2015, 1276)
  1111. *PrintableOrigin: PAIR(42, 142)
  1112. *switch: Resolution
  1113. {
  1114. *case: Option1
  1115. {
  1116. *% Warning: the following printable width is adjusted (2015->2014) so it is divisible by the resolution X scale.
  1117. *PrintableArea: PAIR(2014, 1276)
  1118. }
  1119. *case: Option2
  1120. {
  1121. *% Warning: the following printable width is adjusted (2015->2013) so it is divisible by the resolution X scale.
  1122. *PrintableArea: PAIR(2013, 1276)
  1123. }
  1124. }
  1125. }
  1126. }
  1127. }
  1128. *Option: CUSTOMSIZE
  1129. {
  1130. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1131. *MinSize: PAIR(360, 360)
  1132. *MaxSize: PAIR(5400, 7920)
  1133. *MaxPrintableWidth: 4896
  1134. *MinLeftMargin: 0
  1135. *CenterPrintable?: FALSE
  1136. *switch: InputBin
  1137. {
  1138. *case: MANUAL
  1139. {
  1140. *TopMargin: 120
  1141. *BottomMargin: 213
  1142. }
  1143. *case: Option2
  1144. {
  1145. *TopMargin: 120
  1146. *BottomMargin: 213
  1147. }
  1148. *case: Option3
  1149. {
  1150. *TopMargin: 0
  1151. *BottomMargin: 0
  1152. }
  1153. }
  1154. *Command: CmdSelect
  1155. {
  1156. *Order: DOC_SETUP.8
  1157. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  1158. }
  1159. }
  1160. }
  1161. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.10X11)
  1162. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.15X11)
  1163. *InvalidCombination: LIST(InputBin.Option2, PaperSize.10X11)
  1164. *InvalidCombination: LIST(InputBin.Option2, PaperSize.15X11)
  1165. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  1166. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  1167. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  1168. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  1169. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5_ROTATED)
  1170. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6)
  1171. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A6_ROTATED)
  1172. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  1173. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4_JIS_ROTATED)
  1174. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  1175. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5_JIS_ROTATED)
  1176. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LETTER)
  1177. *InvalidCombination: LIST(InputBin.Option3, PaperSize.LEGAL)
  1178. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD)
  1179. *InvalidCombination: LIST(InputBin.Option3, PaperSize.JAPANESE_POSTCARD_ROTATED)
  1180. *Feature: PrintQuality
  1181. {
  1182. *rcNameID: =TEXT_QUALITY_DISPLAY
  1183. *DefaultOption: LETTER_QUALITY
  1184. *Option: LETTER_QUALITY
  1185. {
  1186. *rcNameID: =LETTER_QUALITY_DISPLAY
  1187. *Command: CmdSelect
  1188. {
  1189. *Order: DOC_SETUP.6
  1190. *Cmd: "<1B>x<011C>x<00>"
  1191. }
  1192. }
  1193. *Option: DRAFT_QUALITY
  1194. {
  1195. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1196. *Command: CmdSelect
  1197. {
  1198. *Order: DOC_SETUP.6
  1199. *Cmd: "<1B>x<001C>x<01>"
  1200. }
  1201. }
  1202. }
  1203. *Feature: Halftone
  1204. {
  1205. *rcNameID: =HALFTONING_DISPLAY
  1206. *DefaultOption: HT_PATSIZE_AUTO
  1207. *Option: HT_PATSIZE_AUTO
  1208. {
  1209. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1210. }
  1211. *Option: HT_PATSIZE_SUPERCELL_M
  1212. {
  1213. *rcNameID: =HT_SUPERCELL_DISPLAY
  1214. }
  1215. *Option: HT_PATSIZE_6x6_M
  1216. {
  1217. *rcNameID: =HT_DITHER6X6_DISPLAY
  1218. }
  1219. *Option: HT_PATSIZE_8x8_M
  1220. {
  1221. *rcNameID: =HT_DITHER8X8_DISPLAY
  1222. }
  1223. }
  1224. *Command: CmdStartDoc
  1225. {
  1226. *Order: DOC_SETUP.1
  1227. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  1228. }
  1229. *Command: CmdStartPage
  1230. {
  1231. *Order: PAGE_SETUP.1
  1232. *Cmd: "<0D>"
  1233. }
  1234. *Command: CmdEndJob
  1235. {
  1236. *Order: JOB_FINISH.1
  1237. *Cmd: "<1B>S<1B1B>SK"
  1238. }
  1239. *RotateCoordinate?: FALSE
  1240. *RotateRaster?: FALSE
  1241. *RotateFont?: FALSE
  1242. *switch: Orientation
  1243. {
  1244. *case: PORTRAIT
  1245. {
  1246. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  1247. }
  1248. *case: LANDSCAPE_CC270
  1249. {
  1250. *TextCaps: LIST(TC_RA_ABLE)
  1251. }
  1252. }
  1253. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1254. *YMoveAttributes: LIST(SEND_CR_FIRST)
  1255. *MaxLineSpacing: 255
  1256. *XMoveThreshold: 0
  1257. *YMoveThreshold: *
  1258. *XMoveUnit: 60
  1259. *YMoveUnit: 180
  1260. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  1261. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  1262. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  1263. *Command: CmdCR { *Cmd : "<0D>" }
  1264. *Command: CmdLF { *Cmd : "<0A>" }
  1265. *Command: CmdFF { *Cmd : "<0C>" }
  1266. *Command: CmdBackSpace { *Cmd : "<08>" }
  1267. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  1268. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  1269. *EjectPageWithFF?: TRUE
  1270. *OutputDataFormat: V_BYTE
  1271. *OptimizeLeftBound?: FALSE
  1272. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1273. *CursorYAfterSendBlockData: NO_MOVE
  1274. *DefaultFont: 1
  1275. *DefaultCTT: -1
  1276. *switch: Orientation
  1277. {
  1278. *case: PORTRAIT
  1279. {
  1280. *DeviceFonts: LIST(1,5,6,7,8,9,10,11,12)
  1281. }
  1282. *case: LANDSCAPE_CC270
  1283. {
  1284. *DeviceFonts: LIST()
  1285. }
  1286. }
  1287. *FontCartridge: FC1
  1288. {
  1289. *rcCartridgeNameID: 269
  1290. *PortraitFonts: LIST(3,4,14,15,16,17,18,19,20,21)
  1291. *LandscapeFonts: LIST()
  1292. }
  1293. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1294. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1295. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1296. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1297. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  1298. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }