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.

838 lines
29 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPST10T.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Epson Stylus 1000C"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "ep24tres.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. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.3
  38. *Cmd: "<1B19>0"
  39. }
  40. }
  41. *Option: AUTO
  42. {
  43. *rcNameID: =AUTO_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.3
  47. *Cmd: "<1B19>0"
  48. }
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option3
  55. *Option: Option1
  56. {
  57. *Name: "360 x 180 dots per inch"
  58. *DPI: PAIR(360, 180)
  59. *TextDPI: PAIR(360, 180)
  60. *PinsPerLogPass: 24
  61. *PinsPerPhysPass: 24
  62. *MinStripBlankPixels: 360
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  65. *SpotDiameter: 170
  66. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  67. }
  68. *Option: Option2
  69. {
  70. *Name: "360 x 360 dots per inch"
  71. *DPI: PAIR(360, 360)
  72. *TextDPI: PAIR(360, 360)
  73. *PinsPerLogPass: 48
  74. *PinsPerPhysPass: 24
  75. *MinStripBlankPixels: 360
  76. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  77. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  78. *SpotDiameter: 170
  79. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  80. }
  81. *Option: Option3
  82. {
  83. *Name: "180 x 180 dots per inch"
  84. *DPI: PAIR(180, 180)
  85. *TextDPI: PAIR(180, 180)
  86. *PinsPerLogPass: 24
  87. *PinsPerPhysPass: 24
  88. *MinStripBlankPixels: 180
  89. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  90. *SpotDiameter: 120
  91. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  92. }
  93. *Option: Option4
  94. {
  95. *Name: "120 x 180 dots per inch"
  96. *DPI: PAIR(120, 180)
  97. *TextDPI: PAIR(120, 180)
  98. *PinsPerLogPass: 24
  99. *PinsPerPhysPass: 24
  100. *MinStripBlankPixels: 120
  101. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  102. *SpotDiameter: 100
  103. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  104. }
  105. }
  106. *Feature: PaperSize
  107. {
  108. *rcNameID: =PAPER_SIZE_DISPLAY
  109. *DefaultOption: LETTER
  110. *Option: LETTER
  111. {
  112. *rcNameID: =LETTER_DISPLAY
  113. *PrintableArea: PAIR(2970, 3615)
  114. *PrintableOrigin: PAIR(45, 120)
  115. *switch: Resolution
  116. {
  117. *case: Option1
  118. {
  119. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  120. *PrintableArea: PAIR(2970, 3614)
  121. }
  122. *case: Option3
  123. {
  124. *% Warning: the following printable width is adjusted (2970->2968) so it is divisible by the resolution X scale.
  125. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  126. *PrintableArea: PAIR(2968, 3614)
  127. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  128. *PrintableOrigin: PAIR(46, 120)
  129. }
  130. *case: Option4
  131. {
  132. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  133. *PrintableArea: PAIR(2970, 3614)
  134. }
  135. }
  136. *Command: CmdSelect
  137. {
  138. *Order: DOC_SETUP.4
  139. *Cmd: "<1B>2<1B>CB"
  140. }
  141. }
  142. *Option: LETTER_TRANSVERSE
  143. {
  144. *rcNameID: =LETTER_TRANSVERSE_DISPLAY
  145. *PrintableArea: PAIR(2970, 3615)
  146. *PrintableOrigin: PAIR(45, 120)
  147. *switch: Resolution
  148. {
  149. *case: Option1
  150. {
  151. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  152. *PrintableArea: PAIR(2970, 3614)
  153. }
  154. *case: Option3
  155. {
  156. *% Warning: the following printable width is adjusted (2970->2968) so it is divisible by the resolution X scale.
  157. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  158. *PrintableArea: PAIR(2968, 3614)
  159. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  160. *PrintableOrigin: PAIR(46, 120)
  161. }
  162. *case: Option4
  163. {
  164. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  165. *PrintableArea: PAIR(2970, 3614)
  166. }
  167. }
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.4
  171. *Cmd: "<1B>2<1B>C3"
  172. }
  173. }
  174. *Option: LEGAL
  175. {
  176. *rcNameID: =LEGAL_DISPLAY
  177. *PrintableArea: PAIR(2970, 4695)
  178. *PrintableOrigin: PAIR(45, 120)
  179. *switch: Resolution
  180. {
  181. *case: Option1
  182. {
  183. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  184. *PrintableArea: PAIR(2970, 4694)
  185. }
  186. *case: Option3
  187. {
  188. *% Warning: the following printable width is adjusted (2970->2968) so it is divisible by the resolution X scale.
  189. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  190. *PrintableArea: PAIR(2968, 4694)
  191. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  192. *PrintableOrigin: PAIR(46, 120)
  193. }
  194. *case: Option4
  195. {
  196. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  197. *PrintableArea: PAIR(2970, 4694)
  198. }
  199. }
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>2<1B>CT"
  204. }
  205. }
  206. *Option: TABLOID
  207. {
  208. *rcNameID: =TABLOID_DISPLAY
  209. *PrintableArea: PAIR(3870, 5775)
  210. *PrintableOrigin: PAIR(45, 120)
  211. *switch: Resolution
  212. {
  213. *case: Option1
  214. {
  215. *% Warning: the following printable length is adjusted (5775->5774) so it is divisible by the resolution Y scale.
  216. *PrintableArea: PAIR(3870, 5774)
  217. }
  218. *case: Option3
  219. {
  220. *% Warning: the following printable width is adjusted (3870->3868) so it is divisible by the resolution X scale.
  221. *% Warning: the following printable length is adjusted (5775->5774) so it is divisible by the resolution Y scale.
  222. *PrintableArea: PAIR(3868, 5774)
  223. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  224. *PrintableOrigin: PAIR(46, 120)
  225. }
  226. *case: Option4
  227. {
  228. *% Warning: the following printable length is adjusted (5775->5774) so it is divisible by the resolution Y scale.
  229. *PrintableArea: PAIR(3870, 5774)
  230. }
  231. }
  232. *Command: CmdSelect
  233. {
  234. *Order: DOC_SETUP.4
  235. *Cmd: "<1B>2<1B>Cf"
  236. }
  237. }
  238. *Option: EXECUTIVE
  239. {
  240. *rcNameID: =EXECUTIVE_DISPLAY
  241. *PrintableArea: PAIR(2520, 3435)
  242. *PrintableOrigin: PAIR(45, 120)
  243. *switch: Resolution
  244. {
  245. *case: Option1
  246. {
  247. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  248. *PrintableArea: PAIR(2520, 3434)
  249. }
  250. *case: Option3
  251. {
  252. *% Warning: the following printable width is adjusted (2520->2518) so it is divisible by the resolution X scale.
  253. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  254. *PrintableArea: PAIR(2518, 3434)
  255. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  256. *PrintableOrigin: PAIR(46, 120)
  257. }
  258. *case: Option4
  259. {
  260. *% Warning: the following printable length is adjusted (3435->3434) so it is divisible by the resolution Y scale.
  261. *PrintableArea: PAIR(2520, 3434)
  262. }
  263. }
  264. *Command: CmdSelect
  265. {
  266. *Order: DOC_SETUP.4
  267. *Cmd: "<1B>2<1B>C?"
  268. }
  269. }
  270. *Option: FOLIO
  271. {
  272. *rcNameID: =FOLIO_DISPLAY
  273. *PrintableArea: PAIR(2970, 4335)
  274. *PrintableOrigin: PAIR(45, 120)
  275. *switch: Resolution
  276. {
  277. *case: Option1
  278. {
  279. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  280. *PrintableArea: PAIR(2970, 4334)
  281. }
  282. *case: Option3
  283. {
  284. *% Warning: the following printable width is adjusted (2970->2968) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  286. *PrintableArea: PAIR(2968, 4334)
  287. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  288. *PrintableOrigin: PAIR(46, 120)
  289. }
  290. *case: Option4
  291. {
  292. *% Warning: the following printable length is adjusted (4335->4334) so it is divisible by the resolution Y scale.
  293. *PrintableArea: PAIR(2970, 4334)
  294. }
  295. }
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.4
  299. *Cmd: "<1B>2<1B>CN"
  300. }
  301. }
  302. *Option: Option7
  303. {
  304. *rcNameID: 258
  305. *PageDimensions: PAIR(5954, 8416)
  306. *PrintableArea: PAIR(4849, 8071)
  307. *PrintableOrigin: PAIR(45, 120)
  308. *switch: Resolution
  309. {
  310. *case: Option1
  311. {
  312. *% Warning: the following printable length is adjusted (8071->8070) so it is divisible by the resolution Y scale.
  313. *PrintableArea: PAIR(4849, 8070)
  314. }
  315. *case: Option3
  316. {
  317. *% Warning: the following printable width is adjusted (4849->4848) so it is divisible by the resolution X scale.
  318. *% Warning: the following printable length is adjusted (8071->8070) so it is divisible by the resolution Y scale.
  319. *PrintableArea: PAIR(4848, 8070)
  320. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  321. *PrintableOrigin: PAIR(46, 120)
  322. }
  323. *case: Option4
  324. {
  325. *% Warning: the following printable width is adjusted (4849->4848) so it is divisible by the resolution X scale.
  326. *% Warning: the following printable length is adjusted (8071->8070) so it is divisible by the resolution Y scale.
  327. *PrintableArea: PAIR(4848, 8070)
  328. }
  329. }
  330. *Command: CmdSelect
  331. {
  332. *Order: DOC_SETUP.4
  333. *Cmd: "<1B>2<1B>C<8A>"
  334. }
  335. }
  336. *Option: A3
  337. {
  338. *rcNameID: =A3_DISPLAY
  339. *PrintableArea: PAIR(4118, 5609)
  340. *PrintableOrigin: PAIR(45, 120)
  341. *switch: Resolution
  342. {
  343. *case: Option1
  344. {
  345. *% Warning: the following printable length is adjusted (5609->5608) so it is divisible by the resolution Y scale.
  346. *PrintableArea: PAIR(4118, 5608)
  347. }
  348. *case: Option3
  349. {
  350. *% Warning: the following printable width is adjusted (4118->4116) so it is divisible by the resolution X scale.
  351. *% Warning: the following printable length is adjusted (5609->5608) so it is divisible by the resolution Y scale.
  352. *PrintableArea: PAIR(4116, 5608)
  353. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  354. *PrintableOrigin: PAIR(46, 120)
  355. }
  356. *case: Option4
  357. {
  358. *% Warning: the following printable width is adjusted (4118->4116) so it is divisible by the resolution X scale.
  359. *% Warning: the following printable length is adjusted (5609->5608) so it is divisible by the resolution Y scale.
  360. *PrintableArea: PAIR(4116, 5608)
  361. }
  362. }
  363. *Command: CmdSelect
  364. {
  365. *Order: DOC_SETUP.4
  366. *Cmd: "<1B>2<1B>Cc"
  367. }
  368. }
  369. *Option: Option9
  370. {
  371. *rcNameID: 259
  372. *PageDimensions: PAIR(5954, 4208)
  373. *PrintableArea: PAIR(4894, 3848)
  374. *PrintableOrigin: PAIR(260, 120)
  375. *switch: Resolution
  376. {
  377. *case: Option4
  378. {
  379. *% Warning: the following printable width is adjusted (4894->4893) so it is divisible by the resolution X scale.
  380. *PrintableArea: PAIR(4893, 3848)
  381. *% Warning: the following printable origin X is adjusted (260->261) so it is divisible by the resolution X scale.
  382. *PrintableOrigin: PAIR(261, 120)
  383. }
  384. }
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.4
  388. *Cmd: "<1B>3<121B>Cu"
  389. }
  390. }
  391. *Option: A4
  392. {
  393. *rcNameID: =A4_DISPLAY
  394. *PrintableArea: PAIR(2887, 3863)
  395. *PrintableOrigin: PAIR(45, 120)
  396. *switch: Resolution
  397. {
  398. *case: Option1
  399. {
  400. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  401. *PrintableArea: PAIR(2887, 3862)
  402. }
  403. *case: Option3
  404. {
  405. *% Warning: the following printable width is adjusted (2887->2886) so it is divisible by the resolution X scale.
  406. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  407. *PrintableArea: PAIR(2886, 3862)
  408. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  409. *PrintableOrigin: PAIR(46, 120)
  410. }
  411. *case: Option4
  412. {
  413. *% Warning: the following printable width is adjusted (2887->2886) so it is divisible by the resolution X scale.
  414. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  415. *PrintableArea: PAIR(2886, 3862)
  416. }
  417. }
  418. *Command: CmdSelect
  419. {
  420. *Order: DOC_SETUP.4
  421. *Cmd: "<1B>2<1B>CF"
  422. }
  423. }
  424. *Option: A4_TRANSVERSE
  425. {
  426. *rcNameID: =A4_TRANSVERSE_DISPLAY
  427. *PrintableArea: PAIR(2887, 3863)
  428. *PrintableOrigin: PAIR(45, 120)
  429. *switch: Resolution
  430. {
  431. *case: Option1
  432. {
  433. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  434. *PrintableArea: PAIR(2887, 3862)
  435. }
  436. *case: Option3
  437. {
  438. *% Warning: the following printable width is adjusted (2887->2886) so it is divisible by the resolution X scale.
  439. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  440. *PrintableArea: PAIR(2886, 3862)
  441. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  442. *PrintableOrigin: PAIR(46, 120)
  443. }
  444. *case: Option4
  445. {
  446. *% Warning: the following printable width is adjusted (2887->2886) so it is divisible by the resolution X scale.
  447. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  448. *PrintableArea: PAIR(2886, 3862)
  449. }
  450. }
  451. *Command: CmdSelect
  452. {
  453. *Order: DOC_SETUP.4
  454. *Cmd: "<1B>2<1B>C2"
  455. }
  456. }
  457. *Option: A5
  458. {
  459. *rcNameID: =A5_DISPLAY
  460. *PrintableArea: PAIR(2009, 2632)
  461. *PrintableOrigin: PAIR(45, 120)
  462. *switch: Resolution
  463. {
  464. *case: Option3
  465. {
  466. *% Warning: the following printable width is adjusted (2009->2008) so it is divisible by the resolution X scale.
  467. *PrintableArea: PAIR(2008, 2632)
  468. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  469. *PrintableOrigin: PAIR(46, 120)
  470. }
  471. *case: Option4
  472. {
  473. *% Warning: the following printable width is adjusted (2009->2007) so it is divisible by the resolution X scale.
  474. *PrintableArea: PAIR(2007, 2632)
  475. }
  476. }
  477. *Command: CmdSelect
  478. {
  479. *Order: DOC_SETUP.4
  480. *Cmd: "<1B>2<1B>C2"
  481. }
  482. }
  483. *Option: B4
  484. {
  485. *rcNameID: =B4_DISPLAY
  486. *PrintableArea: PAIR(3553, 4814)
  487. *PrintableOrigin: PAIR(45, 120)
  488. *switch: Resolution
  489. {
  490. *case: Option3
  491. {
  492. *% Warning: the following printable width is adjusted (3553->3552) so it is divisible by the resolution X scale.
  493. *PrintableArea: PAIR(3552, 4814)
  494. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  495. *PrintableOrigin: PAIR(46, 120)
  496. }
  497. *case: Option4
  498. {
  499. *% Warning: the following printable width is adjusted (3553->3552) so it is divisible by the resolution X scale.
  500. *PrintableArea: PAIR(3552, 4814)
  501. }
  502. }
  503. *Command: CmdSelect
  504. {
  505. *Order: DOC_SETUP.4
  506. *Cmd: "<1B>2<1B>CT"
  507. }
  508. }
  509. *Option: B5
  510. {
  511. *rcNameID: =B5_DISPLAY
  512. *PrintableArea: PAIR(2491, 3298)
  513. *PrintableOrigin: PAIR(45, 120)
  514. *switch: Resolution
  515. {
  516. *case: Option3
  517. {
  518. *% Warning: the following printable width is adjusted (2491->2490) so it is divisible by the resolution X scale.
  519. *PrintableArea: PAIR(2490, 3298)
  520. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  521. *PrintableOrigin: PAIR(46, 120)
  522. }
  523. *case: Option4
  524. {
  525. *% Warning: the following printable width is adjusted (2491->2490) so it is divisible by the resolution X scale.
  526. *PrintableArea: PAIR(2490, 3298)
  527. }
  528. }
  529. *Command: CmdSelect
  530. {
  531. *Order: DOC_SETUP.4
  532. *Cmd: "<1B>2<1B>C="
  533. }
  534. }
  535. *Option: ENV_9
  536. {
  537. *rcNameID: =ENV_9_DISPLAY
  538. *RotateSize? : TRUE
  539. *PrintableArea: PAIR(3107, 1052)
  540. *PrintableOrigin: PAIR(45, 120)
  541. *switch: Resolution
  542. {
  543. *case: Option3
  544. {
  545. *% Warning: the following printable width is adjusted (3107->3106) so it is divisible by the resolution X scale.
  546. *PrintableArea: PAIR(3106, 1052)
  547. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  548. *PrintableOrigin: PAIR(46, 120)
  549. }
  550. *case: Option4
  551. {
  552. *% Warning: the following printable width is adjusted (3107->3105) so it is divisible by the resolution X scale.
  553. *PrintableArea: PAIR(3105, 1052)
  554. }
  555. }
  556. *Command: CmdSelect
  557. {
  558. *Order: DOC_SETUP.4
  559. *Cmd: "<1B>2<1B>C<17>"
  560. }
  561. }
  562. *Option: ENV_10
  563. {
  564. *rcNameID: =ENV_10_DISPLAY
  565. *RotateSize? : TRUE
  566. *PrintableArea: PAIR(3330, 1142)
  567. *PrintableOrigin: PAIR(45, 120)
  568. *switch: Resolution
  569. {
  570. *case: Option3
  571. {
  572. *% Warning: the following printable width is adjusted (3330->3328) so it is divisible by the resolution X scale.
  573. *PrintableArea: PAIR(3328, 1142)
  574. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  575. *PrintableOrigin: PAIR(46, 120)
  576. }
  577. }
  578. *Command: CmdSelect
  579. {
  580. *Order: DOC_SETUP.4
  581. *Cmd: "<1B>2<1B>C<19>"
  582. }
  583. }
  584. *Option: ENV_DL
  585. {
  586. *rcNameID: =ENV_DL_DISPLAY
  587. *RotateSize? : TRUE
  588. *PrintableArea: PAIR(3028, 1214)
  589. *PrintableOrigin: PAIR(45, 120)
  590. *switch: Resolution
  591. {
  592. *case: Option3
  593. {
  594. *% Warning: the following printable width is adjusted (3028->3026) so it is divisible by the resolution X scale.
  595. *PrintableArea: PAIR(3026, 1214)
  596. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  597. *PrintableOrigin: PAIR(46, 120)
  598. }
  599. *case: Option4
  600. {
  601. *% Warning: the following printable width is adjusted (3028->3027) so it is divisible by the resolution X scale.
  602. *PrintableArea: PAIR(3027, 1214)
  603. }
  604. }
  605. *Command: CmdSelect
  606. {
  607. *Order: DOC_SETUP.4
  608. *Cmd: "<1B>2<1B>C<1A>"
  609. }
  610. }
  611. *Option: ENV_C5
  612. {
  613. *rcNameID: =ENV_C5_DISPLAY
  614. *RotateSize? : TRUE
  615. *PrintableArea: PAIR(3157, 1952)
  616. *PrintableOrigin: PAIR(45, 120)
  617. *switch: Resolution
  618. {
  619. *case: Option3
  620. {
  621. *% Warning: the following printable width is adjusted (3157->3156) so it is divisible by the resolution X scale.
  622. *PrintableArea: PAIR(3156, 1952)
  623. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  624. *PrintableOrigin: PAIR(46, 120)
  625. }
  626. *case: Option4
  627. {
  628. *% Warning: the following printable width is adjusted (3157->3156) so it is divisible by the resolution X scale.
  629. *PrintableArea: PAIR(3156, 1952)
  630. }
  631. }
  632. *Command: CmdSelect
  633. {
  634. *Order: DOC_SETUP.4
  635. *Cmd: "<1B>2<1B>C&"
  636. }
  637. }
  638. *Option: ENV_C3
  639. {
  640. *rcNameID: =ENV_C3_DISPLAY
  641. *RotateSize? : TRUE
  642. *PrintableArea: PAIR(4896, 4249)
  643. *PrintableOrigin: PAIR(45, 120)
  644. *switch: Resolution
  645. {
  646. *case: Option1
  647. {
  648. *% Warning: the following printable length is adjusted (4249->4248) so it is divisible by the resolution Y scale.
  649. *PrintableArea: PAIR(4896, 4248)
  650. }
  651. *case: Option3
  652. {
  653. *% Warning: the following printable width is adjusted (4896->4894) so it is divisible by the resolution X scale.
  654. *% Warning: the following printable length is adjusted (4249->4248) so it is divisible by the resolution Y scale.
  655. *PrintableArea: PAIR(4894, 4248)
  656. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  657. *PrintableOrigin: PAIR(46, 120)
  658. }
  659. *case: Option4
  660. {
  661. *% Warning: the following printable length is adjusted (4249->4248) so it is divisible by the resolution Y scale.
  662. *PrintableArea: PAIR(4896, 4248)
  663. }
  664. }
  665. *Command: CmdSelect
  666. {
  667. *Order: DOC_SETUP.4
  668. *Cmd: "<1B>2<1B>CM"
  669. }
  670. }
  671. *Option: ENV_B5
  672. {
  673. *rcNameID: =ENV_B5_DISPLAY
  674. *RotateSize? : TRUE
  675. *PrintableArea: PAIR(3452, 2150)
  676. *PrintableOrigin: PAIR(45, 120)
  677. *switch: Resolution
  678. {
  679. *case: Option3
  680. {
  681. *% Warning: the following printable width is adjusted (3452->3450) so it is divisible by the resolution X scale.
  682. *PrintableArea: PAIR(3450, 2150)
  683. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  684. *PrintableOrigin: PAIR(46, 120)
  685. }
  686. *case: Option4
  687. {
  688. *% Warning: the following printable width is adjusted (3452->3450) so it is divisible by the resolution X scale.
  689. *PrintableArea: PAIR(3450, 2150)
  690. }
  691. }
  692. *Command: CmdSelect
  693. {
  694. *Order: DOC_SETUP.4
  695. *Cmd: "<1B>2<1B>C*"
  696. }
  697. }
  698. *Option: ENV_MONARCH
  699. {
  700. *rcNameID: =ENV_MONARCH_DISPLAY
  701. *RotateSize? : TRUE
  702. *PrintableArea: PAIR(2610, 1052)
  703. *PrintableOrigin: PAIR(45, 120)
  704. *switch: Resolution
  705. {
  706. *case: Option3
  707. {
  708. *% Warning: the following printable width is adjusted (2610->2608) so it is divisible by the resolution X scale.
  709. *PrintableArea: PAIR(2608, 1052)
  710. *% Warning: the following printable origin X is adjusted (45->46) so it is divisible by the resolution X scale.
  711. *PrintableOrigin: PAIR(46, 120)
  712. }
  713. }
  714. *Command: CmdSelect
  715. {
  716. *Order: DOC_SETUP.4
  717. *Cmd: "<1B>2<1B>C!"
  718. }
  719. }
  720. *Option: CUSTOMSIZE
  721. {
  722. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  723. *MinSize: PAIR(360, 180)
  724. *MaxSize: PAIR(5940, 7920)
  725. *MaxPrintableWidth: 4896
  726. *MinLeftMargin: 45
  727. *CenterPrintable?: FALSE
  728. *TopMargin: 120
  729. *BottomMargin: 225
  730. *Command: CmdSelect
  731. {
  732. *Order: DOC_SETUP.4
  733. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  734. }
  735. }
  736. }
  737. *Feature: PrintQuality
  738. {
  739. *rcNameID: =TEXT_QUALITY_DISPLAY
  740. *DefaultOption: LETTER_QUALITY
  741. *Option: LETTER_QUALITY
  742. {
  743. *rcNameID: =LETTER_QUALITY_DISPLAY
  744. *Command: CmdSelect
  745. {
  746. *Order: DOC_SETUP.2
  747. *Cmd: "<1B>x<01>"
  748. }
  749. }
  750. *Option: DRAFT_QUALITY
  751. {
  752. *rcNameID: =DRAFT_QUALITY_DISPLAY
  753. *Command: CmdSelect
  754. {
  755. *Order: DOC_SETUP.2
  756. *Cmd: "<1B>x<00>"
  757. }
  758. }
  759. }
  760. *Feature: Halftone
  761. {
  762. *rcNameID: =HALFTONING_DISPLAY
  763. *DefaultOption: HT_PATSIZE_AUTO
  764. *Option: HT_PATSIZE_AUTO
  765. {
  766. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  767. }
  768. *Option: HT_PATSIZE_SUPERCELL_M
  769. {
  770. *rcNameID: =HT_SUPERCELL_DISPLAY
  771. }
  772. *Option: HT_PATSIZE_6x6_M
  773. {
  774. *rcNameID: =HT_DITHER6X6_DISPLAY
  775. }
  776. *Option: HT_PATSIZE_8x8_M
  777. {
  778. *rcNameID: =HT_DITHER8X8_DISPLAY
  779. }
  780. }
  781. *Command: CmdStartDoc
  782. {
  783. *Order: DOC_SETUP.1
  784. *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<011C>."
  785. }
  786. *Command: CmdStartPage
  787. {
  788. *Order: PAGE_SETUP.1
  789. *Cmd: "<0D>"
  790. }
  791. *Command: CmdEndJob
  792. {
  793. *Order: JOB_FINISH.1
  794. *Cmd: "<1B>@"
  795. }
  796. *RotateCoordinate?: FALSE
  797. *RotateRaster?: FALSE
  798. *RotateFont?: FALSE
  799. *switch: Orientation
  800. {
  801. *case: PORTRAIT
  802. {
  803. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  804. }
  805. *case: LANDSCAPE_CC270
  806. {
  807. *TextCaps: LIST(TC_RA_ABLE)
  808. }
  809. }
  810. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  811. *YMoveAttributes: LIST(SEND_CR_FIRST)
  812. *MaxLineSpacing: 255
  813. *XMoveThreshold: 0
  814. *YMoveThreshold: *
  815. *XMoveUnit: 60
  816. *YMoveUnit: 180
  817. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  818. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  819. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  820. *Command: CmdCR { *Cmd : "<0D>" }
  821. *Command: CmdLF { *Cmd : "<0A>" }
  822. *Command: CmdFF { *Cmd : "<0C>" }
  823. *Command: CmdBackSpace { *Cmd : "<08>" }
  824. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  825. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  826. *EjectPageWithFF?: TRUE
  827. *OutputDataFormat: V_BYTE
  828. *OptimizeLeftBound?: FALSE
  829. *CursorXAfterSendBlockData: AT_GRXDATA_END
  830. *CursorYAfterSendBlockData: NO_MOVE
  831. *DefaultFont: 3
  832. *DefaultCTT: 2
  833. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  834. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  835. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  836. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  837. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  838. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }