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.

1026 lines
38 KiB

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