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.

1318 lines
49 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *CodePage: 1252
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "star640C.gpd"
  9. *Include: "STDNAMES.GPD"
  10. *ModelName: "Star AR-6400"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "st24cres.dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: MANUAL
  31. *Option: Option1
  32. {
  33. *rcNameID: 270
  34. *OptionID: 270
  35. }
  36. *Option: MANUAL
  37. {
  38. *rcNameID: =MANUAL_FEED_DISPLAY
  39. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  40. *Command: CmdSelect
  41. {
  42. *Order: DOC_SETUP.3
  43. *Cmd: "<1B1900>"
  44. }
  45. }
  46. }
  47. *Feature: Resolution
  48. {
  49. *rcNameID: =RESOLUTION_DISPLAY
  50. *DefaultOption: Option2
  51. *Option: Option1
  52. {
  53. *Name: "360 x 180 " =DOTS_PER_INCH
  54. *DPI: PAIR(360, 180)
  55. *TextDPI: PAIR(360, 180)
  56. *PinsPerLogPass: 24
  57. *PinsPerPhysPass: 24
  58. *MinStripBlankPixels: 180
  59. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  60. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  61. *SpotDiameter: 170
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  63. }
  64. *Option: Option2
  65. {
  66. *Name: "180 x 180 " =DOTS_PER_INCH
  67. *DPI: PAIR(180, 180)
  68. *TextDPI: PAIR(180, 180)
  69. *PinsPerLogPass: 24
  70. *PinsPerPhysPass: 24
  71. *MinStripBlankPixels: 90
  72. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  73. *SpotDiameter: 170
  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: 60
  84. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  85. *SpotDiameter: 170
  86. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  87. }
  88. }
  89. *Feature: PaperSize
  90. {
  91. *rcNameID: =PAPER_SIZE_DISPLAY
  92. *DefaultOption: A4
  93. *Option: LETTER
  94. {
  95. *rcNameID: =LETTER_DISPLAY
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.4
  99. *Cmd: "<1B>2<1B>CB"
  100. }
  101. *switch: InputBin
  102. {
  103. *case: Option1
  104. {
  105. *PrintableArea: PAIR(5880, 7920)
  106. *PrintableOrigin: PAIR(120, 0)
  107. }
  108. *case: MANUAL
  109. {
  110. *PrintableArea: PAIR(5880, 7680)
  111. *PrintableOrigin: PAIR(120, 120)
  112. }
  113. }
  114. }
  115. *% "Letter Transverse 11 x 8.5 in"
  116. *Option: Option2
  117. {
  118. *rcNameID: 258
  119. *OptionID: 258
  120. *PageDimensions: PAIR(7920, 6120)
  121. *Command: CmdSelect
  122. {
  123. *Order: DOC_SETUP.4
  124. *Cmd: "<1B>2<1B>C3"
  125. }
  126. *switch: InputBin
  127. {
  128. *case: Option1
  129. {
  130. *PrintableArea: PAIR(7680, 6120)
  131. *PrintableOrigin: PAIR(120, 0)
  132. }
  133. *case: MANUAL
  134. {
  135. *PrintableArea: PAIR(7680, 5848)
  136. *PrintableOrigin: PAIR(120, 120)
  137. }
  138. }
  139. }
  140. *Option: A3
  141. {
  142. *rcNameID: =A3_DISPLAY
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.4
  146. *Cmd: "<1B>2<1B>Cc"
  147. }
  148. *switch: InputBin
  149. {
  150. *case: Option1
  151. {
  152. *PrintableArea: PAIR(8177, 11909)
  153. *PrintableOrigin: PAIR(120, 0)
  154. *switch: Resolution
  155. {
  156. *case: Option1
  157. {
  158. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  159. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  160. *PrintableArea: PAIR(8176, 11908)
  161. }
  162. *case: Option2
  163. {
  164. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  165. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  166. *PrintableArea: PAIR(8176, 11908)
  167. }
  168. *case: Option3
  169. {
  170. *% Warning: the following printable width is adjusted (8177->8172) so it is divisible by the resolution X scale.
  171. *% Warning: the following printable length is adjusted (11909->11908) so it is divisible by the resolution Y scale.
  172. *PrintableArea: PAIR(8172, 11908)
  173. }
  174. }
  175. }
  176. *case: MANUAL
  177. {
  178. *PrintableArea: PAIR(8177, 11669)
  179. *PrintableOrigin: PAIR(120, 120)
  180. *switch: Resolution
  181. {
  182. *case: Option1
  183. {
  184. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  185. *% Warning: the following printable length is adjusted (10925->10924) so it is divisible by the resolution Y scale.
  186. *PrintableArea: PAIR(8176, 11668)
  187. }
  188. *case: Option2
  189. {
  190. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  191. *% Warning: the following printable length is adjusted (10925->10924) so it is divisible by the resolution Y scale.
  192. *PrintableArea: PAIR(8176, 11668)
  193. }
  194. *case: Option3
  195. {
  196. *% Warning: the following printable width is adjusted (8177->8172) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable length is adjusted (10925->10924) so it is divisible by the resolution Y scale.
  198. *PrintableArea: PAIR(8172, 11668)
  199. }
  200. }
  201. }
  202. }
  203. }
  204. *% "A3 Transverse 420 x 297 mm"
  205. *Option: Option4
  206. {
  207. *rcNameID: 260
  208. *OptionID: 260
  209. *PageDimensions: PAIR(11909, 8417)
  210. *Command: CmdSelect
  211. {
  212. *Order: DOC_SETUP.4
  213. *Cmd: "<1B>2<1B>CF"
  214. }
  215. *switch: InputBin
  216. {
  217. *case: Option1
  218. {
  219. *PrintableArea: PAIR(9749, 8417)
  220. *PrintableOrigin: PAIR(1080, 0)
  221. *switch: Resolution
  222. {
  223. *case: Option1
  224. {
  225. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  226. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  227. *PrintableArea: PAIR(9748, 8416)
  228. }
  229. *case: Option2
  230. {
  231. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  232. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  233. *PrintableArea: PAIR(9748, 8416)
  234. }
  235. *case: Option3
  236. {
  237. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  238. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  239. *PrintableArea: PAIR(9744, 8416)
  240. }
  241. }
  242. }
  243. *case: MANUAL
  244. {
  245. *PrintableArea: PAIR(9749, 8160)
  246. *PrintableOrigin: PAIR(1080, 120)
  247. *switch: Resolution
  248. {
  249. *case: Option1
  250. {
  251. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  252. *% Warning: the following printable length is adjusted (7433->7432) so it is divisible by the resolution Y scale.
  253. *PrintableArea: PAIR(9748, 8160)
  254. }
  255. *case: Option2
  256. {
  257. *% Warning: the following printable width is adjusted (9749->9748) so it is divisible by the resolution X scale.
  258. *% Warning: the following printable length is adjusted (7433->7432) so it is divisible by the resolution Y scale.
  259. *PrintableArea: PAIR(9748, 8160)
  260. }
  261. *case: Option3
  262. {
  263. *% Warning: the following printable width is adjusted (9749->9744) so it is divisible by the resolution X scale.
  264. *% Warning: the following printable length is adjusted (7433->7432) so it is divisible by the resolution Y scale.
  265. *PrintableArea: PAIR(9744, 8160)
  266. }
  267. }
  268. }
  269. }
  270. }
  271. *Option: A4
  272. {
  273. *rcNameID: =A4_DISPLAY
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.4
  277. *Cmd: "<1B>2<1B>CF"
  278. }
  279. *switch: InputBin
  280. {
  281. *case: Option1
  282. {
  283. *PrintableArea: PAIR(5714, 8417)
  284. *PrintableOrigin: PAIR(120, 0)
  285. *switch: Resolution
  286. {
  287. *case: Option1
  288. {
  289. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  290. *PrintableArea: PAIR(5714, 8416)
  291. }
  292. *case: Option2
  293. {
  294. *% Warning: the following printable width is adjusted (5714->5712) so it is divisible by the resolution X scale.
  295. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  296. *PrintableArea: PAIR(5712, 8416)
  297. }
  298. *case: Option3
  299. {
  300. *% Warning: the following printable width is adjusted (5714->5712) so it is divisible by the resolution X scale.
  301. *% Warning: the following printable length is adjusted (8417->8416) so it is divisible by the resolution Y scale.
  302. *PrintableArea: PAIR(5712, 8416)
  303. }
  304. }
  305. }
  306. *case: MANUAL
  307. {
  308. *PrintableArea: PAIR(5714, 8160)
  309. *PrintableOrigin: PAIR(120, 120)
  310. *switch: Resolution
  311. {
  312. *case: Option1
  313. {
  314. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  315. *PrintableArea: PAIR(5714, 8160)
  316. }
  317. *case: Option2
  318. {
  319. *% Warning: the following printable width is adjusted (5714->5712) so it is divisible by the resolution X scale.
  320. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  321. *PrintableArea: PAIR(5712, 8160)
  322. }
  323. *case: Option3
  324. {
  325. *% Warning: the following printable width is adjusted (5714->5712) so it is divisible by the resolution X scale.
  326. *% Warning: the following printable length is adjusted (7937->7936) so it is divisible by the resolution Y scale.
  327. *PrintableArea: PAIR(5712, 8160)
  328. }
  329. }
  330. }
  331. }
  332. }
  333. *% "A4 Transverse 297 x 210 mm"
  334. *Option: Option6
  335. {
  336. *rcNameID: 261
  337. *OptionID: 261
  338. *PageDimensions: PAIR(8417, 5954)
  339. *Command: CmdSelect
  340. {
  341. *Order: DOC_SETUP.4
  342. *Cmd: "<1B>2<1B>C2"
  343. }
  344. *switch: InputBin
  345. {
  346. *case: Option1
  347. {
  348. *PrintableArea: PAIR(8177, 5954)
  349. *PrintableOrigin: PAIR(120, 0)
  350. *switch: Resolution
  351. {
  352. *case: Option1
  353. {
  354. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  355. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  356. *PrintableArea: PAIR(8176, 5952)
  357. }
  358. *case: Option2
  359. {
  360. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  361. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  362. *PrintableArea: PAIR(8176, 5952)
  363. }
  364. *case: Option3
  365. {
  366. *% Warning: the following printable width is adjusted (8177->8172) so it is divisible by the resolution X scale.
  367. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  368. *PrintableArea: PAIR(8172, 5952)
  369. }
  370. }
  371. }
  372. *case: MANUAL
  373. {
  374. *PrintableArea: PAIR(8177, 5660)
  375. *PrintableOrigin: PAIR(120, 120)
  376. *switch: Resolution
  377. {
  378. *case: Option1
  379. {
  380. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  381. *% Warning: the following printable length is adjusted (4970->4968) so it is divisible by the resolution Y scale.
  382. *PrintableArea: PAIR(8176, 5660)
  383. }
  384. *case: Option2
  385. {
  386. *% Warning: the following printable width is adjusted (8177->8176) so it is divisible by the resolution X scale.
  387. *% Warning: the following printable length is adjusted (4970->4968) so it is divisible by the resolution Y scale.
  388. *PrintableArea: PAIR(8176, 5660)
  389. }
  390. *case: Option3
  391. {
  392. *% Warning: the following printable width is adjusted (8177->8172) so it is divisible by the resolution X scale.
  393. *% Warning: the following printable length is adjusted (4970->4968) so it is divisible by the resolution Y scale.
  394. *PrintableArea: PAIR(8172, 5660)
  395. }
  396. }
  397. }
  398. }
  399. }
  400. *Option: A5
  401. {
  402. *rcNameID: =A5_DISPLAY
  403. *Command: CmdSelect
  404. {
  405. *Order: DOC_SETUP.4
  406. *Cmd: "<1B>2<1B>C2"
  407. }
  408. *switch: InputBin
  409. {
  410. *case: Option1
  411. {
  412. *PrintableArea: PAIR(3958, 5954)
  413. *PrintableOrigin: PAIR(120, 0)
  414. *switch: Resolution
  415. {
  416. *case: Option1
  417. {
  418. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  419. *PrintableArea: PAIR(3958, 5952)
  420. }
  421. *case: Option2
  422. {
  423. *% Warning: the following printable width is adjusted (3958->3956) so it is divisible by the resolution X scale.
  424. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  425. *PrintableArea: PAIR(3956, 5952)
  426. }
  427. *case: Option3
  428. {
  429. *% Warning: the following printable width is adjusted (3958->3954) so it is divisible by the resolution X scale.
  430. *% Warning: the following printable length is adjusted (5954->5952) so it is divisible by the resolution Y scale.
  431. *PrintableArea: PAIR(3954, 5952)
  432. }
  433. }
  434. }
  435. *case: MANUAL
  436. {
  437. *PrintableArea: PAIR(3958, 5660)
  438. *PrintableOrigin: PAIR(120, 120)
  439. *switch: Resolution
  440. {
  441. *case: Option1
  442. {
  443. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  444. *PrintableArea: PAIR(3958, 5660)
  445. }
  446. *case: Option2
  447. {
  448. *% Warning: the following printable width is adjusted (3958->3956) so it is divisible by the resolution X scale.
  449. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  450. *PrintableArea: PAIR(3956, 5660)
  451. }
  452. *case: Option3
  453. {
  454. *% Warning: the following printable width is adjusted (3958->3954) so it is divisible by the resolution X scale.
  455. *% Warning: the following printable length is adjusted (5474->5472) so it is divisible by the resolution Y scale.
  456. *PrintableArea: PAIR(3954, 5660)
  457. }
  458. }
  459. }
  460. }
  461. }
  462. *Option: B4
  463. {
  464. *rcNameID: =B4_DISPLAY
  465. *Command: CmdSelect
  466. {
  467. *Order: DOC_SETUP.4
  468. *Cmd: "<1B>2<1B>CU"
  469. }
  470. *switch: InputBin
  471. {
  472. *case: Option1
  473. {
  474. *PrintableArea: PAIR(7046, 10318)
  475. *PrintableOrigin: PAIR(120, 0)
  476. *switch: Resolution
  477. {
  478. *case: Option1
  479. {
  480. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  481. *PrintableArea: PAIR(7046, 10316)
  482. }
  483. *case: Option2
  484. {
  485. *% Warning: the following printable width is adjusted (7046->7044) so it is divisible by the resolution X scale.
  486. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  487. *PrintableArea: PAIR(7044, 10316)
  488. }
  489. *case: Option3
  490. {
  491. *% Warning: the following printable width is adjusted (7046->7044) so it is divisible by the resolution X scale.
  492. *% Warning: the following printable length is adjusted (10318->10316) so it is divisible by the resolution Y scale.
  493. *PrintableArea: PAIR(7044, 10316)
  494. }
  495. }
  496. }
  497. *case: MANUAL
  498. {
  499. *PrintableArea: PAIR(7046, 10078)
  500. *PrintableOrigin: PAIR(120, 120)
  501. *switch: Resolution
  502. {
  503. *case: Option1
  504. {
  505. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  506. *PrintableArea: PAIR(7046, 10076)
  507. }
  508. *case: Option2
  509. {
  510. *% Warning: the following printable width is adjusted (7046->7044) so it is divisible by the resolution X scale.
  511. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  512. *PrintableArea: PAIR(7044, 10076)
  513. }
  514. *case: Option3
  515. {
  516. *% Warning: the following printable width is adjusted (7046->7044) so it is divisible by the resolution X scale.
  517. *% Warning: the following printable length is adjusted (9838->9836) so it is divisible by the resolution Y scale.
  518. *PrintableArea: PAIR(7044, 10076)
  519. }
  520. }
  521. }
  522. }
  523. }
  524. *Option: B5
  525. {
  526. *rcNameID: =B5_DISPLAY
  527. *Command: CmdSelect
  528. {
  529. *Order: DOC_SETUP.4
  530. *Cmd: "<1B>2<1B>C<3C>"
  531. }
  532. *switch: InputBin
  533. {
  534. *case: Option1
  535. {
  536. *PrintableArea: PAIR(4922, 7286)
  537. *PrintableOrigin: PAIR(120, 0)
  538. *switch: Resolution
  539. {
  540. *case: Option1
  541. {
  542. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  543. *PrintableArea: PAIR(4922, 7284)
  544. }
  545. *case: Option2
  546. {
  547. *% Warning: the following printable width is adjusted (4922->4920) so it is divisible by the resolution X scale.
  548. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  549. *PrintableArea: PAIR(4920, 7284)
  550. }
  551. *case: Option3
  552. {
  553. *% Warning: the following printable width is adjusted (4922->4920) so it is divisible by the resolution X scale.
  554. *% Warning: the following printable length is adjusted (7286->7284) so it is divisible by the resolution Y scale.
  555. *PrintableArea: PAIR(4920, 7284)
  556. }
  557. }
  558. }
  559. *case: MANUAL
  560. {
  561. *PrintableArea: PAIR(4922, 7010)
  562. *PrintableOrigin: PAIR(120, 120)
  563. *switch: Resolution
  564. {
  565. *case: Option1
  566. {
  567. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  568. *PrintableArea: PAIR(4922, 7008)
  569. }
  570. *case: Option2
  571. {
  572. *% Warning: the following printable width is adjusted (4922->4920) so it is divisible by the resolution X scale.
  573. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  574. *PrintableArea: PAIR(4920, 7008)
  575. }
  576. *case: Option3
  577. {
  578. *% Warning: the following printable width is adjusted (4922->4920) so it is divisible by the resolution X scale.
  579. *% Warning: the following printable length is adjusted (6806->6804) so it is divisible by the resolution Y scale.
  580. *PrintableArea: PAIR(4920, 7008)
  581. }
  582. }
  583. }
  584. }
  585. }
  586. *% "Fanfold 9 x 12 inch"
  587. *Option: Option10
  588. {
  589. *rcNameID: 274
  590. *OptionID: 274
  591. *PageDimensions: PAIR(6480, 8640)
  592. *Command: CmdSelect
  593. {
  594. *Order: DOC_SETUP.4
  595. *Cmd: "<1B>2<1B>CH"
  596. }
  597. *switch: InputBin
  598. {
  599. *case: Option1
  600. {
  601. *PrintableArea: PAIR(5760, 8640)
  602. *PrintableOrigin: PAIR(360, 0)
  603. }
  604. *case: MANUAL
  605. {
  606. *PrintableArea: PAIR(5760, 8400)
  607. *PrintableOrigin: PAIR(360, 120)
  608. }
  609. }
  610. }
  611. *% "Fanfold 9 x 11 inch"
  612. *Option: Option11
  613. {
  614. *rcNameID: 266
  615. *OptionID: 266
  616. *PageDimensions: PAIR(6480, 7920)
  617. *Command: CmdSelect
  618. {
  619. *Order: DOC_SETUP.4
  620. *Cmd: "<1B>2<1B>CB"
  621. }
  622. *switch: InputBin
  623. {
  624. *case: Option1
  625. {
  626. *PrintableArea: PAIR(5760, 7920)
  627. *PrintableOrigin: PAIR(360, 0)
  628. }
  629. *case: MANUAL
  630. {
  631. *PrintableArea: PAIR(5760, 7680)
  632. *PrintableOrigin: PAIR(360, 120)
  633. }
  634. }
  635. }
  636. *% "Fanfold 15 x 12 inch"
  637. *Option: Option12
  638. {
  639. *rcNameID: 265
  640. *OptionID: 265
  641. *PageDimensions: PAIR(10800, 8640)
  642. *Command: CmdSelect
  643. {
  644. *Order: DOC_SETUP.4
  645. *Cmd: "<1B>2<1B>CH"
  646. }
  647. *switch: InputBin
  648. {
  649. *case: Option1
  650. {
  651. *PrintableArea: PAIR(9792, 8640)
  652. *PrintableOrigin: PAIR(360, 0)
  653. }
  654. *case: MANUAL
  655. {
  656. *PrintableArea: PAIR(9792, 8400)
  657. *PrintableOrigin: PAIR(360, 120)
  658. }
  659. }
  660. }
  661. *% "Fanfold 15 x 11 inch"
  662. *Option: Option13
  663. {
  664. *rcNameID: 268
  665. *OptionID: 268
  666. *PageDimensions: PAIR(10800, 7920)
  667. *Command: CmdSelect
  668. {
  669. *Order: DOC_SETUP.4
  670. *Cmd: "<1B>2<1B>CB"
  671. }
  672. *switch: InputBin
  673. {
  674. *case: Option1
  675. {
  676. *PrintableArea: PAIR(9792, 7920)
  677. *PrintableOrigin: PAIR(360, 0)
  678. *switch: Resolution
  679. {
  680. *case: Option2
  681. {
  682. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  683. *PrintableArea: PAIR(9792, 7920)
  684. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  685. *PrintableOrigin: PAIR(360, 0)
  686. }
  687. *case: Option3
  688. {
  689. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  690. *PrintableArea: PAIR(9792, 7920)
  691. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  692. *PrintableOrigin: PAIR(360, 0)
  693. }
  694. }
  695. }
  696. *case: MANUAL
  697. {
  698. *PrintableArea: PAIR(9792, 7680)
  699. *PrintableOrigin: PAIR(360, 120)
  700. *switch: Resolution
  701. {
  702. *case: Option2
  703. {
  704. *% Warning: the following printable width is adjusted (9790->9788) so it is divisible by the resolution X scale.
  705. *PrintableArea: PAIR(9792, 7680)
  706. *% Warning: the following printable origin X is adjusted (290->292) so it is divisible by the resolution X scale.
  707. *PrintableOrigin: PAIR(360, 120)
  708. }
  709. *case: Option3
  710. {
  711. *% Warning: the following printable width is adjusted (9790->9786) so it is divisible by the resolution X scale.
  712. *PrintableArea: PAIR(9792, 7680)
  713. *% Warning: the following printable origin X is adjusted (290->294) so it is divisible by the resolution X scale.
  714. *PrintableOrigin: PAIR(360, 120)
  715. }
  716. }
  717. }
  718. }
  719. }
  720. *Option: ENV_9
  721. {
  722. *rcNameID: =ENV_9_DISPLAY
  723. *RotateSize? : TRUE
  724. *Command: CmdSelect
  725. {
  726. *Order: DOC_SETUP.4
  727. *Cmd: "<1B>2<1B>C<17>"
  728. }
  729. *switch: InputBin
  730. {
  731. *case: Option1
  732. {
  733. *PrintableArea: PAIR(6154, 2794)
  734. *PrintableOrigin: PAIR(120, 0)
  735. *switch: Resolution
  736. {
  737. *case: Option1
  738. {
  739. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  740. *PrintableArea: PAIR(6154, 2792)
  741. }
  742. *case: Option2
  743. {
  744. *% Warning: the following printable width is adjusted (6154->6152) so it is divisible by the resolution X scale.
  745. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  746. *PrintableArea: PAIR(6152, 2792)
  747. }
  748. *case: Option3
  749. {
  750. *% Warning: the following printable width is adjusted (6154->6150) so it is divisible by the resolution X scale.
  751. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  752. *PrintableArea: PAIR(6150, 2792)
  753. }
  754. }
  755. }
  756. *case: MANUAL
  757. {
  758. *PrintableArea: PAIR(6154, 2554)
  759. *PrintableOrigin: PAIR(120, 120)
  760. *switch: Resolution
  761. {
  762. *case: Option1
  763. {
  764. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  765. *PrintableArea: PAIR(6154, 2552)
  766. }
  767. *case: Option2
  768. {
  769. *% Warning: the following printable width is adjusted (6154->6152) so it is divisible by the resolution X scale.
  770. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  771. *PrintableArea: PAIR(6152, 2552)
  772. }
  773. *case: Option3
  774. {
  775. *% Warning: the following printable width is adjusted (6154->6150) so it is divisible by the resolution X scale.
  776. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  777. *PrintableArea: PAIR(6150, 2552)
  778. }
  779. }
  780. }
  781. }
  782. }
  783. *Option: ENV_10
  784. {
  785. *rcNameID: =ENV_10_DISPLAY
  786. *RotateSize? : TRUE
  787. *Command: CmdSelect
  788. {
  789. *Order: DOC_SETUP.4
  790. *Cmd: "<1B>2<1B>C<19>"
  791. }
  792. *switch: InputBin
  793. {
  794. *case: Option1
  795. {
  796. *PrintableArea: PAIR(6600, 2974)
  797. *PrintableOrigin: PAIR(120, 0)
  798. *switch: Resolution
  799. {
  800. *case: Option1
  801. {
  802. *% Warning: the following printable length is adjusted (2974->2972) so it is divisible by the resolution Y scale.
  803. *PrintableArea: PAIR(6600, 2972)
  804. }
  805. *case: Option2
  806. {
  807. *% Warning: the following printable length is adjusted (2974->2972) so it is divisible by the resolution Y scale.
  808. *PrintableArea: PAIR(6600, 2972)
  809. }
  810. *case: Option3
  811. {
  812. *% Warning: the following printable length is adjusted (2974->2972) so it is divisible by the resolution Y scale.
  813. *PrintableArea: PAIR(6600, 2972)
  814. }
  815. }
  816. }
  817. *case: MANUAL
  818. {
  819. *PrintableArea: PAIR(6600, 2690)
  820. *PrintableOrigin: PAIR(120, 120)
  821. *switch: Resolution
  822. {
  823. *case: Option1
  824. {
  825. *% Warning: the following printable length is adjusted (2494->2492) so it is divisible by the resolution Y scale.
  826. *PrintableArea: PAIR(6600, 2688)
  827. }
  828. *case: Option2
  829. {
  830. *% Warning: the following printable length is adjusted (2494->2492) so it is divisible by the resolution Y scale.
  831. *PrintableArea: PAIR(6600, 2688)
  832. }
  833. *case: Option3
  834. {
  835. *% Warning: the following printable length is adjusted (2494->2492) so it is divisible by the resolution Y scale.
  836. *PrintableArea: PAIR(6600, 2688)
  837. }
  838. }
  839. }
  840. }
  841. }
  842. *Option: ENV_DL
  843. {
  844. *rcNameID: =ENV_DL_DISPLAY
  845. *RotateSize? : TRUE
  846. *Command: CmdSelect
  847. {
  848. *Order: DOC_SETUP.4
  849. *Cmd: "<1B>2<1B>C<1A>"
  850. }
  851. *switch: InputBin
  852. {
  853. *case: Option1
  854. {
  855. *PrintableArea: PAIR(5995, 3118)
  856. *PrintableOrigin: PAIR(120, 0)
  857. *switch: Resolution
  858. {
  859. *case: Option1
  860. {
  861. *% Warning: the following printable width is adjusted (5995->5994) so it is divisible by the resolution X scale.
  862. *% Warning: the following printable length is adjusted (3118->3116) so it is divisible by the resolution Y scale.
  863. *PrintableArea: PAIR(5994, 3116)
  864. }
  865. *case: Option2
  866. {
  867. *% Warning: the following printable width is adjusted (5995->5992) so it is divisible by the resolution X scale.
  868. *% Warning: the following printable length is adjusted (3118->3116) so it is divisible by the resolution Y scale.
  869. *PrintableArea: PAIR(5992, 3116)
  870. }
  871. *case: Option3
  872. {
  873. *% Warning: the following printable width is adjusted (5995->5994) so it is divisible by the resolution X scale.
  874. *% Warning: the following printable length is adjusted (3118->3116) so it is divisible by the resolution Y scale.
  875. *PrintableArea: PAIR(5994, 3116)
  876. }
  877. }
  878. }
  879. *case: MANUAL
  880. {
  881. *PrintableArea: PAIR(5995, 2878)
  882. *PrintableOrigin: PAIR(120, 120)
  883. *switch: Resolution
  884. {
  885. *case: Option1
  886. {
  887. *% Warning: the following printable width is adjusted (5995->5994) so it is divisible by the resolution X scale.
  888. *% Warning: the following printable length is adjusted (2638->2636) so it is divisible by the resolution Y scale.
  889. *PrintableArea: PAIR(5994, 2876)
  890. }
  891. *case: Option2
  892. {
  893. *% Warning: the following printable width is adjusted (5995->5992) so it is divisible by the resolution X scale.
  894. *% Warning: the following printable length is adjusted (2638->2636) so it is divisible by the resolution Y scale.
  895. *PrintableArea: PAIR(5992, 2876)
  896. }
  897. *case: Option3
  898. {
  899. *% Warning: the following printable width is adjusted (5995->5994) so it is divisible by the resolution X scale.
  900. *% Warning: the following printable length is adjusted (2638->2636) so it is divisible by the resolution Y scale.
  901. *PrintableArea: PAIR(5994, 2876)
  902. }
  903. }
  904. }
  905. }
  906. }
  907. *Option: ENV_C5
  908. {
  909. *rcNameID: =ENV_C5_DISPLAY
  910. *RotateSize? : TRUE
  911. *Command: CmdSelect
  912. {
  913. *Order: DOC_SETUP.4
  914. *Cmd: "<1B>2<1B>C&"
  915. }
  916. *switch: InputBin
  917. {
  918. *case: Option1
  919. {
  920. *PrintableArea: PAIR(6254, 4594)
  921. *PrintableOrigin: PAIR(120, 0)
  922. *switch: Resolution
  923. {
  924. *case: Option1
  925. {
  926. *% Warning: the following printable length is adjusted (4594->4592) so it is divisible by the resolution Y scale.
  927. *PrintableArea: PAIR(6254, 4592)
  928. }
  929. *case: Option2
  930. {
  931. *% Warning: the following printable width is adjusted (6254->6252) so it is divisible by the resolution X scale.
  932. *% Warning: the following printable length is adjusted (4594->4592) so it is divisible by the resolution Y scale.
  933. *PrintableArea: PAIR(6252, 4592)
  934. }
  935. *case: Option3
  936. {
  937. *% Warning: the following printable width is adjusted (6254->6252) so it is divisible by the resolution X scale.
  938. *% Warning: the following printable length is adjusted (4594->4592) so it is divisible by the resolution Y scale.
  939. *PrintableArea: PAIR(6252, 4592)
  940. }
  941. }
  942. }
  943. *case: MANUAL
  944. {
  945. *PrintableArea: PAIR(6254, 4314)
  946. *PrintableOrigin: PAIR(120, 120)
  947. *switch: Resolution
  948. {
  949. *case: Option1
  950. {
  951. *% Warning: the following printable length is adjusted (4114->4112) so it is divisible by the resolution Y scale.
  952. *PrintableArea: PAIR(6254, 4312)
  953. }
  954. *case: Option2
  955. {
  956. *% Warning: the following printable width is adjusted (6254->6252) so it is divisible by the resolution X scale.
  957. *% Warning: the following printable length is adjusted (4114->4112) so it is divisible by the resolution Y scale.
  958. *PrintableArea: PAIR(6252, 4312)
  959. }
  960. *case: Option3
  961. {
  962. *% Warning: the following printable width is adjusted (6254->6252) so it is divisible by the resolution X scale.
  963. *% Warning: the following printable length is adjusted (4114->4112) so it is divisible by the resolution Y scale.
  964. *PrintableArea: PAIR(6252, 4312)
  965. }
  966. }
  967. }
  968. }
  969. }
  970. *Option: ENV_C3
  971. {
  972. *rcNameID: =ENV_C3_DISPLAY
  973. *RotateSize? : TRUE
  974. *Command: CmdSelect
  975. {
  976. *Order: DOC_SETUP.4
  977. *Cmd: "<1B>2<1B>CM"
  978. }
  979. *switch: InputBin
  980. {
  981. *case: Option1
  982. {
  983. *PrintableArea: PAIR(9792, 9187)
  984. *PrintableOrigin: PAIR(120, 0)
  985. *switch: Resolution
  986. {
  987. *case: Option1
  988. {
  989. *% Warning: the following printable length is adjusted (9187->9184) so it is divisible by the resolution Y scale.
  990. *PrintableArea: PAIR(9792, 9184)
  991. }
  992. *case: Option2
  993. {
  994. *% Warning: the following printable length is adjusted (9187->9184) so it is divisible by the resolution Y scale.
  995. *PrintableArea: PAIR(9792, 9184)
  996. }
  997. *case: Option3
  998. {
  999. *% Warning: the following printable length is adjusted (9187->9184) so it is divisible by the resolution Y scale.
  1000. *PrintableArea: PAIR(9792, 9184)
  1001. }
  1002. }
  1003. }
  1004. *case: MANUAL
  1005. {
  1006. *PrintableArea: PAIR(9792, 8944)
  1007. *PrintableOrigin: PAIR(120, 120)
  1008. *switch: Resolution
  1009. {
  1010. *case: Option1
  1011. {
  1012. *% Warning: the following printable length is adjusted (8203->8200) so it is divisible by the resolution Y scale.
  1013. *PrintableArea: PAIR(9792, 8944)
  1014. }
  1015. *case: Option2
  1016. {
  1017. *% Warning: the following printable length is adjusted (8203->8200) so it is divisible by the resolution Y scale.
  1018. *PrintableArea: PAIR(9792, 8944)
  1019. }
  1020. *case: Option3
  1021. {
  1022. *% Warning: the following printable length is adjusted (8203->8200) so it is divisible by the resolution Y scale.
  1023. *PrintableArea: PAIR(9792, 8944)
  1024. }
  1025. }
  1026. }
  1027. }
  1028. }
  1029. *Option: ENV_B5
  1030. {
  1031. *rcNameID: =ENV_B5_DISPLAY
  1032. *RotateSize? : TRUE
  1033. *Command: CmdSelect
  1034. {
  1035. *Order: DOC_SETUP.4
  1036. *Cmd: "<1B>2<1B>C*"
  1037. }
  1038. *switch: InputBin
  1039. {
  1040. *case: Option1
  1041. {
  1042. *PrintableArea: PAIR(6845, 4990)
  1043. *PrintableOrigin: PAIR(120, 0)
  1044. *switch: Resolution
  1045. {
  1046. *case: Option1
  1047. {
  1048. *% Warning: the following printable width is adjusted (6845->6844) so it is divisible by the resolution X scale.
  1049. *% Warning: the following printable length is adjusted (4990->4988) so it is divisible by the resolution Y scale.
  1050. *PrintableArea: PAIR(6844, 4988)
  1051. }
  1052. *case: Option2
  1053. {
  1054. *% Warning: the following printable width is adjusted (6845->6844) so it is divisible by the resolution X scale.
  1055. *% Warning: the following printable length is adjusted (4990->4988) so it is divisible by the resolution Y scale.
  1056. *PrintableArea: PAIR(6844, 4988)
  1057. }
  1058. *case: Option3
  1059. {
  1060. *% Warning: the following printable width is adjusted (6845->6840) so it is divisible by the resolution X scale.
  1061. *% Warning: the following printable length is adjusted (4990->4988) so it is divisible by the resolution Y scale.
  1062. *PrintableArea: PAIR(6840, 4988)
  1063. }
  1064. }
  1065. }
  1066. *case: MANUAL
  1067. {
  1068. *PrintableArea: PAIR(6845, 4705)
  1069. *PrintableOrigin: PAIR(120, 120)
  1070. *switch: Resolution
  1071. {
  1072. *case: Option1
  1073. {
  1074. *% Warning: the following printable width is adjusted (6845->6844) so it is divisible by the resolution X scale.
  1075. *% Warning: the following printable length is adjusted (4510->4508) so it is divisible by the resolution Y scale.
  1076. *PrintableArea: PAIR(6844, 4704)
  1077. }
  1078. *case: Option2
  1079. {
  1080. *% Warning: the following printable width is adjusted (6845->6844) so it is divisible by the resolution X scale.
  1081. *% Warning: the following printable length is adjusted (4510->4508) so it is divisible by the resolution Y scale.
  1082. *PrintableArea: PAIR(6844, 4704)
  1083. }
  1084. *case: Option3
  1085. {
  1086. *% Warning: the following printable width is adjusted (6845->6840) so it is divisible by the resolution X scale.
  1087. *% Warning: the following printable length is adjusted (4510->4508) so it is divisible by the resolution Y scale.
  1088. *PrintableArea: PAIR(6840, 4704)
  1089. }
  1090. }
  1091. }
  1092. }
  1093. }
  1094. *Option: ENV_MONARCH
  1095. {
  1096. *rcNameID: =ENV_MONARCH_DISPLAY
  1097. *RotateSize? : TRUE
  1098. *Command: CmdSelect
  1099. {
  1100. *Order: DOC_SETUP.4
  1101. *Cmd: "<1B>2<1B>C!"
  1102. }
  1103. *switch: InputBin
  1104. {
  1105. *case: Option1
  1106. {
  1107. *PrintableArea: PAIR(5160, 2794)
  1108. *PrintableOrigin: PAIR(120, 0)
  1109. *switch: Resolution
  1110. {
  1111. *case: Option1
  1112. {
  1113. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  1114. *PrintableArea: PAIR(5160, 2792)
  1115. }
  1116. *case: Option2
  1117. {
  1118. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  1119. *PrintableArea: PAIR(5160, 2792)
  1120. }
  1121. *case: Option3
  1122. {
  1123. *% Warning: the following printable length is adjusted (2794->2792) so it is divisible by the resolution Y scale.
  1124. *PrintableArea: PAIR(5160, 2792)
  1125. }
  1126. }
  1127. }
  1128. *case: MANUAL
  1129. {
  1130. *PrintableArea: PAIR(5160, 2500)
  1131. *PrintableOrigin: PAIR(120, 120)
  1132. *switch: Resolution
  1133. {
  1134. *case: Option1
  1135. {
  1136. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  1137. *PrintableArea: PAIR(5160, 2500)
  1138. }
  1139. *case: Option2
  1140. {
  1141. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  1142. *PrintableArea: PAIR(5160, 2500)
  1143. }
  1144. *case: Option3
  1145. {
  1146. *% Warning: the following printable length is adjusted (2314->2312) so it is divisible by the resolution Y scale.
  1147. *PrintableArea: PAIR(5160, 2500)
  1148. }
  1149. }
  1150. }
  1151. }
  1152. }
  1153. *Option: CUSTOMSIZE
  1154. {
  1155. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  1156. *MinSize: PAIR(1440, 1980)
  1157. *MaxSize: PAIR(11880, 15840)
  1158. *MaxPrintableWidth: 9792
  1159. *MinLeftMargin: 0
  1160. *CenterPrintable?: FALSE
  1161. *switch: InputBin
  1162. {
  1163. *case: Option1
  1164. {
  1165. *TopMargin: 0
  1166. *BottomMargin: 0
  1167. }
  1168. *case: MANUAL
  1169. {
  1170. *TopMargin: 120
  1171. *BottomMargin: 120
  1172. }
  1173. }
  1174. *Command: CmdSelect
  1175. {
  1176. *Order: DOC_SETUP.4
  1177. *Cmd: "<1B>2<1B>C" %c[0,127]{max_repeat((PhysPaperLength / 120) )}
  1178. }
  1179. }
  1180. }
  1181. *InvalidCombination: LIST(InputBin.Option1, PaperSize.LETTER)
  1182. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option2)
  1183. *InvalidCombination: LIST(InputBin.Option1, PaperSize.A3)
  1184. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option4)
  1185. *InvalidCombination: LIST(InputBin.Option1, PaperSize.A4)
  1186. *InvalidCombination: LIST(InputBin.Option1, PaperSize.Option6)
  1187. *InvalidCombination: LIST(InputBin.Option1, PaperSize.A5)
  1188. *InvalidCombination: LIST(InputBin.Option1, PaperSize.B4)
  1189. *InvalidCombination: LIST(InputBin.Option1, PaperSize.B5)
  1190. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_9)
  1191. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_10)
  1192. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_DL)
  1193. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_C5)
  1194. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_C3)
  1195. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_B5)
  1196. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_MONARCH)
  1197. *Feature: PrintQuality
  1198. {
  1199. *rcNameID: =TEXT_QUALITY_DISPLAY
  1200. *DefaultOption: LETTER_QUALITY
  1201. *Option: LETTER_QUALITY
  1202. {
  1203. *rcNameID: =LETTER_QUALITY_DISPLAY
  1204. *Command: CmdSelect
  1205. {
  1206. *Order: DOC_SETUP.2
  1207. *Cmd: "<1B>x1<1B>z0"
  1208. }
  1209. }
  1210. *Option: DRAFT_QUALITY
  1211. {
  1212. *rcNameID: =DRAFT_QUALITY_DISPLAY
  1213. *Command: CmdSelect
  1214. {
  1215. *Order: DOC_SETUP.2
  1216. *Cmd: "<1B>x0<1B>z0"
  1217. }
  1218. }
  1219. *Option: Option3
  1220. {
  1221. *rcNameID: 273
  1222. *Command: CmdSelect
  1223. {
  1224. *Order: DOC_SETUP.2
  1225. *Cmd: "<1B>x0<1B>z1"
  1226. }
  1227. }
  1228. }
  1229. *Feature: Halftone
  1230. {
  1231. *rcNameID: =HALFTONING_DISPLAY
  1232. *DefaultOption: HT_PATSIZE_AUTO
  1233. *Option: HT_PATSIZE_AUTO
  1234. {
  1235. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1236. }
  1237. *Option: HT_PATSIZE_SUPERCELL_M
  1238. {
  1239. *rcNameID: =HT_SUPERCELL_DISPLAY
  1240. }
  1241. *Option: HT_PATSIZE_6x6_M
  1242. {
  1243. *rcNameID: =HT_DITHER6X6_DISPLAY
  1244. }
  1245. *Option: HT_PATSIZE_8x8_M
  1246. {
  1247. *rcNameID: =HT_DITHER8X8_DISPLAY
  1248. }
  1249. }
  1250. *Command: CmdStartDoc
  1251. {
  1252. *Order: DOC_SETUP.1
  1253. *Cmd: "<1B>@<1C>.<1B>t<011B>6<1B>r<00><1C>&"
  1254. }
  1255. *Command: CmdStartPage
  1256. {
  1257. *Order: PAGE_SETUP.1
  1258. *Cmd: "<0D>"
  1259. }
  1260. *Command: CmdEndJob
  1261. {
  1262. *Order: JOB_FINISH.1
  1263. *Cmd: "<0D>"
  1264. }
  1265. *RotateCoordinate?: FALSE
  1266. *RotateRaster?: FALSE
  1267. *RotateFont?: FALSE
  1268. *switch: Orientation
  1269. {
  1270. *case: PORTRAIT
  1271. {
  1272. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  1273. }
  1274. *case: LANDSCAPE_CC270
  1275. {
  1276. *TextCaps: LIST(TC_RA_ABLE)
  1277. }
  1278. }
  1279. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  1280. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  1281. *MaxLineSpacing: 255
  1282. *XMoveThreshold: 0
  1283. *YMoveThreshold: *
  1284. *XMoveUnit: 60
  1285. *YMoveUnit: 180
  1286. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 12) } }
  1287. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[1,255]{max_repeat((DestYRel / 4) )} }
  1288. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 4) } }
  1289. *Command: CmdCR { *Cmd : "<0D>" }
  1290. *Command: CmdLF { *Cmd : "<0A>" }
  1291. *Command: CmdFF { *Cmd : "<0C>" }
  1292. *Command: CmdBackSpace { *Cmd : "<08>" }
  1293. *Command: CmdUniDirectionOn { *Cmd : "<1B>U1" }
  1294. *Command: CmdUniDirectionOff { *Cmd : "<1B>U0" }
  1295. *EjectPageWithFF?: TRUE
  1296. *OutputDataFormat: V_BYTE
  1297. *OptimizeLeftBound?: TRUE
  1298. *CursorXAfterSendBlockData: AT_GRXDATA_END
  1299. *CursorYAfterSendBlockData: NO_MOVE
  1300. *DefaultFont: 1
  1301. *DefaultCTT: 0
  1302. *switch: Orientation
  1303. {
  1304. *case: PORTRAIT
  1305. {
  1306. *DeviceFonts: LIST(1,2,3,4,5,8,9,10,11)
  1307. }
  1308. *case: LANDSCAPE_CC270
  1309. {
  1310. *DeviceFonts: LIST()
  1311. }
  1312. }
  1313. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  1314. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  1315. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  1316. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  1317. *Command: CmdUnderlineOn { *Cmd : "<1B>-<011C>-<01>" }
  1318. *Command: CmdUnderlineOff { *Cmd : "<1B>-<001C>-<00>" }