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.

1231 lines
47 KiB

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