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.

778 lines
27 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPMJ15KC.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON MJ-1500K"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "EPRSTRES.DLL"
  13. *PrinterType: SERIAL
  14. *OutputOrderReversed?: TRUE
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: AUTO
  32. *Option: AUTO
  33. {
  34. *rcNameID: =AUTO_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.3
  38. *Cmd: "<1B19>0"
  39. }
  40. }
  41. *Option: MANUAL
  42. {
  43. *rcNameID: =MANUAL_FEED_DISPLAY
  44. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.3
  48. *Cmd: "<1B19>0"
  49. }
  50. }
  51. }
  52. *Feature: Resolution
  53. {
  54. *rcNameID: =RESOLUTION_DISPLAY
  55. *DefaultOption: Option1
  56. *Option: Option1
  57. {
  58. *Name: "360 x 360 dots per inch"
  59. *DPI: PAIR(360, 360)
  60. *TextDPI: PAIR(360, 360)
  61. *PinsPerLogPass: 24
  62. *MinStripBlankPixels: 1
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *SpotDiameter: 170
  65. *Command: CmdSendBlockData { *Cmd : "<1B>.<010A0A18>" %l{(RasterDataWidthInBytes * 8) } }
  66. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  67. }
  68. *Option: Option2
  69. {
  70. *Name: "360 x 180 dots per inch"
  71. *DPI: PAIR(360, 180)
  72. *TextDPI: PAIR(360, 180)
  73. *PinsPerLogPass: 24
  74. *MinStripBlankPixels: 1
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *SpotDiameter: 140
  77. *Command: CmdSendBlockData { *Cmd : "<1B>.<01140A18>" %l{(RasterDataWidthInBytes * 8) } }
  78. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  79. }
  80. *Option: Option3
  81. {
  82. *Name: "180 x 180 dots per inch"
  83. *DPI: PAIR(180, 180)
  84. *TextDPI: PAIR(180, 180)
  85. *PinsPerLogPass: 24
  86. *MinStripBlankPixels: 1
  87. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  88. *SpotDiameter: 120
  89. *Command: CmdSendBlockData { *Cmd : "<1B>.<01141418>" %l{(RasterDataWidthInBytes * 8) } }
  90. *Command: CmdEndBlockData { *Cmd : "<0D>" }
  91. }
  92. }
  93. *Feature: PaperSize
  94. {
  95. *rcNameID: =PAPER_SIZE_DISPLAY
  96. *DefaultOption: LETTER
  97. *Option: LETTER
  98. {
  99. *rcNameID: =LETTER_DISPLAY
  100. *PrintableArea: PAIR(6030, 7230)
  101. *PrintableOrigin: PAIR(90, 240)
  102. *switch: Resolution
  103. {
  104. *case: Option2
  105. {
  106. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  107. *PrintableArea: PAIR(6030, 7228)
  108. }
  109. *case: Option3
  110. {
  111. *% Warning: the following printable width is adjusted (6030->6028) so it is divisible by the resolution X scale.
  112. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  113. *PrintableArea: PAIR(6028, 7228)
  114. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  115. *PrintableOrigin: PAIR(92, 240)
  116. }
  117. }
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.4
  121. *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
  122. }
  123. }
  124. *Option: Option2
  125. {
  126. *rcNameID: 107
  127. *PageDimensions: PAIR(7920, 6120)
  128. *PrintableArea: PAIR(7830, 5430)
  129. *PrintableOrigin: PAIR(90, 240)
  130. *switch: Resolution
  131. {
  132. *case: Option2
  133. {
  134. *% Warning: the following printable length is adjusted (5430->5428) so it is divisible by the resolution Y scale.
  135. *PrintableArea: PAIR(7830, 5428)
  136. }
  137. *case: Option3
  138. {
  139. *% Warning: the following printable width is adjusted (7830->7828) so it is divisible by the resolution X scale.
  140. *% Warning: the following printable length is adjusted (5430->5428) so it is divisible by the resolution Y scale.
  141. *PrintableArea: PAIR(7828, 5428)
  142. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  143. *PrintableOrigin: PAIR(92, 240)
  144. }
  145. }
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: "<1B>(C<0200F40B1B>(c<04000000F40B>"
  150. }
  151. }
  152. *Option: LEGAL
  153. {
  154. *rcNameID: =LEGAL_DISPLAY
  155. *PrintableArea: PAIR(6030, 9390)
  156. *PrintableOrigin: PAIR(90, 240)
  157. *switch: Resolution
  158. {
  159. *case: Option2
  160. {
  161. *% Warning: the following printable length is adjusted (9390->9388) so it is divisible by the resolution Y scale.
  162. *PrintableArea: PAIR(6030, 9388)
  163. }
  164. *case: Option3
  165. {
  166. *% Warning: the following printable width is adjusted (6030->6028) so it is divisible by the resolution X scale.
  167. *% Warning: the following printable length is adjusted (9390->9388) so it is divisible by the resolution Y scale.
  168. *PrintableArea: PAIR(6028, 9388)
  169. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  170. *PrintableOrigin: PAIR(92, 240)
  171. }
  172. }
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.4
  176. *Cmd: "<1B>(C<0200B0131B>(c<04000000B013>"
  177. }
  178. }
  179. *Option: LEDGER
  180. {
  181. *rcNameID: =LEDGER_DISPLAY
  182. *PrintableArea: PAIR(9792, 7230)
  183. *PrintableOrigin: PAIR(90, 240)
  184. *switch: Resolution
  185. {
  186. *case: Option2
  187. {
  188. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  189. *PrintableArea: PAIR(9792, 7228)
  190. }
  191. *case: Option3
  192. {
  193. *% Warning: the following printable width is adjusted (9792->9788) so it is divisible by the resolution X scale.
  194. *% Warning: the following printable length is adjusted (7230->7228) so it is divisible by the resolution Y scale.
  195. *PrintableArea: PAIR(9788, 7228)
  196. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  197. *PrintableOrigin: PAIR(92, 240)
  198. }
  199. }
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.4
  203. *Cmd: "<1B>(C<0200>x<0F1B>(c<04000000>x<0F>"
  204. }
  205. }
  206. *Option: TABLOID
  207. {
  208. *rcNameID: =TABLOID_DISPLAY
  209. *PrintableArea: PAIR(7830, 11550)
  210. *PrintableOrigin: PAIR(90, 240)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *% Warning: the following printable length is adjusted (11550->11548) so it is divisible by the resolution Y scale.
  216. *PrintableArea: PAIR(7830, 11548)
  217. }
  218. *case: Option3
  219. {
  220. *% Warning: the following printable width is adjusted (7830->7828) so it is divisible by the resolution X scale.
  221. *% Warning: the following printable length is adjusted (11550->11548) so it is divisible by the resolution Y scale.
  222. *PrintableArea: PAIR(7828, 11548)
  223. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  224. *PrintableOrigin: PAIR(92, 240)
  225. }
  226. }
  227. *Command: CmdSelect
  228. {
  229. *Order: DOC_SETUP.4
  230. *Cmd: "<1B>(C<0200E8171B>(c<04000000E817>"
  231. }
  232. }
  233. *Option: EXECUTIVE
  234. {
  235. *rcNameID: =EXECUTIVE_DISPLAY
  236. *PrintableArea: PAIR(5130, 6870)
  237. *PrintableOrigin: PAIR(90, 240)
  238. *switch: Resolution
  239. {
  240. *case: Option2
  241. {
  242. *% Warning: the following printable length is adjusted (6870->6868) so it is divisible by the resolution Y scale.
  243. *PrintableArea: PAIR(5130, 6868)
  244. }
  245. *case: Option3
  246. {
  247. *% Warning: the following printable width is adjusted (5130->5128) so it is divisible by the resolution X scale.
  248. *% Warning: the following printable length is adjusted (6870->6868) so it is divisible by the resolution Y scale.
  249. *PrintableArea: PAIR(5128, 6868)
  250. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  251. *PrintableOrigin: PAIR(92, 240)
  252. }
  253. }
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.4
  257. *Cmd: "<1B>(C<0200C40E1B>(c<04000000C40E>"
  258. }
  259. }
  260. *Option: FOLIO
  261. {
  262. *rcNameID: =FOLIO_DISPLAY
  263. *PrintableArea: PAIR(6030, 8670)
  264. *PrintableOrigin: PAIR(90, 240)
  265. *switch: Resolution
  266. {
  267. *case: Option2
  268. {
  269. *% Warning: the following printable length is adjusted (8670->8668) so it is divisible by the resolution Y scale.
  270. *PrintableArea: PAIR(6030, 8668)
  271. }
  272. *case: Option3
  273. {
  274. *% Warning: the following printable width is adjusted (6030->6028) so it is divisible by the resolution X scale.
  275. *% Warning: the following printable length is adjusted (8670->8668) so it is divisible by the resolution Y scale.
  276. *PrintableArea: PAIR(6028, 8668)
  277. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  278. *PrintableOrigin: PAIR(92, 240)
  279. }
  280. }
  281. *Command: CmdSelect
  282. {
  283. *Order: DOC_SETUP.4
  284. *Cmd: "<1B>(C<0200>H<121B>(c<04000000>H<12>"
  285. }
  286. }
  287. *Option: Option8
  288. {
  289. *rcNameID: 301
  290. *PageDimensions: PAIR(11908, 16832)
  291. *PrintableArea: PAIR(9792, 16142)
  292. *PrintableOrigin: PAIR(90, 240)
  293. *switch: Resolution
  294. {
  295. *case: Option2
  296. {
  297. *% Warning: the following printable length is adjusted (16142->16140) so it is divisible by the resolution Y scale.
  298. *PrintableArea: PAIR(9792, 16140)
  299. }
  300. *case: Option3
  301. {
  302. *% Warning: the following printable width is adjusted (9792->9788) so it is divisible by the resolution X scale.
  303. *% Warning: the following printable length is adjusted (16142->16140) so it is divisible by the resolution Y scale.
  304. *PrintableArea: PAIR(9788, 16140)
  305. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  306. *PrintableOrigin: PAIR(92, 240)
  307. }
  308. }
  309. *Command: CmdSelect
  310. {
  311. *Order: DOC_SETUP.4
  312. *Cmd: "<1B>(C<0200E3> <1B>(c<04000000E3> "
  313. }
  314. }
  315. *Option: A3
  316. {
  317. *rcNameID: =A3_DISPLAY
  318. *PrintableArea: PAIR(8327, 11219)
  319. *PrintableOrigin: PAIR(90, 240)
  320. *switch: Resolution
  321. {
  322. *case: Option1
  323. {
  324. *% Warning: the following printable width is adjusted (8327->8326) so it is divisible by the resolution X scale.
  325. *% Warning: the following printable length is adjusted (11219->11218) so it is divisible by the resolution Y scale.
  326. *PrintableArea: PAIR(8326, 11218)
  327. }
  328. *case: Option2
  329. {
  330. *% Warning: the following printable width is adjusted (8327->8326) so it is divisible by the resolution X scale.
  331. *% Warning: the following printable length is adjusted (11219->11216) so it is divisible by the resolution Y scale.
  332. *PrintableArea: PAIR(8326, 11216)
  333. }
  334. *case: Option3
  335. {
  336. *% Warning: the following printable width is adjusted (8327->8324) so it is divisible by the resolution X scale.
  337. *% Warning: the following printable length is adjusted (11219->11216) so it is divisible by the resolution Y scale.
  338. *PrintableArea: PAIR(8324, 11216)
  339. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  340. *PrintableOrigin: PAIR(92, 240)
  341. }
  342. }
  343. *Command: CmdSelect
  344. {
  345. *Order: DOC_SETUP.4
  346. *Cmd: "<1B>(C<0200>H<171B>(c<04000000>H<17>"
  347. }
  348. }
  349. *Option: Option10
  350. {
  351. *rcNameID: 107
  352. *PageDimensions: PAIR(11908, 8416)
  353. *PrintableArea: PAIR(9792, 7726)
  354. *PrintableOrigin: PAIR(90, 240)
  355. *switch: Resolution
  356. {
  357. *case: Option2
  358. {
  359. *% Warning: the following printable length is adjusted (7726->7724) so it is divisible by the resolution Y scale.
  360. *PrintableArea: PAIR(9792, 7724)
  361. }
  362. *case: Option3
  363. {
  364. *% Warning: the following printable width is adjusted (9792->9788) so it is divisible by the resolution X scale.
  365. *% Warning: the following printable length is adjusted (7726->7724) so it is divisible by the resolution Y scale.
  366. *PrintableArea: PAIR(9788, 7724)
  367. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  368. *PrintableOrigin: PAIR(92, 240)
  369. }
  370. }
  371. *Command: CmdSelect
  372. {
  373. *Order: DOC_SETUP.4
  374. *Cmd: "<1B>(C<0200>f<101B>(c<04000000>f<10>"
  375. }
  376. }
  377. *Option: A4
  378. {
  379. *rcNameID: =A4_DISPLAY
  380. *PrintableArea: PAIR(5864, 7727)
  381. *PrintableOrigin: PAIR(90, 240)
  382. *switch: Resolution
  383. {
  384. *case: Option1
  385. {
  386. *% Warning: the following printable length is adjusted (7727->7726) so it is divisible by the resolution Y scale.
  387. *PrintableArea: PAIR(5864, 7726)
  388. }
  389. *case: Option2
  390. {
  391. *% Warning: the following printable length is adjusted (7727->7724) so it is divisible by the resolution Y scale.
  392. *PrintableArea: PAIR(5864, 7724)
  393. }
  394. *case: Option3
  395. {
  396. *% Warning: the following printable width is adjusted (5864->5860) so it is divisible by the resolution X scale.
  397. *% Warning: the following printable length is adjusted (7727->7724) so it is divisible by the resolution Y scale.
  398. *PrintableArea: PAIR(5860, 7724)
  399. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  400. *PrintableOrigin: PAIR(92, 240)
  401. }
  402. }
  403. *Command: CmdSelect
  404. {
  405. *Order: DOC_SETUP.4
  406. *Cmd: "<1B>(C<0200>f<101B>(c<04000000>f<10>"
  407. }
  408. }
  409. *Option: Option12
  410. {
  411. *rcNameID: 107
  412. *PageDimensions: PAIR(8416, 5954)
  413. *PrintableArea: PAIR(8326, 5264)
  414. *PrintableOrigin: PAIR(90, 240)
  415. *switch: Resolution
  416. {
  417. *case: Option3
  418. {
  419. *% Warning: the following printable width is adjusted (8326->8324) so it is divisible by the resolution X scale.
  420. *PrintableArea: PAIR(8324, 5264)
  421. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  422. *PrintableOrigin: PAIR(92, 240)
  423. }
  424. }
  425. *Command: CmdSelect
  426. {
  427. *Order: DOC_SETUP.4
  428. *Cmd: "<1B>(C<0200A10B1B>(c<04000000A10B>"
  429. }
  430. }
  431. *Option: A5
  432. {
  433. *rcNameID: =A5_DISPLAY
  434. *PrintableArea: PAIR(4108, 5264)
  435. *PrintableOrigin: PAIR(90, 240)
  436. *switch: Resolution
  437. {
  438. *case: Option3
  439. {
  440. *% Warning: the following printable width is adjusted (4108->4104) so it is divisible by the resolution X scale.
  441. *PrintableArea: PAIR(4104, 5264)
  442. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  443. *PrintableOrigin: PAIR(92, 240)
  444. }
  445. }
  446. *Command: CmdSelect
  447. {
  448. *Order: DOC_SETUP.4
  449. *Cmd: "<1B>(C<0200A10B1B>(c<04000000A10B>"
  450. }
  451. }
  452. *Option: B4
  453. {
  454. *rcNameID: =B4_DISPLAY
  455. *PrintableArea: PAIR(7196, 9628)
  456. *PrintableOrigin: PAIR(90, 240)
  457. *switch: Resolution
  458. {
  459. *case: Option3
  460. {
  461. *% Warning: the following printable width is adjusted (7196->7192) so it is divisible by the resolution X scale.
  462. *PrintableArea: PAIR(7192, 9628)
  463. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  464. *PrintableOrigin: PAIR(92, 240)
  465. }
  466. }
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.4
  470. *Cmd: "<1B>(C<02009A131B>(c<040000009A13>"
  471. }
  472. }
  473. *Option: B5
  474. {
  475. *rcNameID: =B5_DISPLAY
  476. *PrintableArea: PAIR(5072, 6596)
  477. *PrintableOrigin: PAIR(90, 240)
  478. *switch: Resolution
  479. {
  480. *case: Option3
  481. {
  482. *% Warning: the following printable width is adjusted (5072->5068) so it is divisible by the resolution X scale.
  483. *PrintableArea: PAIR(5068, 6596)
  484. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  485. *PrintableOrigin: PAIR(92, 240)
  486. }
  487. }
  488. *Command: CmdSelect
  489. {
  490. *Order: DOC_SETUP.4
  491. *Cmd: "<1B>(C<0200>K<0E1B>(c<04000000>K<0E>"
  492. }
  493. }
  494. *Option: ENV_9
  495. {
  496. *rcNameID: =ENV_9_DISPLAY
  497. *RotateSize? : TRUE
  498. *PrintableArea: PAIR(6304, 2104)
  499. *PrintableOrigin: PAIR(90, 240)
  500. *switch: Resolution
  501. {
  502. *case: Option3
  503. {
  504. *% Warning: the following printable width is adjusted (6304->6300) so it is divisible by the resolution X scale.
  505. *PrintableArea: PAIR(6300, 2104)
  506. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  507. *PrintableOrigin: PAIR(92, 240)
  508. }
  509. }
  510. *Command: CmdSelect
  511. {
  512. *Order: DOC_SETUP.4
  513. *Cmd: "<1B>(C<0200>s<051B>(c<04000000>s<05>"
  514. }
  515. }
  516. *Option: ENV_10
  517. {
  518. *rcNameID: =ENV_10_DISPLAY
  519. *RotateSize? : TRUE
  520. *PrintableArea: PAIR(6750, 2284)
  521. *PrintableOrigin: PAIR(90, 240)
  522. *switch: Resolution
  523. {
  524. *case: Option3
  525. {
  526. *% Warning: the following printable width is adjusted (6750->6748) so it is divisible by the resolution X scale.
  527. *PrintableArea: PAIR(6748, 2284)
  528. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  529. *PrintableOrigin: PAIR(92, 240)
  530. }
  531. }
  532. *Command: CmdSelect
  533. {
  534. *Order: DOC_SETUP.4
  535. *Cmd: "<1B>(C<0200CF051B>(c<04000000CF05>"
  536. }
  537. }
  538. *Option: ENV_DL
  539. {
  540. *rcNameID: =ENV_DL_DISPLAY
  541. *RotateSize? : TRUE
  542. *PrintableArea: PAIR(6145, 2428)
  543. *PrintableOrigin: PAIR(90, 240)
  544. *switch: Resolution
  545. {
  546. *case: Option1
  547. {
  548. *% Warning: the following printable width is adjusted (6145->6144) so it is divisible by the resolution X scale.
  549. *PrintableArea: PAIR(6144, 2428)
  550. }
  551. *case: Option2
  552. {
  553. *% Warning: the following printable width is adjusted (6145->6144) so it is divisible by the resolution X scale.
  554. *PrintableArea: PAIR(6144, 2428)
  555. }
  556. *case: Option3
  557. {
  558. *% Warning: the following printable width is adjusted (6145->6140) so it is divisible by the resolution X scale.
  559. *PrintableArea: PAIR(6140, 2428)
  560. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  561. *PrintableOrigin: PAIR(92, 240)
  562. }
  563. }
  564. *Command: CmdSelect
  565. {
  566. *Order: DOC_SETUP.4
  567. *Cmd: "<1B>(C<020017061B>(c<040000001706>"
  568. }
  569. }
  570. *Option: ENV_C5
  571. {
  572. *rcNameID: =ENV_C5_DISPLAY
  573. *RotateSize? : TRUE
  574. *PrintableArea: PAIR(6404, 3904)
  575. *PrintableOrigin: PAIR(90, 240)
  576. *switch: Resolution
  577. {
  578. *case: Option3
  579. {
  580. *% Warning: the following printable width is adjusted (6404->6400) so it is divisible by the resolution X scale.
  581. *PrintableArea: PAIR(6400, 3904)
  582. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  583. *PrintableOrigin: PAIR(92, 240)
  584. }
  585. }
  586. *Command: CmdSelect
  587. {
  588. *Order: DOC_SETUP.4
  589. *Cmd: "<1B>(C<0200F9081B>(c<04000000F908>"
  590. }
  591. }
  592. *Option: ENV_C3
  593. {
  594. *rcNameID: =ENV_C3_DISPLAY
  595. *RotateSize? : TRUE
  596. *PrintableArea: PAIR(9792, 8497)
  597. *PrintableOrigin: PAIR(90, 240)
  598. *switch: Resolution
  599. {
  600. *case: Option1
  601. {
  602. *% Warning: the following printable length is adjusted (8497->8496) so it is divisible by the resolution Y scale.
  603. *PrintableArea: PAIR(9792, 8496)
  604. }
  605. *case: Option2
  606. {
  607. *% Warning: the following printable length is adjusted (8497->8496) so it is divisible by the resolution Y scale.
  608. *PrintableArea: PAIR(9792, 8496)
  609. }
  610. *case: Option3
  611. {
  612. *% Warning: the following printable width is adjusted (9792->9788) so it is divisible by the resolution X scale.
  613. *% Warning: the following printable length is adjusted (8497->8496) so it is divisible by the resolution Y scale.
  614. *PrintableArea: PAIR(9788, 8496)
  615. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  616. *PrintableOrigin: PAIR(92, 240)
  617. }
  618. }
  619. *Command: CmdSelect
  620. {
  621. *Order: DOC_SETUP.4
  622. *Cmd: "<1B>(C<020000121B>(c<040000000012>"
  623. }
  624. }
  625. *Option: ENV_B5
  626. {
  627. *rcNameID: =ENV_B5_DISPLAY
  628. *RotateSize? : TRUE
  629. *PrintableArea: PAIR(6995, 4300)
  630. *PrintableOrigin: PAIR(90, 240)
  631. *switch: Resolution
  632. {
  633. *case: Option1
  634. {
  635. *% Warning: the following printable width is adjusted (6995->6994) so it is divisible by the resolution X scale.
  636. *PrintableArea: PAIR(6994, 4300)
  637. }
  638. *case: Option2
  639. {
  640. *% Warning: the following printable width is adjusted (6995->6994) so it is divisible by the resolution X scale.
  641. *PrintableArea: PAIR(6994, 4300)
  642. }
  643. *case: Option3
  644. {
  645. *% Warning: the following printable width is adjusted (6995->6992) so it is divisible by the resolution X scale.
  646. *PrintableArea: PAIR(6992, 4300)
  647. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  648. *PrintableOrigin: PAIR(92, 240)
  649. }
  650. }
  651. *Command: CmdSelect
  652. {
  653. *Order: DOC_SETUP.4
  654. *Cmd: "<1B>(C<0200BE091B>(c<04000000BE09>"
  655. }
  656. }
  657. *Option: ENV_MONARCH
  658. {
  659. *rcNameID: =ENV_MONARCH_DISPLAY
  660. *RotateSize? : TRUE
  661. *PrintableArea: PAIR(5310, 2104)
  662. *PrintableOrigin: PAIR(90, 240)
  663. *switch: Resolution
  664. {
  665. *case: Option3
  666. {
  667. *% Warning: the following printable width is adjusted (5310->5308) so it is divisible by the resolution X scale.
  668. *PrintableArea: PAIR(5308, 2104)
  669. *% Warning: the following printable origin X is adjusted (90->92) so it is divisible by the resolution X scale.
  670. *PrintableOrigin: PAIR(92, 240)
  671. }
  672. }
  673. *Command: CmdSelect
  674. {
  675. *Order: DOC_SETUP.4
  676. *Cmd: "<1B>(C<02008C0A1B>(c<040000008C0A>"
  677. }
  678. }
  679. *Option: CUSTOMSIZE
  680. {
  681. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  682. *MinSize: PAIR(720, 720)
  683. *MaxSize: PAIR(11880, 15840)
  684. *MaxPrintableWidth: 9792
  685. *MinLeftMargin: 90
  686. *CenterPrintable?: FALSE
  687. *TopMargin: 240
  688. *BottomMargin: 450
  689. *Command: CmdSelect
  690. {
  691. *Order: DOC_SETUP.4
  692. *Cmd: "<1B>(C<0200>" %l{(PhysPaperLength / 2) }
  693. }
  694. }
  695. }
  696. *Feature: PrintQuality
  697. {
  698. *rcNameID: =TEXT_QUALITY_DISPLAY
  699. *DefaultOption: Option1
  700. *Option: Option1
  701. {
  702. *rcNameID: 294
  703. }
  704. *Option: Option2
  705. {
  706. *rcNameID: 295
  707. *Command: CmdSelect
  708. {
  709. *Order: DOC_SETUP.2
  710. *Cmd: "<1B>U<00>"
  711. }
  712. }
  713. *Option: Option3
  714. {
  715. *rcNameID: 296
  716. *Command: CmdSelect
  717. {
  718. *Order: DOC_SETUP.2
  719. *Cmd: "<1B>U<01>"
  720. }
  721. }
  722. }
  723. *Feature: Halftone
  724. {
  725. *rcNameID: =HALFTONING_DISPLAY
  726. *DefaultOption: HT_PATSIZE_AUTO
  727. *Option: HT_PATSIZE_AUTO
  728. {
  729. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  730. }
  731. *Option: HT_PATSIZE_SUPERCELL_M
  732. {
  733. *rcNameID: =HT_SUPERCELL_DISPLAY
  734. }
  735. *Option: HT_PATSIZE_6x6_M
  736. {
  737. *rcNameID: =HT_DITHER6X6_DISPLAY
  738. }
  739. *Option: HT_PATSIZE_8x8_M
  740. {
  741. *rcNameID: =HT_DITHER8X8_DISPLAY
  742. }
  743. }
  744. *Command: CmdStartDoc
  745. {
  746. *Order: DOC_SETUP.1
  747. *Cmd: "<1B>@<1B>(G<0100011B>(U<01000A1B>r<00>"
  748. }
  749. *Command: CmdEndJob
  750. {
  751. *Order: JOB_FINISH.1
  752. *Cmd: "<1B>@"
  753. }
  754. *RotateCoordinate?: FALSE
  755. *RotateRaster?: FALSE
  756. *RotateFont?: FALSE
  757. *TextCaps: LIST(TC_RA_ABLE)
  758. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  759. *YMoveAttributes: LIST(FAVOR_LF)
  760. *MaxLineSpacing: 255
  761. *XMoveThreshold: 0
  762. *YMoveThreshold: 0
  763. *XMoveUnit: 360
  764. *YMoveUnit: 360
  765. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 2) } }
  766. *Command: CmdYMoveAbsolute { *Cmd : "<1B>(V<0200>" %l{(DestY / 2) } }
  767. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
  768. *Command: CmdCR { *Cmd : "<0D>" }
  769. *Command: CmdLF { *Cmd : "<0A>" }
  770. *Command: CmdFF { *Cmd : "<0C>" }
  771. *EjectPageWithFF?: TRUE
  772. *Command: CmdEnableTIFF4 { *Cmd : "<0000>" }
  773. *Command: CmdDisableCompression { *Cmd : "<0000>" }
  774. *OutputDataFormat: H_BYTE
  775. *OptimizeLeftBound?: FALSE
  776. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  777. *CursorYAfterSendBlockData: NO_MOVE
  778. *DefaultCTT: 0