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.

1065 lines
41 KiB

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