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.

859 lines
32 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: "stlc821j.gpd"
  9. *CodePage: 1252
  10. *ModelName: "Star LC-8211 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: 263
  40. *OptionID: 263
  41. }
  42. }
  43. *Feature: Resolution
  44. {
  45. *rcNameID: =RESOLUTION_DISPLAY
  46. *DefaultOption: Option1
  47. *Option: Option1
  48. {
  49. *Name: "180 x 180 " =DOTS_PER_INCH
  50. *DPI: PAIR(180, 180)
  51. *TextDPI: PAIR(180, 180)
  52. *PinsPerLogPass: 24
  53. *PinsPerPhysPass: 24
  54. *MinStripBlankPixels: 360
  55. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  56. *SpotDiameter: 140
  57. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  58. }
  59. *Option: Option2
  60. {
  61. *Name: "360 x 180 " =DOTS_PER_INCH
  62. *DPI: PAIR(360, 180)
  63. *TextDPI: PAIR(360, 180)
  64. *PinsPerLogPass: 24
  65. *PinsPerPhysPass: 24
  66. *MinStripBlankPixels: 240
  67. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  68. *SpotDiameter: 120
  69. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  70. }
  71. *Option: Option3
  72. {
  73. *Name: "120 x 180 " =DOTS_PER_INCH
  74. *DPI: PAIR(120, 180)
  75. *TextDPI: PAIR(120, 180)
  76. *PinsPerLogPass: 24
  77. *PinsPerPhysPass: 24
  78. *MinStripBlankPixels: 240
  79. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  80. *SpotDiameter: 120
  81. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  82. }
  83. *Option: Option4
  84. {
  85. *Name: "360 x 360 " =DOTS_PER_INCH
  86. *DPI: PAIR(360, 360)
  87. *TextDPI: PAIR(360, 360)
  88. *PinsPerLogPass: 48
  89. *PinsPerPhysPass: 24
  90. *MinStripBlankPixels: 240
  91. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  92. *SpotDiameter: 120
  93. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  94. }
  95. }
  96. *Feature: PaperSize
  97. {
  98. *rcNameID: =PAPER_SIZE_DISPLAY
  99. *DefaultOption: A4
  100. *Option: A4
  101. {
  102. *rcNameID: =A4_DISPLAY
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.8
  106. *Cmd: "<1B>2<1B>CF"
  107. }
  108. *switch: InputBin
  109. {
  110. *case: Option1
  111. {
  112. *PrintableArea: PAIR(2821, 3968)
  113. *PrintableOrigin: PAIR(106, 120)
  114. *switch: Resolution
  115. {
  116. *case: Option1
  117. {
  118. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  119. *PrintableArea: PAIR(2820, 3968)
  120. }
  121. *case: Option3
  122. {
  123. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  124. *PrintableArea: PAIR(2818, 3968)
  125. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  126. *PrintableOrigin: PAIR(107, 120)
  127. }
  128. }
  129. }
  130. *case: Option2
  131. {
  132. *PrintableArea: PAIR(2877, 4208)
  133. *PrintableOrigin: PAIR(50, 0)
  134. *switch: Resolution
  135. {
  136. *case: Option1
  137. {
  138. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  139. *PrintableArea: PAIR(2876, 4208)
  140. }
  141. *case: Option3
  142. {
  143. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  144. *PrintableArea: PAIR(2874, 4208)
  145. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  146. *PrintableOrigin: PAIR(51, 0)
  147. }
  148. }
  149. }
  150. }
  151. }
  152. *Option: A4_ROTATED
  153. {
  154. *rcNameID: =A4_ROTATED_DISPLAY
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.8
  158. *Cmd: "<1B>2<1B>C1"
  159. }
  160. *switch: InputBin
  161. {
  162. *case: Option1
  163. {
  164. *PrintableArea: PAIR(3904, 2737)
  165. *PrintableOrigin: PAIR(106, 120)
  166. *switch: Resolution
  167. {
  168. *case: Option1
  169. {
  170. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  171. *PrintableArea: PAIR(3904, 2736)
  172. }
  173. *case: Option2
  174. {
  175. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  176. *PrintableArea: PAIR(3904, 2736)
  177. }
  178. *case: Option3
  179. {
  180. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  181. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  182. *PrintableArea: PAIR(3903, 2736)
  183. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  184. *PrintableOrigin: PAIR(107, 120)
  185. }
  186. }
  187. }
  188. *case: Option2
  189. {
  190. *PrintableArea: PAIR(3960, 2977)
  191. *PrintableOrigin: PAIR(50, 0)
  192. *switch: Resolution
  193. {
  194. *case: Option1
  195. {
  196. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  197. *PrintableArea: PAIR(3960, 2976)
  198. }
  199. *case: Option2
  200. {
  201. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  202. *PrintableArea: PAIR(3960, 2976)
  203. }
  204. *case: Option3
  205. {
  206. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  207. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  208. *PrintableArea: PAIR(3959, 2976)
  209. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  210. *PrintableOrigin: PAIR(51, 0)
  211. }
  212. }
  213. }
  214. }
  215. }
  216. *Option: A3
  217. {
  218. *rcNameID: =A3_DISPLAY
  219. *Command: CmdSelect
  220. {
  221. *Order: DOC_SETUP.8
  222. *Cmd: "<1B>2<1B>Cc"
  223. }
  224. *switch: InputBin
  225. {
  226. *case: Option1
  227. {
  228. *PrintableArea: PAIR(3904, 5714)
  229. *PrintableOrigin: PAIR(106, 120)
  230. *switch: Resolution
  231. {
  232. *case: Option3
  233. {
  234. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  235. *PrintableArea: PAIR(3903, 5714)
  236. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  237. *PrintableOrigin: PAIR(107, 120)
  238. }
  239. }
  240. }
  241. *case: Option2
  242. {
  243. *PrintableArea: PAIR(3960, 5954)
  244. *PrintableOrigin: PAIR(50, 0)
  245. *switch: Resolution
  246. {
  247. *case: Option3
  248. {
  249. *% Warning: the following printable width is adjusted (4108->4107) so it is divisible by the resolution X scale.
  250. *PrintableArea: PAIR(3959, 5954)
  251. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  252. *PrintableOrigin: PAIR(51, 0)
  253. }
  254. }
  255. }
  256. }
  257. }
  258. *Option: A5
  259. {
  260. *rcNameID: =A5_DISPLAY
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.8
  264. *Cmd: "<1B>2<1B>Cc"
  265. }
  266. *switch: InputBin
  267. {
  268. *case: Option1
  269. {
  270. *PrintableArea: PAIR(1943, 2737)
  271. *PrintableOrigin: PAIR(106, 120)
  272. *switch: Resolution
  273. {
  274. *case: Option1
  275. {
  276. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  277. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  278. *PrintableArea: PAIR(1942, 2736)
  279. }
  280. *case: Option2
  281. {
  282. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  283. *PrintableArea: PAIR(1943, 2736)
  284. }
  285. *case: Option3
  286. {
  287. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  288. *% Warning: the following printable length is adjusted (2737->2736) so it is divisible by the resolution Y scale.
  289. *PrintableArea: PAIR(1942, 2736)
  290. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  291. *PrintableOrigin: PAIR(107, 120)
  292. }
  293. }
  294. }
  295. *case: Option2
  296. {
  297. *PrintableArea: PAIR(1999, 2977)
  298. *PrintableOrigin: PAIR(50, 0)
  299. *switch: Resolution
  300. {
  301. *case: Option1
  302. {
  303. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  304. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  305. *PrintableArea: PAIR(1998, 2976)
  306. }
  307. *case: Option2
  308. {
  309. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  310. *PrintableArea: PAIR(1999, 2976)
  311. }
  312. *case: Option3
  313. {
  314. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  315. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  316. *PrintableArea: PAIR(1998, 2976)
  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: B4
  325. {
  326. *rcNameID: =B4_DISPLAY
  327. *Command: CmdSelect
  328. {
  329. *Order: DOC_SETUP.8
  330. *Cmd: "<1B>2<1B>CU"
  331. }
  332. *switch: InputBin
  333. {
  334. *case: Option1
  335. {
  336. *PrintableArea: PAIR(3487, 4919)
  337. *PrintableOrigin: PAIR(106, 120)
  338. *switch: Resolution
  339. {
  340. *case: Option1
  341. {
  342. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  343. *% Warning: the following printable length is adjusted (4919->4918) so it is divisible by the resolution Y scale.
  344. *PrintableArea: PAIR(3486, 4918)
  345. }
  346. *case: Option2
  347. {
  348. *% Warning: the following printable length is adjusted (4919->4918) so it is divisible by the resolution Y scale.
  349. *PrintableArea: PAIR(3487, 4918)
  350. }
  351. *case: Option3
  352. {
  353. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  354. *% Warning: the following printable length is adjusted (4919->4918) so it is divisible by the resolution Y scale.
  355. *PrintableArea: PAIR(3484, 4918)
  356. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  357. *PrintableOrigin: PAIR(107, 120)
  358. }
  359. }
  360. }
  361. *case: Option2
  362. {
  363. *PrintableArea: PAIR(3543, 5159)
  364. *PrintableOrigin: PAIR(50, 0)
  365. *switch: Resolution
  366. {
  367. *case: Option1
  368. {
  369. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  370. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  371. *PrintableArea: PAIR(3542, 5158)
  372. }
  373. *case: Option2
  374. {
  375. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  376. *PrintableArea: PAIR(3543, 5158)
  377. }
  378. *case: Option3
  379. {
  380. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  381. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  382. *PrintableArea: PAIR(3540, 5158)
  383. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  384. *PrintableOrigin: PAIR(51, 0)
  385. }
  386. }
  387. }
  388. }
  389. }
  390. *Option: B5
  391. {
  392. *rcNameID: =B5_DISPLAY
  393. *Command: CmdSelect
  394. {
  395. *Order: DOC_SETUP.8
  396. *Cmd: "<1B>2<1B>C%<"
  397. }
  398. *switch: InputBin
  399. {
  400. *case: Option1
  401. {
  402. *PrintableArea: PAIR(2425, 3403)
  403. *PrintableOrigin: PAIR(106, 120)
  404. *switch: Resolution
  405. {
  406. *case: Option1
  407. {
  408. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  409. *% Warning: the following printable length is adjusted (3403->3402) so it is divisible by the resolution Y scale.
  410. *PrintableArea: PAIR(2424, 3402)
  411. }
  412. *case: Option2
  413. {
  414. *% Warning: the following printable length is adjusted (3403->3402) so it is divisible by the resolution Y scale.
  415. *PrintableArea: PAIR(2425, 3402)
  416. }
  417. *case: Option3
  418. {
  419. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  420. *% Warning: the following printable length is adjusted (3403->3402) so it is divisible by the resolution Y scale.
  421. *PrintableArea: PAIR(2422, 3402)
  422. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  423. *PrintableOrigin: PAIR(107, 120)
  424. }
  425. }
  426. }
  427. *case: Option2
  428. {
  429. *PrintableArea: PAIR(2481, 3643)
  430. *PrintableOrigin: PAIR(50, 0)
  431. *switch: Resolution
  432. {
  433. *case: Option1
  434. {
  435. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  436. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  437. *PrintableArea: PAIR(2480, 3642)
  438. }
  439. *case: Option2
  440. {
  441. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(2481, 3642)
  443. }
  444. *case: Option3
  445. {
  446. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  447. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  448. *PrintableArea: PAIR(2478, 3642)
  449. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  450. *PrintableOrigin: PAIR(51, 0)
  451. }
  452. }
  453. }
  454. }
  455. }
  456. *Option: B5_JIS_ROTATED
  457. {
  458. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  459. *Command: CmdSelect
  460. {
  461. *Order: DOC_SETUP.8
  462. *Cmd: "<1B>2<1B>C*"
  463. }
  464. *switch: InputBin
  465. {
  466. *case: Option1
  467. {
  468. *PrintableArea: PAIR(3476, 2341)
  469. *PrintableOrigin: PAIR(106, 120)
  470. *switch: Resolution
  471. {
  472. *case: Option1
  473. {
  474. *% Warning: the following printable width is adjusted (2863->2862) so it is divisible by the resolution X scale.
  475. *% Warning: the following printable length is adjusted (2341->2340) so it is divisible by the resolution Y scale.
  476. *PrintableArea: PAIR(3475, 2340)
  477. }
  478. *case: Option2
  479. {
  480. *% Warning: the following printable length is adjusted (2341->2340) so it is divisible by the resolution Y scale.
  481. *PrintableArea: PAIR(3476, 2340)
  482. }
  483. *case: Option3
  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 (2341->2340) so it is divisible by the resolution Y scale.
  487. *PrintableArea: PAIR(3475, 2340)
  488. }
  489. }
  490. }
  491. *case: Option2
  492. {
  493. *PrintableArea: PAIR(3546, 2581)
  494. *PrintableOrigin: PAIR(390, 0)
  495. *switch: Resolution
  496. {
  497. *case: Option1
  498. {
  499. *% Warning: the following printable width is adjusted (2863->2862) so it is divisible by the resolution X scale.
  500. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  501. *PrintableArea: PAIR(3545, 2580)
  502. }
  503. *case: Option2
  504. {
  505. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  506. *PrintableArea: PAIR(3546, 2580)
  507. }
  508. *case: Option3
  509. {
  510. *% Warning: the following printable width is adjusted (2863->2862) so it is divisible by the resolution X scale.
  511. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  512. *PrintableArea: PAIR(3545, 2580)
  513. }
  514. }
  515. }
  516. }
  517. }
  518. *Option: 10X11
  519. {
  520. *rcNameID: =10X11_DISPLAY
  521. *Command: CmdSelect
  522. {
  523. *Order: DOC_SETUP.8
  524. *Cmd: "<1B>2<1B>C<000B>"
  525. }
  526. *switch: InputBin
  527. {
  528. *case: Option1
  529. {
  530. *PrintableArea: PAIR(2880, 3720)
  531. *PrintableOrigin: PAIR(0, 120)
  532. }
  533. *case: Option2
  534. {
  535. *PrintableArea: PAIR(2880, 3960)
  536. *PrintableOrigin: PAIR(0, 0)
  537. }
  538. }
  539. }
  540. *Option: 12X11
  541. {
  542. *rcNameID: =12X11_DISPLAY
  543. *Command: CmdSelect
  544. {
  545. *Order: DOC_SETUP.8
  546. *Cmd: "<1B>2<1B>C<000B>"
  547. }
  548. *switch: InputBin
  549. {
  550. *case: Option1
  551. {
  552. *PrintableArea: PAIR(3960, 3720)
  553. *PrintableOrigin: PAIR(50, 120)
  554. *switch: Resolution
  555. {
  556. *case: Option1
  557. {
  558. *% Warning: the following printable width is adjusted (4209->4208) so it is divisible by the resolution X scale.
  559. *PrintableArea: PAIR(3959, 3720)
  560. }
  561. *case: Option3
  562. {
  563. *% Warning: the following printable width is adjusted (4209->4206) so it is divisible by the resolution X scale.
  564. *PrintableArea: PAIR(3959, 3720)
  565. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  566. *PrintableOrigin: PAIR(51, 120)
  567. }
  568. }
  569. }
  570. *case: Option2
  571. {
  572. *PrintableArea: PAIR(3959, 3960)
  573. *PrintableOrigin: PAIR(50, 0)
  574. *switch: Resolution
  575. {
  576. *case: Option1
  577. {
  578. *% Warning: the following printable width is adjusted (4209->4208) so it is divisible by the resolution X scale.
  579. *PrintableArea: PAIR(3959, 3960)
  580. }
  581. *case: Option3
  582. {
  583. *% Warning: the following printable width is adjusted (4209->4206) so it is divisible by the resolution X scale.
  584. *PrintableArea: PAIR(3959, 3960)
  585. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  586. *PrintableOrigin: PAIR(51, 0)
  587. }
  588. }
  589. }
  590. }
  591. }
  592. *Option: JAPANESE_POSTCARD
  593. {
  594. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  595. *Command: CmdSelect
  596. {
  597. *Order: DOC_SETUP.8
  598. *Cmd: "<1B>2<1B>C%""
  599. }
  600. *switch: InputBin
  601. {
  602. *case: Option1
  603. {
  604. *PrintableArea: PAIR(1262, 1859)
  605. *PrintableOrigin: PAIR(106, 120)
  606. *switch: Resolution
  607. {
  608. *case: Option1
  609. {
  610. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  611. *PrintableArea: PAIR(1262, 1858)
  612. }
  613. *case: Option2
  614. {
  615. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  616. *PrintableArea: PAIR(1262, 1858)
  617. }
  618. *case: Option3
  619. {
  620. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  621. *% Warning: the following printable length is adjusted (1859->1858) so it is divisible by the resolution Y scale.
  622. *PrintableArea: PAIR(1261, 1858)
  623. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  624. *PrintableOrigin: PAIR(107, 120)
  625. }
  626. }
  627. }
  628. *case: Option2
  629. {
  630. *PrintableArea: PAIR(1318, 2099)
  631. *PrintableOrigin: PAIR(50, 0)
  632. *switch: Resolution
  633. {
  634. *case: Option1
  635. {
  636. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  637. *PrintableArea: PAIR(1318, 2098)
  638. }
  639. *case: Option2
  640. {
  641. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  642. *PrintableArea: PAIR(1318, 2098)
  643. }
  644. *case: Option3
  645. {
  646. *% Warning: the following printable width is adjusted (1318->1317) so it is divisible by the resolution X scale.
  647. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  648. *PrintableArea: PAIR(1317, 2098)
  649. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  650. *PrintableOrigin: PAIR(51, 0)
  651. }
  652. }
  653. }
  654. }
  655. }
  656. *Option: JAPANESE_POSTCARD_ROTATED
  657. {
  658. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  659. *Command: CmdSelect
  660. {
  661. *Order: DOC_SETUP.8
  662. *Cmd: "<1B>2<1B>C<17>"
  663. }
  664. *switch: InputBin
  665. {
  666. *case: Option1
  667. {
  668. *PrintableArea: PAIR(1943, 1178)
  669. *PrintableOrigin: PAIR(106, 120)
  670. *switch: Resolution
  671. {
  672. *case: Option1
  673. {
  674. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  675. *PrintableArea: PAIR(1942, 1178)
  676. }
  677. *case: Option3
  678. {
  679. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  680. *PrintableArea: PAIR(1942, 1178)
  681. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  682. *PrintableOrigin: PAIR(107, 120)
  683. }
  684. }
  685. }
  686. *case: Option2
  687. {
  688. *PrintableArea: PAIR(1999, 1418)
  689. *PrintableOrigin: PAIR(50, 0)
  690. *switch: Resolution
  691. {
  692. *case: Option1
  693. {
  694. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  695. *PrintableArea: PAIR(1998, 1418)
  696. }
  697. *case: Option3
  698. {
  699. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  700. *PrintableArea: PAIR(1998, 1418)
  701. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  702. *PrintableOrigin: PAIR(51, 0)
  703. }
  704. }
  705. }
  706. }
  707. }
  708. *Option: CUSTOMSIZE
  709. {
  710. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  711. *MinSize: PAIR(1417, 1417)
  712. *MaxSize: PAIR(4209, 5952)
  713. *MaxPrintableWidth: 4209
  714. *MinLeftMargin: 0
  715. *CenterPrintable?: FALSE
  716. *switch: InputBin
  717. {
  718. *case: Option1
  719. {
  720. *TopMargin: 120
  721. *BottomMargin: 120
  722. }
  723. *case: Option2
  724. {
  725. *TopMargin: 0
  726. *BottomMargin: 0
  727. }
  728. }
  729. *Command: CmdSelect
  730. {
  731. *Order: DOC_SETUP.8
  732. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 60) )}
  733. }
  734. }
  735. }
  736. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  737. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4_ROTATED)
  738. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  739. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  740. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  741. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  742. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5_JIS_ROTATED)
  743. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  744. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  745. *Feature: PrintQuality
  746. {
  747. *rcNameID: =TEXT_QUALITY_DISPLAY
  748. *DefaultOption: LETTER_QUALITY
  749. *Option: LETTER_QUALITY
  750. {
  751. *rcNameID: =LETTER_QUALITY_DISPLAY
  752. *Command: CmdSelect
  753. {
  754. *Order: DOC_SETUP.6
  755. *Cmd: "<1B>x<011C>x<00>"
  756. }
  757. }
  758. *Option: DRAFT_QUALITY
  759. {
  760. *rcNameID: =DRAFT_QUALITY_DISPLAY
  761. *Command: CmdSelect
  762. {
  763. *Order: DOC_SETUP.6
  764. *Cmd: "<1B>x<001C>x<01>"
  765. }
  766. }
  767. }
  768. *Feature: Halftone
  769. {
  770. *rcNameID: =HALFTONING_DISPLAY
  771. *DefaultOption: HT_PATSIZE_AUTO
  772. *Option: HT_PATSIZE_AUTO
  773. {
  774. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  775. }
  776. *Option: HT_PATSIZE_SUPERCELL_M
  777. {
  778. *rcNameID: =HT_SUPERCELL_DISPLAY
  779. }
  780. *Option: HT_PATSIZE_6x6_M
  781. {
  782. *rcNameID: =HT_DITHER6X6_DISPLAY
  783. }
  784. *Option: HT_PATSIZE_8x8_M
  785. {
  786. *rcNameID: =HT_DITHER8X8_DISPLAY
  787. }
  788. }
  789. *Command: CmdStartDoc
  790. {
  791. *Order: DOC_SETUP.1
  792. *Cmd: "<1B>@<181B>t<011B>R<00>"
  793. }
  794. *Command: CmdStartPage
  795. {
  796. *Order: PAGE_SETUP.1
  797. *Cmd: "<0D>"
  798. }
  799. *RotateCoordinate?: FALSE
  800. *RotateRaster?: FALSE
  801. *RotateFont?: FALSE
  802. *switch: Orientation
  803. {
  804. *case: PORTRAIT
  805. {
  806. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  807. }
  808. *case: LANDSCAPE_CC270
  809. {
  810. *TextCaps: LIST(TC_RA_ABLE)
  811. }
  812. }
  813. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  814. *YMoveAttributes: LIST(SEND_CR_FIRST)
  815. *MaxLineSpacing: 255
  816. *XMoveThreshold: 0
  817. *YMoveThreshold: *
  818. *XMoveUnit: 60
  819. *YMoveUnit: 180
  820. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  821. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  822. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  823. *Command: CmdCR { *Cmd : "<0D>" }
  824. *Command: CmdLF { *Cmd : "<0A>" }
  825. *Command: CmdFF { *Cmd : "<0C>" }
  826. *Command: CmdBackSpace { *Cmd : "<08>" }
  827. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  828. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  829. *EjectPageWithFF?: TRUE
  830. *switch: InputBin
  831. {
  832. *case: Option2
  833. {
  834. *EjectPageWithFF?: FALSE
  835. }
  836. }
  837. *OutputDataFormat: V_BYTE
  838. *OptimizeLeftBound?: FALSE
  839. *CursorXAfterSendBlockData: AT_GRXDATA_END
  840. *CursorYAfterSendBlockData: NO_MOVE
  841. *DefaultFont: 1
  842. *DefaultCTT: -1
  843. *switch: Orientation
  844. {
  845. *case: PORTRAIT
  846. {
  847. *DeviceFonts: LIST(1,13,14,15,16,17)
  848. }
  849. *case: LANDSCAPE_CC270
  850. {
  851. *DeviceFonts: LIST()
  852. }
  853. }
  854. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  855. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  856. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  857. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  858. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  859. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }