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.

878 lines
36 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "EPAP40VJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "EPSON AP-400V2"
  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: Option1
  32. *Option: Option1
  33. {
  34. *rcNameID: 287
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.7
  38. *Cmd: "<1B>(R<080000>REMOTE1TP<0500000201>x<001B0000001B>O"
  39. }
  40. }
  41. *Option: Option2
  42. {
  43. *rcNameID: 289
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.7
  47. *Cmd: "<1B>(R<080000>REMOTE1TP<0500000101>x<001B0000001B19>1"
  48. }
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option1
  55. *Option: Option1
  56. {
  57. *Name: "360 x 360 dots per inch"
  58. *DPI: PAIR(360, 360)
  59. *TextDPI: PAIR(360, 360)
  60. *PinsPerLogPass: 48
  61. *PinsPerPhysPass: 48
  62. *MinStripBlankPixels: 720
  63. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  64. *SpotDiameter: 100
  65. *Command: CmdSendBlockData { *Cmd : "<1B>*I" %l{(NumOfDataBytes / 6) } }
  66. }
  67. *Option: Option2
  68. {
  69. *Name: "180 x 180 dots per inch"
  70. *DPI: PAIR(180, 180)
  71. *TextDPI: PAIR(180, 180)
  72. *PinsPerLogPass: 24
  73. *PinsPerPhysPass: 24
  74. *MinStripBlankPixels: 360
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *SpotDiameter: 140
  77. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{(NumOfDataBytes / 3) } }
  78. }
  79. }
  80. *Feature: PaperSize
  81. {
  82. *rcNameID: =PAPER_SIZE_DISPLAY
  83. *DefaultOption: A4
  84. *Option: A4
  85. {
  86. *rcNameID: =A4_DISPLAY
  87. *Command: CmdSelect
  88. {
  89. *Order: DOC_SETUP.8
  90. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000910F>"
  91. }
  92. *switch: InputBin
  93. {
  94. *case: Option1
  95. {
  96. *PrintableArea: PAIR(5760, 7795)
  97. *PrintableOrigin: PAIR(86, 142)
  98. *switch: Resolution
  99. {
  100. *case: Option1
  101. {
  102. *% Warning: the following printable length is adjusted (7795->7794) so it is divisible by the resolution Y scale.
  103. *PrintableArea: PAIR(5760, 7794)
  104. }
  105. *case: Option2
  106. {
  107. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  108. *% Warning: the following printable length is adjusted (7795->7792) so it is divisible by the resolution Y scale.
  109. *PrintableArea: PAIR(5756, 7792)
  110. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  111. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  112. *PrintableOrigin: PAIR(88, 144)
  113. }
  114. }
  115. }
  116. *case: Option2
  117. {
  118. *PrintableArea: PAIR(5760, 7695)
  119. *PrintableOrigin: PAIR(86, 242)
  120. *switch: Resolution
  121. {
  122. *case: Option1
  123. {
  124. *% Warning: the following printable length is adjusted (7695->7694) so it is divisible by the resolution Y scale.
  125. *PrintableArea: PAIR(5760, 7694)
  126. }
  127. *case: Option2
  128. {
  129. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  130. *% Warning: the following printable length is adjusted (7695->7692) so it is divisible by the resolution Y scale.
  131. *PrintableArea: PAIR(5756, 7692)
  132. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  133. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  134. *PrintableOrigin: PAIR(88, 244)
  135. }
  136. }
  137. }
  138. }
  139. }
  140. *Option: A5
  141. {
  142. *rcNameID: =A5_DISPLAY
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.8
  146. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000B10A>"
  147. }
  148. *switch: InputBin
  149. {
  150. *case: Option1
  151. {
  152. *PrintableArea: PAIR(4026, 5332)
  153. *PrintableOrigin: PAIR(86, 142)
  154. *switch: Resolution
  155. {
  156. *case: Option2
  157. {
  158. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  159. *% Warning: the following printable length is adjusted (5332->5328) so it is divisible by the resolution Y scale.
  160. *PrintableArea: PAIR(4024, 5328)
  161. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  162. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  163. *PrintableOrigin: PAIR(88, 144)
  164. }
  165. }
  166. }
  167. *case: Option2
  168. {
  169. *PrintableArea: PAIR(4026, 5232)
  170. *PrintableOrigin: PAIR(86, 242)
  171. *switch: Resolution
  172. {
  173. *case: Option2
  174. {
  175. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  176. *% Warning: the following printable length is adjusted (5232->5228) so it is divisible by the resolution Y scale.
  177. *PrintableArea: PAIR(4024, 5228)
  178. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  179. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  180. *PrintableOrigin: PAIR(88, 244)
  181. }
  182. }
  183. }
  184. }
  185. }
  186. *Option: A5_ROTATED
  187. {
  188. *rcNameID: =A5_ROTATED_DISPLAY
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.8
  192. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000>Q<07>"
  193. }
  194. *switch: InputBin
  195. {
  196. *case: Option1
  197. {
  198. *PrintableArea: PAIR(5760, 3576)
  199. *PrintableOrigin: PAIR(86, 142)
  200. *switch: Resolution
  201. {
  202. *case: Option2
  203. {
  204. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  205. *% Warning: the following printable length is adjusted (3576->3572) so it is divisible by the resolution Y scale.
  206. *PrintableArea: PAIR(5756, 3572)
  207. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  208. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  209. *PrintableOrigin: PAIR(88, 144)
  210. }
  211. }
  212. }
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(5760, 3476)
  216. *PrintableOrigin: PAIR(86, 242)
  217. *switch: Resolution
  218. {
  219. *case: Option2
  220. {
  221. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  222. *% Warning: the following printable length is adjusted (3476->3472) so it is divisible by the resolution Y scale.
  223. *PrintableArea: PAIR(5756, 3472)
  224. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  225. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  226. *PrintableOrigin: PAIR(88, 244)
  227. }
  228. }
  229. }
  230. }
  231. }
  232. *Option: B4
  233. {
  234. *rcNameID: =B4_DISPLAY
  235. *Command: CmdSelect
  236. {
  237. *Order: DOC_SETUP.8
  238. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000D912>"
  239. }
  240. *switch: InputBin
  241. {
  242. *case: Option1
  243. {
  244. *PrintableArea: PAIR(5760, 9696)
  245. *PrintableOrigin: PAIR(227, 142)
  246. *switch: Resolution
  247. {
  248. *case: Option1
  249. {
  250. *% Warning: the following printable width is adjusted (5760->5758) so it is divisible by the resolution X scale.
  251. *PrintableArea: PAIR(5758, 9696)
  252. *% Warning: the following printable origin X is adjusted (227->228) so it is divisible by the resolution X scale.
  253. *PrintableOrigin: PAIR(228, 142)
  254. }
  255. *case: Option2
  256. {
  257. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  258. *% Warning: the following printable length is adjusted (9696->9692) so it is divisible by the resolution Y scale.
  259. *PrintableArea: PAIR(5756, 9692)
  260. *% Warning: the following printable origin X is adjusted (227->228) so it is divisible by the resolution X scale.
  261. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  262. *PrintableOrigin: PAIR(228, 144)
  263. }
  264. }
  265. }
  266. *case: Option2
  267. {
  268. *PrintableArea: PAIR(5760, 9596)
  269. *PrintableOrigin: PAIR(227, 242)
  270. *switch: Resolution
  271. {
  272. *case: Option1
  273. {
  274. *% Warning: the following printable width is adjusted (5760->5758) so it is divisible by the resolution X scale.
  275. *PrintableArea: PAIR(5758, 9596)
  276. *% Warning: the following printable origin X is adjusted (227->228) so it is divisible by the resolution X scale.
  277. *PrintableOrigin: PAIR(228, 242)
  278. }
  279. *case: Option2
  280. {
  281. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  282. *% Warning: the following printable length is adjusted (9596->9592) so it is divisible by the resolution Y scale.
  283. *PrintableArea: PAIR(5756, 9592)
  284. *% Warning: the following printable origin X is adjusted (227->228) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  286. *PrintableOrigin: PAIR(228, 244)
  287. }
  288. }
  289. }
  290. }
  291. }
  292. *Option: B4_JIS_ROTATED
  293. {
  294. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.8
  298. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000F10C>"
  299. }
  300. *switch: InputBin
  301. {
  302. *case: Option1
  303. {
  304. *PrintableArea: PAIR(5760, 6806)
  305. *PrintableOrigin: PAIR(86, 0)
  306. *switch: Resolution
  307. {
  308. *case: Option2
  309. {
  310. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  311. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  312. *PrintableArea: PAIR(5756, 6804)
  313. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  314. *PrintableOrigin: PAIR(88, 0)
  315. }
  316. }
  317. }
  318. *case: Option2
  319. {
  320. *PrintableArea: PAIR(5760, 6564)
  321. *PrintableOrigin: PAIR(86, 242)
  322. *switch: Resolution
  323. {
  324. *case: Option2
  325. {
  326. *% Warning: the following printable width is adjusted (5760->5756) so it is divisible by the resolution X scale.
  327. *% Warning: the following printable length is adjusted (6564->6560) so it is divisible by the resolution Y scale.
  328. *PrintableArea: PAIR(5756, 6560)
  329. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  330. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  331. *PrintableOrigin: PAIR(88, 244)
  332. }
  333. }
  334. }
  335. }
  336. }
  337. *Option: B5
  338. {
  339. *rcNameID: =B5_DISPLAY
  340. *Command: CmdSelect
  341. {
  342. *Order: DOC_SETUP.8
  343. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000>Q<0D>"
  344. }
  345. *switch: InputBin
  346. {
  347. *case: Option1
  348. {
  349. *PrintableArea: PAIR(4990, 6664)
  350. *PrintableOrigin: PAIR(86, 142)
  351. *switch: Resolution
  352. {
  353. *case: Option2
  354. {
  355. *% Warning: the following printable width is adjusted (4990->4988) so it is divisible by the resolution X scale.
  356. *% Warning: the following printable length is adjusted (6664->6660) so it is divisible by the resolution Y scale.
  357. *PrintableArea: PAIR(4988, 6660)
  358. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  359. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  360. *PrintableOrigin: PAIR(88, 144)
  361. }
  362. }
  363. }
  364. *case: Option2
  365. {
  366. *PrintableArea: PAIR(4990, 6564)
  367. *PrintableOrigin: PAIR(86, 242)
  368. *switch: Resolution
  369. {
  370. *case: Option2
  371. {
  372. *% Warning: the following printable width is adjusted (4990->4988) so it is divisible by the resolution X scale.
  373. *% Warning: the following printable length is adjusted (6564->6560) so it is divisible by the resolution Y scale.
  374. *PrintableArea: PAIR(4988, 6560)
  375. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  376. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  377. *PrintableOrigin: PAIR(88, 244)
  378. }
  379. }
  380. }
  381. }
  382. }
  383. *Option: JAPANESE_POSTCARD
  384. {
  385. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  386. *Command: CmdSelect
  387. {
  388. *Order: DOC_SETUP.8
  389. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000>Q<07>"
  390. }
  391. *switch: InputBin
  392. {
  393. *case: Option1
  394. {
  395. *PrintableArea: PAIR(2665, 3632)
  396. *PrintableOrigin: PAIR(86, 86)
  397. *switch: Resolution
  398. {
  399. *case: Option1
  400. {
  401. *% Warning: the following printable width is adjusted (2665->2664) so it is divisible by the resolution X scale.
  402. *PrintableArea: PAIR(2664, 3632)
  403. }
  404. *case: Option2
  405. {
  406. *% Warning: the following printable width is adjusted (2665->2660) so it is divisible by the resolution X scale.
  407. *% Warning: the following printable length is adjusted (3632->3628) so it is divisible by the resolution Y scale.
  408. *PrintableArea: PAIR(2660, 3628)
  409. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  410. *% Warning: the following printable origin Y is adjusted (86->88) so it is divisible by the resolution Y scale.
  411. *PrintableOrigin: PAIR(88, 88)
  412. }
  413. }
  414. }
  415. *case: Option2
  416. {
  417. *PrintableArea: PAIR(2665, 3476)
  418. *PrintableOrigin: PAIR(86, 242)
  419. *switch: Resolution
  420. {
  421. *case: Option1
  422. {
  423. *% Warning: the following printable width is adjusted (2665->2664) so it is divisible by the resolution X scale.
  424. *PrintableArea: PAIR(2664, 3476)
  425. }
  426. *case: Option2
  427. {
  428. *% Warning: the following printable width is adjusted (2665->2660) so it is divisible by the resolution X scale.
  429. *% Warning: the following printable length is adjusted (3476->3472) so it is divisible by the resolution Y scale.
  430. *PrintableArea: PAIR(2660, 3472)
  431. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  432. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  433. *PrintableOrigin: PAIR(88, 244)
  434. }
  435. }
  436. }
  437. }
  438. }
  439. *Option: JAPANESE_POSTCARD_ROTATED
  440. {
  441. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.8
  445. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<040000009904>"
  446. }
  447. *switch: InputBin
  448. {
  449. *case: Option1
  450. {
  451. *PrintableArea: PAIR(4026, 2271)
  452. *PrintableOrigin: PAIR(86, 86)
  453. *switch: Resolution
  454. {
  455. *case: Option1
  456. {
  457. *% Warning: the following printable length is adjusted (2271->2270) so it is divisible by the resolution Y scale.
  458. *PrintableArea: PAIR(4026, 2270)
  459. }
  460. *case: Option2
  461. {
  462. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  463. *% Warning: the following printable length is adjusted (2271->2268) so it is divisible by the resolution Y scale.
  464. *PrintableArea: PAIR(4024, 2268)
  465. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  466. *% Warning: the following printable origin Y is adjusted (86->88) so it is divisible by the resolution Y scale.
  467. *PrintableOrigin: PAIR(88, 88)
  468. }
  469. }
  470. }
  471. *case: Option2
  472. {
  473. *PrintableArea: PAIR(4026, 2115)
  474. *PrintableOrigin: PAIR(86, 242)
  475. *switch: Resolution
  476. {
  477. *case: Option1
  478. {
  479. *% Warning: the following printable length is adjusted (2115->2114) so it is divisible by the resolution Y scale.
  480. *PrintableArea: PAIR(4026, 2114)
  481. }
  482. *case: Option2
  483. {
  484. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  485. *% Warning: the following printable length is adjusted (2115->2112) so it is divisible by the resolution Y scale.
  486. *PrintableArea: PAIR(4024, 2112)
  487. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  488. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  489. *PrintableOrigin: PAIR(88, 244)
  490. }
  491. }
  492. }
  493. }
  494. }
  495. *Option: DBL_JAPANESE_POSTCARD
  496. {
  497. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  498. *Command: CmdSelect
  499. {
  500. *Order: DOC_SETUP.8
  501. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(G<0100011B>(U<0100051B>(c<0400>V<00>"
  502. + "<9A0E>"
  503. }
  504. *switch: InputBin
  505. {
  506. *case: Option1
  507. {
  508. *PrintableArea: PAIR(5494, 3632)
  509. *PrintableOrigin: PAIR(86, 86)
  510. *switch: Resolution
  511. {
  512. *case: Option2
  513. {
  514. *% Warning: the following printable width is adjusted (5494->5492) so it is divisible by the resolution X scale.
  515. *% Warning: the following printable length is adjusted (3632->3628) so it is divisible by the resolution Y scale.
  516. *PrintableArea: PAIR(5492, 3628)
  517. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  518. *% Warning: the following printable origin Y is adjusted (86->88) so it is divisible by the resolution Y scale.
  519. *PrintableOrigin: PAIR(88, 88)
  520. }
  521. }
  522. }
  523. *case: Option2
  524. {
  525. *PrintableArea: PAIR(5494, 3476)
  526. *PrintableOrigin: PAIR(86, 242)
  527. *switch: Resolution
  528. {
  529. *case: Option2
  530. {
  531. *% Warning: the following printable width is adjusted (5494->5492) so it is divisible by the resolution X scale.
  532. *% Warning: the following printable length is adjusted (3476->3472) so it is divisible by the resolution Y scale.
  533. *PrintableArea: PAIR(5492, 3472)
  534. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  535. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  536. *PrintableOrigin: PAIR(88, 244)
  537. }
  538. }
  539. }
  540. }
  541. }
  542. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  543. {
  544. *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
  545. *Command: CmdSelect
  546. {
  547. *Order: DOC_SETUP.8
  548. *Cmd: "<1B>(R<080000>REMOTE1SC<020000021B0000001B>(c<04000000>!<0A>"
  549. }
  550. *switch: InputBin
  551. {
  552. *case: Option1
  553. {
  554. *PrintableArea: PAIR(4026, 5100)
  555. *PrintableOrigin: PAIR(86, 86)
  556. *switch: Resolution
  557. {
  558. *case: Option2
  559. {
  560. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  561. *% Warning: the following printable length is adjusted (5100->5096) so it is divisible by the resolution Y scale.
  562. *PrintableArea: PAIR(4024, 5096)
  563. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  564. *% Warning: the following printable origin Y is adjusted (86->88) so it is divisible by the resolution Y scale.
  565. *PrintableOrigin: PAIR(88, 88)
  566. }
  567. }
  568. }
  569. *case: Option2
  570. {
  571. *PrintableArea: PAIR(4026, 4944)
  572. *PrintableOrigin: PAIR(86, 242)
  573. *switch: Resolution
  574. {
  575. *case: Option2
  576. {
  577. *% Warning: the following printable width is adjusted (4026->4024) so it is divisible by the resolution X scale.
  578. *% Warning: the following printable length is adjusted (4944->4940) so it is divisible by the resolution Y scale.
  579. *PrintableArea: PAIR(4024, 4940)
  580. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  581. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  582. *PrintableOrigin: PAIR(88, 244)
  583. }
  584. }
  585. }
  586. }
  587. }
  588. *Option: Option11
  589. {
  590. *rcNameID: 261
  591. *PageDimensions: PAIR(2692, 4846)
  592. *Command: CmdSelect
  593. {
  594. *Order: DOC_SETUP.8
  595. *Cmd: "<1B>(R<080000>REMOTE1PS<02000000>FD<0300000B00>TP<0500000101>H<00>TP<0500000201>"
  596. + "H<001B0000001B>(c<0400>H<00>/<09>"
  597. }
  598. *switch: InputBin
  599. {
  600. *case: Option1
  601. {
  602. *PrintableArea: PAIR(2520, 4224)
  603. *PrintableOrigin: PAIR(86, 142)
  604. *switch: Resolution
  605. {
  606. *case: Option2
  607. {
  608. *% Warning: the following printable width is adjusted (2520->2516) so it is divisible by the resolution X scale.
  609. *% Warning: the following printable length is adjusted (4224->4220) so it is divisible by the resolution Y scale.
  610. *PrintableArea: PAIR(2516, 4220)
  611. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  612. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  613. *PrintableOrigin: PAIR(88, 144)
  614. }
  615. }
  616. }
  617. *case: Option2
  618. {
  619. *PrintableArea: PAIR(2520, 4124)
  620. *PrintableOrigin: PAIR(86, 242)
  621. *switch: Resolution
  622. {
  623. *case: Option2
  624. {
  625. *% Warning: the following printable width is adjusted (2520->2516) so it is divisible by the resolution X scale.
  626. *% Warning: the following printable length is adjusted (4124->4120) so it is divisible by the resolution Y scale.
  627. *PrintableArea: PAIR(2516, 4120)
  628. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  629. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  630. *PrintableOrigin: PAIR(88, 244)
  631. }
  632. }
  633. }
  634. }
  635. }
  636. *Option: Option12
  637. {
  638. *rcNameID: 262
  639. *PageDimensions: PAIR(4846, 2692)
  640. *Command: CmdSelect
  641. {
  642. *Order: DOC_SETUP.8
  643. *Cmd: "<1B>(R<080000>REMOTE1PS<02000000>FD<0300000B01>TP<0500000101>H<00>TP<0500000201>"
  644. + "H<001B0000001B>(c<0400>H<00FA04>"
  645. }
  646. *switch: InputBin
  647. {
  648. *case: Option1
  649. {
  650. *PrintableArea: PAIR(4674, 2070)
  651. *PrintableOrigin: PAIR(86, 142)
  652. *switch: Resolution
  653. {
  654. *case: Option2
  655. {
  656. *% Warning: the following printable width is adjusted (4674->4672) so it is divisible by the resolution X scale.
  657. *% Warning: the following printable length is adjusted (2070->2068) so it is divisible by the resolution Y scale.
  658. *PrintableArea: PAIR(4672, 2068)
  659. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  660. *% Warning: the following printable origin Y is adjusted (142->144) so it is divisible by the resolution Y scale.
  661. *PrintableOrigin: PAIR(88, 144)
  662. }
  663. }
  664. }
  665. *case: Option2
  666. {
  667. *PrintableArea: PAIR(4674, 1970)
  668. *PrintableOrigin: PAIR(86, 242)
  669. *switch: Resolution
  670. {
  671. *case: Option2
  672. {
  673. *% Warning: the following printable width is adjusted (4674->4672) so it is divisible by the resolution X scale.
  674. *% Warning: the following printable length is adjusted (1970->1968) so it is divisible by the resolution Y scale.
  675. *PrintableArea: PAIR(4672, 1968)
  676. *% Warning: the following printable origin X is adjusted (86->88) so it is divisible by the resolution X scale.
  677. *% Warning: the following printable origin Y is adjusted (242->244) so it is divisible by the resolution Y scale.
  678. *PrintableOrigin: PAIR(88, 244)
  679. }
  680. }
  681. }
  682. }
  683. }
  684. *Option: Option13
  685. {
  686. *rcNameID: 263
  687. *PageDimensions: PAIR(4052, 5414)
  688. *Command: CmdSelect
  689. {
  690. *Order: DOC_SETUP.8
  691. *Cmd: "<1B>(R<080000>REMOTE1PS<02000000>FD<0300000000>LM<030000>q<01>TP<05000001018D01>"
  692. + "TP<05000002018D011B0000001B>(c<04008D01910F>"
  693. }
  694. *switch: InputBin
  695. {
  696. *case: Option1
  697. {
  698. *PrintableArea: PAIR(2408, 3826)
  699. *PrintableOrigin: PAIR(822, 794)
  700. *switch: Resolution
  701. {
  702. *case: Option2
  703. {
  704. *% Warning: the following printable width is adjusted (2408->2404) so it is divisible by the resolution X scale.
  705. *% Warning: the following printable length is adjusted (3826->3824) so it is divisible by the resolution Y scale.
  706. *PrintableArea: PAIR(2404, 3824)
  707. *% Warning: the following printable origin X is adjusted (822->824) so it is divisible by the resolution X scale.
  708. *% Warning: the following printable origin Y is adjusted (794->796) so it is divisible by the resolution Y scale.
  709. *PrintableOrigin: PAIR(824, 796)
  710. }
  711. }
  712. }
  713. *case: Option2
  714. {
  715. *PrintableArea: PAIR(2408, 3826)
  716. *PrintableOrigin: PAIR(822, 794)
  717. *switch: Resolution
  718. {
  719. *case: Option2
  720. {
  721. *% Warning: the following printable width is adjusted (2408->2404) so it is divisible by the resolution X scale.
  722. *% Warning: the following printable length is adjusted (3826->3824) so it is divisible by the resolution Y scale.
  723. *PrintableArea: PAIR(2404, 3824)
  724. *% Warning: the following printable origin X is adjusted (822->824) so it is divisible by the resolution X scale.
  725. *% Warning: the following printable origin Y is adjusted (794->796) so it is divisible by the resolution Y scale.
  726. *PrintableOrigin: PAIR(824, 796)
  727. }
  728. }
  729. }
  730. }
  731. }
  732. *Option: Option14
  733. {
  734. *rcNameID: 264
  735. *PageDimensions: PAIR(5414, 4052)
  736. *Command: CmdSelect
  737. {
  738. *Order: DOC_SETUP.8
  739. *Cmd: "<1B>(R<080000>REMOTE1PS<02000000>FD<0300000001>LM<030000>b<01>TP<05000001019C01>"
  740. + "TP<05000002019C011B0000001B>(c<04009C01910F>"
  741. }
  742. *switch: InputBin
  743. {
  744. *case: Option1
  745. {
  746. *PrintableArea: PAIR(3826, 2408)
  747. *PrintableOrigin: PAIR(794, 822)
  748. *switch: Resolution
  749. {
  750. *case: Option2
  751. {
  752. *% Warning: the following printable width is adjusted (3826->3824) so it is divisible by the resolution X scale.
  753. *% Warning: the following printable length is adjusted (2408->2404) so it is divisible by the resolution Y scale.
  754. *PrintableArea: PAIR(3824, 2404)
  755. *% Warning: the following printable origin X is adjusted (794->796) so it is divisible by the resolution X scale.
  756. *% Warning: the following printable origin Y is adjusted (822->824) so it is divisible by the resolution Y scale.
  757. *PrintableOrigin: PAIR(796, 824)
  758. }
  759. }
  760. }
  761. *case: Option2
  762. {
  763. *PrintableArea: PAIR(3826, 2408)
  764. *PrintableOrigin: PAIR(794, 822)
  765. *switch: Resolution
  766. {
  767. *case: Option2
  768. {
  769. *% Warning: the following printable width is adjusted (3826->3824) so it is divisible by the resolution X scale.
  770. *% Warning: the following printable length is adjusted (2408->2404) so it is divisible by the resolution Y scale.
  771. *PrintableArea: PAIR(3824, 2404)
  772. *% Warning: the following printable origin X is adjusted (794->796) so it is divisible by the resolution X scale.
  773. *% Warning: the following printable origin Y is adjusted (822->824) so it is divisible by the resolution Y scale.
  774. *PrintableOrigin: PAIR(796, 824)
  775. }
  776. }
  777. }
  778. }
  779. }
  780. }
  781. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  782. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  783. *InvalidCombination: LIST(InputBin.Option2, PaperSize.DBL_JAPANESE_POSTCARD)
  784. *InvalidCombination: LIST(InputBin.Option2, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  785. *InvalidCombination: LIST(InputBin.Option2, PaperSize.Option11)
  786. *InvalidCombination: LIST(InputBin.Option2, PaperSize.Option12)
  787. *InvalidCombination: LIST(InputBin.Option2, PaperSize.Option13)
  788. *InvalidCombination: LIST(InputBin.Option2, PaperSize.Option14)
  789. *Feature: ColorMode
  790. {
  791. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  792. *DefaultOption: Color
  793. *Option: Mono
  794. {
  795. *rcNameID: =MONO_DISPLAY
  796. *DevNumOfPlanes: 1
  797. *DevBPP: 1
  798. *Color? : FALSE
  799. }
  800. *Option: Color
  801. {
  802. *rcNameID: =COLOR_DISPLAY
  803. *DevNumOfPlanes: 4
  804. *DevBPP: 1
  805. *DrvBPP: 4
  806. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  807. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  808. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  809. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  810. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  811. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  812. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  813. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  814. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  815. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  816. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  817. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  818. }
  819. }
  820. *Feature: Halftone
  821. {
  822. *rcNameID: =HALFTONING_DISPLAY
  823. *DefaultOption: HT_PATSIZE_AUTO
  824. *Option: HT_PATSIZE_AUTO
  825. {
  826. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  827. }
  828. *Option: HT_PATSIZE_SUPERCELL_M
  829. {
  830. *rcNameID: =HT_SUPERCELL_DISPLAY
  831. }
  832. *Option: HT_PATSIZE_6x6_M
  833. {
  834. *rcNameID: =HT_DITHER6X6_DISPLAY
  835. }
  836. *Option: HT_PATSIZE_8x8_M
  837. {
  838. *rcNameID: =HT_DITHER8X8_DISPLAY
  839. }
  840. }
  841. *Command: CmdStartDoc
  842. {
  843. *Order: DOC_SETUP.1
  844. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  845. }
  846. *Command: CmdStartPage
  847. {
  848. *Order: PAGE_SETUP.1
  849. *Cmd: "<0D>"
  850. }
  851. *Command: CmdEndJob
  852. {
  853. *Order: JOB_FINISH.1
  854. *Cmd: "<1B>S<1B1B>SK"
  855. }
  856. *RotateCoordinate?: FALSE
  857. *RotateRaster?: FALSE
  858. *RotateFont?: FALSE
  859. *TextCaps: LIST(TC_RA_ABLE)
  860. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  861. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  862. *MaxLineSpacing: 255
  863. *XMoveThreshold: 0
  864. *XMoveUnit: 60
  865. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 12) )} }
  866. *Command: CmdSetLineSpacing { *Cmd : "<1B>+" %c[0,255]{(LinefeedSpacing / 2) } }
  867. *Command: CmdCR { *Cmd : "<0D>" }
  868. *Command: CmdLF { *Cmd : "<0A>" }
  869. *Command: CmdFF { *Cmd : "<0C>" }
  870. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  871. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  872. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  873. *EjectPageWithFF?: TRUE
  874. *OutputDataFormat: V_BYTE
  875. *OptimizeLeftBound?: FALSE
  876. *CursorXAfterSendBlockData: AT_GRXDATA_END
  877. *CursorYAfterSendBlockData: NO_MOVE
  878. *DefaultCTT: -1