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.

741 lines
24 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: "stb2415j.gpd"
  9. *ModelName: "Star BR-2415"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "stnmjres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: Option1
  30. *Option: Option1
  31. {
  32. *rcNameID: 258
  33. *OptionID: 258
  34. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  35. }
  36. *Option: Option2
  37. {
  38. *rcNameID: 259
  39. *OptionID: 259
  40. }
  41. *Option: Option3
  42. {
  43. *rcNameID: 260
  44. *OptionID: 260
  45. }
  46. }
  47. *Feature: Resolution
  48. {
  49. *rcNameID: =RESOLUTION_DISPLAY
  50. *DefaultOption: Option1
  51. *Option: Option1
  52. {
  53. *Name: "180 x 180 " =DOTS_PER_INCH
  54. *DPI: PAIR(180, 180)
  55. *TextDPI: PAIR(180, 180)
  56. *PinsPerLogPass: 24
  57. *PinsPerPhysPass: 24
  58. *MinStripBlankPixels: 360
  59. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  60. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  61. *SpotDiameter: 140
  62. *Command: CmdSendBlockData { *Cmd : "<1B>J" %4d{NumOfDataBytes / 3} }
  63. }
  64. }
  65. *Feature: PaperSize
  66. {
  67. *rcNameID: =PAPER_SIZE_DISPLAY
  68. *DefaultOption: A4
  69. *Option: A4
  70. {
  71. *rcNameID: =A4_DISPLAY
  72. *switch: InputBin
  73. {
  74. *case: Option1
  75. {
  76. *PrintableArea: PAIR(2879, 3714)
  77. *PrintableOrigin: PAIR(48, 314)
  78. *switch: Resolution
  79. {
  80. *case: Option1
  81. {
  82. *% Warning: the following printable width is adjusted (2879->2878) so it is divisible by the resolution X scale.
  83. *PrintableArea: PAIR(2878, 3714)
  84. }
  85. }
  86. }
  87. *case: Option2
  88. {
  89. *PrintableArea: PAIR(2879, 4208)
  90. *PrintableOrigin: PAIR(48, 0)
  91. *switch: Resolution
  92. {
  93. *case: Option1
  94. {
  95. *% Warning: the following printable width is adjusted (2879->2878) so it is divisible by the resolution X scale.
  96. *PrintableArea: PAIR(2878, 4208)
  97. }
  98. }
  99. }
  100. *case: Option3
  101. {
  102. *PrintableArea: PAIR(2879, 3714)
  103. *PrintableOrigin: PAIR(48, 314)
  104. *switch: Resolution
  105. {
  106. *case: Option1
  107. {
  108. *% Warning: the following printable width is adjusted (2879->2878) so it is divisible by the resolution X scale.
  109. *PrintableArea: PAIR(2878, 3714)
  110. }
  111. }
  112. }
  113. }
  114. }
  115. *Option: A4_ROTATED
  116. {
  117. *rcNameID: =A4_ROTATED_DISPLAY
  118. *switch: InputBin
  119. {
  120. *case: Option1
  121. {
  122. *PrintableArea: PAIR(4110, 2483)
  123. *PrintableOrigin: PAIR(48, 314)
  124. *switch: Resolution
  125. {
  126. *case: Option1
  127. {
  128. *% Warning: the following printable length is adjusted (2483->2482) so it is divisible by the resolution Y scale.
  129. *PrintableArea: PAIR(4110, 2482)
  130. }
  131. }
  132. }
  133. *case: Option2
  134. {
  135. *PrintableArea: PAIR(4110, 2977)
  136. *PrintableOrigin: PAIR(48, 0)
  137. *switch: Resolution
  138. {
  139. *case: Option1
  140. {
  141. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  142. *PrintableArea: PAIR(4110, 2976)
  143. }
  144. }
  145. }
  146. *case: Option3
  147. {
  148. *PrintableArea: PAIR(4110, 2483)
  149. *PrintableOrigin: PAIR(48, 314)
  150. *switch: Resolution
  151. {
  152. *case: Option1
  153. {
  154. *% Warning: the following printable length is adjusted (2483->2482) so it is divisible by the resolution Y scale.
  155. *PrintableArea: PAIR(4110, 2482)
  156. }
  157. }
  158. }
  159. }
  160. }
  161. *Option: A3
  162. {
  163. *rcNameID: =A3_DISPLAY
  164. *switch: InputBin
  165. {
  166. *case: Option1
  167. {
  168. *PrintableArea: PAIR(4110, 5460)
  169. *PrintableOrigin: PAIR(48, 314)
  170. }
  171. *case: Option2
  172. {
  173. *PrintableArea: PAIR(4110, 5954)
  174. *PrintableOrigin: PAIR(48, 0)
  175. }
  176. *case: Option3
  177. {
  178. *PrintableArea: PAIR(4110, 5460)
  179. *PrintableOrigin: PAIR(48, 314)
  180. }
  181. }
  182. }
  183. *Option: A5
  184. {
  185. *rcNameID: =A5_DISPLAY
  186. *switch: InputBin
  187. {
  188. *case: Option1
  189. {
  190. *PrintableArea: PAIR(2003, 2483)
  191. *PrintableOrigin: PAIR(48, 314)
  192. *switch: Resolution
  193. {
  194. *case: Option1
  195. {
  196. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable length is adjusted (2483->2482) so it is divisible by the resolution Y scale.
  198. *PrintableArea: PAIR(2002, 2482)
  199. }
  200. }
  201. }
  202. *case: Option2
  203. {
  204. *PrintableArea: PAIR(2003, 2977)
  205. *PrintableOrigin: PAIR(48, 0)
  206. *switch: Resolution
  207. {
  208. *case: Option1
  209. {
  210. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  211. *% Warning: the following printable length is adjusted (2977->2976) so it is divisible by the resolution Y scale.
  212. *PrintableArea: PAIR(2002, 2976)
  213. }
  214. }
  215. }
  216. *case: Option3
  217. {
  218. *PrintableArea: PAIR(2003, 2483)
  219. *PrintableOrigin: PAIR(48, 314)
  220. *switch: Resolution
  221. {
  222. *case: Option1
  223. {
  224. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  225. *% Warning: the following printable length is adjusted (2483->2482) so it is divisible by the resolution Y scale.
  226. *PrintableArea: PAIR(2002, 2482)
  227. }
  228. }
  229. }
  230. }
  231. }
  232. *Option: B4
  233. {
  234. *rcNameID: =B4_DISPLAY
  235. *switch: InputBin
  236. {
  237. *case: Option1
  238. {
  239. *PrintableArea: PAIR(3547, 4665)
  240. *PrintableOrigin: PAIR(48, 314)
  241. *switch: Resolution
  242. {
  243. *case: Option1
  244. {
  245. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  246. *% Warning: the following printable length is adjusted (4665->4664) so it is divisible by the resolution Y scale.
  247. *PrintableArea: PAIR(3546, 4664)
  248. }
  249. }
  250. }
  251. *case: Option2
  252. {
  253. *PrintableArea: PAIR(3547, 5159)
  254. *PrintableOrigin: PAIR(48, 0)
  255. *switch: Resolution
  256. {
  257. *case: Option1
  258. {
  259. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  260. *% Warning: the following printable length is adjusted (5159->5158) so it is divisible by the resolution Y scale.
  261. *PrintableArea: PAIR(3546, 5158)
  262. }
  263. }
  264. }
  265. *case: Option3
  266. {
  267. *PrintableArea: PAIR(3547, 4665)
  268. *PrintableOrigin: PAIR(48, 314)
  269. *switch: Resolution
  270. {
  271. *case: Option1
  272. {
  273. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  274. *% Warning: the following printable length is adjusted (4665->4664) so it is divisible by the resolution Y scale.
  275. *PrintableArea: PAIR(3546, 4664)
  276. }
  277. }
  278. }
  279. }
  280. }
  281. *Option: B4_JIS_ROTATED
  282. {
  283. *rcNameID: =B4_JIS_ROTATED_DISPLAY
  284. *switch: InputBin
  285. {
  286. *case: Option1
  287. {
  288. *PrintableArea: PAIR(4895, 3149)
  289. *PrintableOrigin: PAIR(132, 314)
  290. *switch: Resolution
  291. {
  292. *case: Option1
  293. {
  294. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  295. *% Warning: the following printable length is adjusted (3149->3148) so it is divisible by the resolution Y scale.
  296. *PrintableArea: PAIR(4894, 3148)
  297. }
  298. }
  299. }
  300. *case: Option2
  301. {
  302. *PrintableArea: PAIR(4895, 3643)
  303. *PrintableOrigin: PAIR(132, 0)
  304. *switch: Resolution
  305. {
  306. *case: Option1
  307. {
  308. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  309. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  310. *PrintableArea: PAIR(4894, 3642)
  311. }
  312. }
  313. }
  314. *case: Option3
  315. {
  316. *PrintableArea: PAIR(4895, 3149)
  317. *PrintableOrigin: PAIR(132, 314)
  318. *switch: Resolution
  319. {
  320. *case: Option1
  321. {
  322. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  323. *% Warning: the following printable length is adjusted (3149->3148) so it is divisible by the resolution Y scale.
  324. *PrintableArea: PAIR(4894, 3148)
  325. }
  326. }
  327. }
  328. }
  329. }
  330. *Option: B5
  331. {
  332. *rcNameID: =B5_DISPLAY
  333. *switch: InputBin
  334. {
  335. *case: Option1
  336. {
  337. *PrintableArea: PAIR(2485, 3149)
  338. *PrintableOrigin: PAIR(48, 314)
  339. *switch: Resolution
  340. {
  341. *case: Option1
  342. {
  343. *% Warning: the following printable width is adjusted (2485->2484) so it is divisible by the resolution X scale.
  344. *% Warning: the following printable length is adjusted (3149->3148) so it is divisible by the resolution Y scale.
  345. *PrintableArea: PAIR(2484, 3148)
  346. }
  347. }
  348. }
  349. *case: Option2
  350. {
  351. *PrintableArea: PAIR(2485, 3643)
  352. *PrintableOrigin: PAIR(48, 0)
  353. *switch: Resolution
  354. {
  355. *case: Option1
  356. {
  357. *% Warning: the following printable width is adjusted (2485->2484) so it is divisible by the resolution X scale.
  358. *% Warning: the following printable length is adjusted (3643->3642) so it is divisible by the resolution Y scale.
  359. *PrintableArea: PAIR(2484, 3642)
  360. }
  361. }
  362. }
  363. *case: Option3
  364. {
  365. *PrintableArea: PAIR(2485, 3149)
  366. *PrintableOrigin: PAIR(48, 314)
  367. *switch: Resolution
  368. {
  369. *case: Option1
  370. {
  371. *% Warning: the following printable width is adjusted (2485->2484) so it is divisible by the resolution X scale.
  372. *% Warning: the following printable length is adjusted (3149->3148) so it is divisible by the resolution Y scale.
  373. *PrintableArea: PAIR(2484, 3148)
  374. }
  375. }
  376. }
  377. }
  378. }
  379. *Option: B5_JIS_ROTATED
  380. {
  381. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  382. *switch: InputBin
  383. {
  384. *case: Option1
  385. {
  386. *PrintableArea: PAIR(3547, 2087)
  387. *PrintableOrigin: PAIR(48, 314)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  393. *% Warning: the following printable length is adjusted (2087->2086) so it is divisible by the resolution Y scale.
  394. *PrintableArea: PAIR(3546, 2086)
  395. }
  396. }
  397. }
  398. *case: Option2
  399. {
  400. *PrintableArea: PAIR(3547, 2581)
  401. *PrintableOrigin: PAIR(48, 0)
  402. *switch: Resolution
  403. {
  404. *case: Option1
  405. {
  406. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  407. *% Warning: the following printable length is adjusted (2581->2580) so it is divisible by the resolution Y scale.
  408. *PrintableArea: PAIR(3546, 2580)
  409. }
  410. }
  411. }
  412. *case: Option3
  413. {
  414. *PrintableArea: PAIR(3547, 2087)
  415. *PrintableOrigin: PAIR(48, 314)
  416. *switch: Resolution
  417. {
  418. *case: Option1
  419. {
  420. *% Warning: the following printable width is adjusted (3547->3546) so it is divisible by the resolution X scale.
  421. *% Warning: the following printable length is adjusted (2087->2086) so it is divisible by the resolution Y scale.
  422. *PrintableArea: PAIR(3546, 2086)
  423. }
  424. }
  425. }
  426. }
  427. }
  428. *Option: JAPANESE_POSTCARD
  429. {
  430. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  431. *switch: InputBin
  432. {
  433. *case: Option1
  434. {
  435. *PrintableArea: PAIR(1322, 1605)
  436. *PrintableOrigin: PAIR(48, 314)
  437. *switch: Resolution
  438. {
  439. *case: Option1
  440. {
  441. *% Warning: the following printable length is adjusted (1605->1604) so it is divisible by the resolution Y scale.
  442. *PrintableArea: PAIR(1322, 1604)
  443. }
  444. }
  445. }
  446. *case: Option2
  447. {
  448. *PrintableArea: PAIR(1322, 2099)
  449. *PrintableOrigin: PAIR(48, 0)
  450. *switch: Resolution
  451. {
  452. *case: Option1
  453. {
  454. *% Warning: the following printable length is adjusted (2099->2098) so it is divisible by the resolution Y scale.
  455. *PrintableArea: PAIR(1322, 2098)
  456. }
  457. }
  458. }
  459. *case: Option3
  460. {
  461. *PrintableArea: PAIR(1322, 1605)
  462. *PrintableOrigin: PAIR(48, 314)
  463. *switch: Resolution
  464. {
  465. *case: Option1
  466. {
  467. *% Warning: the following printable length is adjusted (1605->1604) so it is divisible by the resolution Y scale.
  468. *PrintableArea: PAIR(1322, 1604)
  469. }
  470. }
  471. }
  472. }
  473. }
  474. *Option: JAPANESE_POSTCARD_ROTATED
  475. {
  476. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  477. *switch: InputBin
  478. {
  479. *case: Option1
  480. {
  481. *PrintableArea: PAIR(2003, 924)
  482. *PrintableOrigin: PAIR(48, 314)
  483. *switch: Resolution
  484. {
  485. *case: Option1
  486. {
  487. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  488. *PrintableArea: PAIR(2002, 924)
  489. }
  490. }
  491. }
  492. *case: Option2
  493. {
  494. *PrintableArea: PAIR(2003, 1418)
  495. *PrintableOrigin: PAIR(48, 0)
  496. *switch: Resolution
  497. {
  498. *case: Option1
  499. {
  500. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  501. *PrintableArea: PAIR(2002, 1418)
  502. }
  503. }
  504. }
  505. *case: Option3
  506. {
  507. *PrintableArea: PAIR(2003, 924)
  508. *PrintableOrigin: PAIR(48, 314)
  509. *switch: Resolution
  510. {
  511. *case: Option1
  512. {
  513. *% Warning: the following printable width is adjusted (2003->2002) so it is divisible by the resolution X scale.
  514. *PrintableArea: PAIR(2002, 924)
  515. }
  516. }
  517. }
  518. }
  519. }
  520. *Option: 10X11
  521. {
  522. *rcNameID: =10X11_DISPLAY
  523. *switch: InputBin
  524. {
  525. *case: Option1
  526. {
  527. *PrintableArea: PAIR(2880, 3466)
  528. *PrintableOrigin: PAIR(10, 314)
  529. }
  530. *case: Option2
  531. {
  532. *PrintableArea: PAIR(2880, 3960)
  533. *PrintableOrigin: PAIR(10, 0)
  534. }
  535. *case: Option3
  536. {
  537. *PrintableArea: PAIR(2880, 3466)
  538. *PrintableOrigin: PAIR(10, 314)
  539. }
  540. }
  541. }
  542. *Option: 12X11
  543. {
  544. *rcNameID: =12X11_DISPLAY
  545. *switch: InputBin
  546. {
  547. *case: Option1
  548. {
  549. *PrintableArea: PAIR(3960, 3466)
  550. *PrintableOrigin: PAIR(10, 314)
  551. }
  552. *case: Option2
  553. {
  554. *PrintableArea: PAIR(3960, 3960)
  555. *PrintableOrigin: PAIR(10, 0)
  556. }
  557. *case: Option3
  558. {
  559. *PrintableArea: PAIR(3960, 3466)
  560. *PrintableOrigin: PAIR(10, 314)
  561. }
  562. }
  563. }
  564. *Option: 15X11
  565. {
  566. *rcNameID: =15X11_DISPLAY
  567. *switch: InputBin
  568. {
  569. *case: Option1
  570. {
  571. *PrintableArea: PAIR(4896, 3466)
  572. *PrintableOrigin: PAIR(180, 314)
  573. }
  574. *case: Option2
  575. {
  576. *PrintableArea: PAIR(4896, 3960)
  577. *PrintableOrigin: PAIR(180, 0)
  578. }
  579. *case: Option3
  580. {
  581. *PrintableArea: PAIR(4896, 3466)
  582. *PrintableOrigin: PAIR(180, 314)
  583. }
  584. }
  585. }
  586. *Option: CUSTOMSIZE
  587. {
  588. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  589. *MinSize: PAIR(1417, 1417)
  590. *MaxSize: PAIR(5400, 5952)
  591. *MaxPrintableWidth: 5400
  592. *MinLeftMargin: 0
  593. *CenterPrintable?: FALSE
  594. *switch: InputBin
  595. {
  596. *case: Option1
  597. {
  598. *TopMargin: 314
  599. *BottomMargin: 180
  600. }
  601. *case: Option2
  602. {
  603. *TopMargin: 0
  604. *BottomMargin: 0
  605. }
  606. *case: Option3
  607. {
  608. *TopMargin: 314
  609. *BottomMargin: 180
  610. }
  611. }
  612. *Command: CmdSelect
  613. {
  614. *Order: DOC_SETUP.3
  615. *Cmd: %v{(PhysPaperLength / 60) }
  616. }
  617. }
  618. }
  619. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  620. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4_ROTATED)
  621. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  622. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  623. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  624. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4_JIS_ROTATED)
  625. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  626. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5_JIS_ROTATED)
  627. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  628. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  629. *InvalidCombination: LIST(InputBin.Option2, PaperSize.CUSTOMSIZE)
  630. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  631. *InvalidCombination: LIST(InputBin.Option3, PaperSize.12X11)
  632. *InvalidCombination: LIST(InputBin.Option3, PaperSize.15X11)
  633. *Feature: PrintQuality
  634. {
  635. *rcNameID: =TEXT_QUALITY_DISPLAY
  636. *DefaultOption: LETTER_QUALITY
  637. *Option: LETTER_QUALITY
  638. {
  639. *rcNameID: =LETTER_QUALITY_DISPLAY
  640. }
  641. *Option: DRAFT_QUALITY
  642. {
  643. *rcNameID: =DRAFT_QUALITY_DISPLAY
  644. }
  645. }
  646. *Feature: Halftone
  647. {
  648. *rcNameID: =HALFTONING_DISPLAY
  649. *DefaultOption: HT_PATSIZE_AUTO
  650. *Option: HT_PATSIZE_AUTO
  651. {
  652. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  653. }
  654. *Option: HT_PATSIZE_SUPERCELL_M
  655. {
  656. *rcNameID: =HT_SUPERCELL_DISPLAY
  657. }
  658. *Option: HT_PATSIZE_6x6_M
  659. {
  660. *rcNameID: =HT_DITHER6X6_DISPLAY
  661. }
  662. *Option: HT_PATSIZE_8x8_M
  663. {
  664. *rcNameID: =HT_DITHER8X8_DISPLAY
  665. }
  666. }
  667. *Command: CmdStartDoc
  668. {
  669. *Order: DOC_SETUP.1
  670. *Cmd: "<1A>C<1B>H<1A>G<1B>%"<1B>Y<1B>M<1B>]<1B>A<1B>f"
  671. }
  672. *Command: CmdStartPage
  673. {
  674. *Order: PAGE_SETUP.1
  675. *Cmd: "<0D1B>a"
  676. }
  677. *Command: CmdEndJob
  678. {
  679. *Order: JOB_FINISH.1
  680. *Cmd: "<1B>b"
  681. }
  682. *RotateCoordinate?: FALSE
  683. *RotateRaster?: FALSE
  684. *RotateFont?: FALSE
  685. *switch: Orientation
  686. {
  687. *case: PORTRAIT
  688. {
  689. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  690. }
  691. *case: LANDSCAPE_CC270
  692. {
  693. *TextCaps: LIST(TC_RA_ABLE)
  694. }
  695. }
  696. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  697. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  698. *MaxLineSpacing: 297
  699. *XMoveThreshold: 0
  700. *XMoveUnit: 180
  701. *AbsXMovesRightOnly?: TRUE
  702. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,2448]{max_repeat((DestX / 2) )} }
  703. *LineSpacingMoveUnit: 120
  704. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 3) } }
  705. *Command: CmdCR { *Cmd : "<0D>" }
  706. *Command: CmdLF { *Cmd : "<0A>" }
  707. *Command: CmdFF { *Cmd : "<0C>" }
  708. *Command: CmdBackSpace { *Cmd : "<08>" }
  709. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  710. *EjectPageWithFF?: TRUE
  711. *switch: InputBin
  712. {
  713. *case: Option3
  714. {
  715. *EjectPageWithFF?: FALSE
  716. }
  717. }
  718. *OutputDataFormat: V_BYTE
  719. *OptimizeLeftBound?: FALSE
  720. *CursorXAfterSendBlockData: AT_GRXDATA_END
  721. *CursorYAfterSendBlockData: NO_MOVE
  722. *DefaultFont: 1
  723. *DefaultCTT: -1
  724. *switch: Orientation
  725. {
  726. *case: PORTRAIT
  727. {
  728. *DeviceFonts: LIST(1,2,3,4,6,7)
  729. }
  730. *case: LANDSCAPE_CC270
  731. {
  732. *DeviceFonts: LIST()
  733. }
  734. }
  735. *Command: CmdBoldOn { *Cmd : "<1B>!" }
  736. *Command: CmdBoldOff { *Cmd : "<1B>%"" }
  737. *Command: CmdItalicOn { *Cmd : "<1B>i1" }
  738. *Command: CmdItalicOff { *Cmd : "<1B>i0" }
  739. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  740. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  741. *MirrorRasterByte?: TRUE