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.

696 lines
26 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: "stjp100j.gpd"
  9. *ModelName: "Star JP-100"
  10. *MasterUnits: PAIR(480, 480)
  11. *ResourceDLL: "st21jres.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: "160 x 160 " =DOTS_PER_INCH
  54. *DPI: PAIR(160, 160)
  55. *TextDPI: PAIR(160, 160)
  56. *PinsPerLogPass: 24
  57. *PinsPerPhysPass: 24
  58. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  59. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  60. *SpotDiameter: 120
  61. *Command: CmdSendBlockData { *Cmd : "<1B>J" %4d{NumOfDataBytes / 3} }
  62. }
  63. }
  64. *Feature: PaperSize
  65. {
  66. *rcNameID: =PAPER_SIZE_DISPLAY
  67. *DefaultOption: A4
  68. *Option: A4_ROTATED
  69. {
  70. *rcNameID: =A4_ROTATED_DISPLAY
  71. *switch: InputBin
  72. {
  73. *case: Option1
  74. {
  75. *PrintableArea: PAIR(4800, 3525)
  76. *PrintableOrigin: PAIR(67, 445)
  77. *switch: Resolution
  78. {
  79. *case: Option1
  80. {
  81. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  82. *% Warning: the following printable length is adjusted (3525->3522) so it is divisible by the resolution Y scale.
  83. *PrintableArea: PAIR(4797, 3522)
  84. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  85. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  86. *PrintableOrigin: PAIR(69, 447)
  87. }
  88. }
  89. }
  90. *case: Option2
  91. {
  92. *PrintableArea: PAIR(4800, 3970)
  93. *PrintableOrigin: PAIR(67, 0)
  94. *switch: Resolution
  95. {
  96. *case: Option1
  97. {
  98. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  99. *% Warning: the following printable length is adjusted (3970->3969) so it is divisible by the resolution Y scale.
  100. *PrintableArea: PAIR(4797, 3969)
  101. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  102. *PrintableOrigin: PAIR(69, 0)
  103. }
  104. }
  105. }
  106. *case: Option3
  107. {
  108. *PrintableArea: PAIR(4800, 3670)
  109. *PrintableOrigin: PAIR(67, 150)
  110. *switch: Resolution
  111. {
  112. *case: Option1
  113. {
  114. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  115. *% Warning: the following printable length is adjusted (3670->3669) so it is divisible by the resolution Y scale.
  116. *PrintableArea: PAIR(4797, 3669)
  117. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  118. *PrintableOrigin: PAIR(69, 150)
  119. }
  120. }
  121. }
  122. }
  123. }
  124. *Option: A5
  125. {
  126. *rcNameID: =A5_DISPLAY
  127. *switch: InputBin
  128. {
  129. *case: Option1
  130. {
  131. *PrintableArea: PAIR(2664, 3525)
  132. *PrintableOrigin: PAIR(67, 445)
  133. *switch: Resolution
  134. {
  135. *case: Option1
  136. {
  137. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  138. *% Warning: the following printable length is adjusted (3525->3522) so it is divisible by the resolution Y scale.
  139. *PrintableArea: PAIR(2661, 3522)
  140. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  141. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  142. *PrintableOrigin: PAIR(69, 447)
  143. }
  144. }
  145. }
  146. *case: Option2
  147. {
  148. *PrintableArea: PAIR(2664, 3970)
  149. *PrintableOrigin: PAIR(67, 0)
  150. *switch: Resolution
  151. {
  152. *case: Option1
  153. {
  154. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  155. *% Warning: the following printable length is adjusted (3970->3969) so it is divisible by the resolution Y scale.
  156. *PrintableArea: PAIR(2661, 3969)
  157. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  158. *PrintableOrigin: PAIR(69, 0)
  159. }
  160. }
  161. }
  162. *case: Option3
  163. {
  164. *PrintableArea: PAIR(2664, 3670)
  165. *PrintableOrigin: PAIR(67, 150)
  166. *switch: Resolution
  167. {
  168. *case: Option1
  169. {
  170. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  171. *% Warning: the following printable length is adjusted (3670->3669) so it is divisible by the resolution Y scale.
  172. *PrintableArea: PAIR(2661, 3669)
  173. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  174. *PrintableOrigin: PAIR(69, 150)
  175. }
  176. }
  177. }
  178. }
  179. }
  180. *Option: A3
  181. {
  182. *rcNameID: =A3_DISPLAY
  183. *switch: InputBin
  184. {
  185. *case: Option1
  186. {
  187. *PrintableArea: PAIR(4800, 7494)
  188. *PrintableOrigin: PAIR(67, 445)
  189. *switch: Resolution
  190. {
  191. *case: Option1
  192. {
  193. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  194. *% Warning: the following printable length is adjusted (7494->7491) so it is divisible by the resolution Y scale.
  195. *PrintableArea: PAIR(4797, 7491)
  196. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  197. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  198. *PrintableOrigin: PAIR(69, 447)
  199. }
  200. }
  201. }
  202. *case: Option2
  203. {
  204. *PrintableArea: PAIR(4800, 7939)
  205. *PrintableOrigin: PAIR(67, 0)
  206. *switch: Resolution
  207. {
  208. *case: Option1
  209. {
  210. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  211. *% Warning: the following printable length is adjusted (7939->7938) so it is divisible by the resolution Y scale.
  212. *PrintableArea: PAIR(4797, 7938)
  213. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  214. *PrintableOrigin: PAIR(69, 0)
  215. }
  216. }
  217. }
  218. *case: Option3
  219. {
  220. *PrintableArea: PAIR(4800, 7639)
  221. *PrintableOrigin: PAIR(67, 150)
  222. *switch: Resolution
  223. {
  224. *case: Option1
  225. {
  226. *% Warning: the following printable width is adjusted (4800->4797) so it is divisible by the resolution X scale.
  227. *% Warning: the following printable length is adjusted (7639->7638) so it is divisible by the resolution Y scale.
  228. *PrintableArea: PAIR(4797, 7638)
  229. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  230. *PrintableOrigin: PAIR(69, 150)
  231. }
  232. }
  233. }
  234. }
  235. }
  236. *Option: A4
  237. {
  238. *rcNameID: =A4_DISPLAY
  239. *switch: InputBin
  240. {
  241. *case: Option1
  242. {
  243. *PrintableArea: PAIR(3836, 5166)
  244. *PrintableOrigin: PAIR(67, 445)
  245. *switch: Resolution
  246. {
  247. *case: Option1
  248. {
  249. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  250. *% Warning: the following printable length is adjusted (5166->5163) so it is divisible by the resolution Y scale.
  251. *PrintableArea: PAIR(3834, 5163)
  252. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  253. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  254. *PrintableOrigin: PAIR(69, 447)
  255. }
  256. }
  257. }
  258. *case: Option2
  259. {
  260. *PrintableArea: PAIR(3836, 5611)
  261. *PrintableOrigin: PAIR(67, 0)
  262. *switch: Resolution
  263. {
  264. *case: Option1
  265. {
  266. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  267. *% Warning: the following printable length is adjusted (5611->5610) so it is divisible by the resolution Y scale.
  268. *PrintableArea: PAIR(3834, 5610)
  269. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  270. *PrintableOrigin: PAIR(69, 0)
  271. }
  272. }
  273. }
  274. *case: Option3
  275. {
  276. *PrintableArea: PAIR(3836, 5311)
  277. *PrintableOrigin: PAIR(67, 150)
  278. *switch: Resolution
  279. {
  280. *case: Option1
  281. {
  282. *% Warning: the following printable width is adjusted (3836->3834) so it is divisible by the resolution X scale.
  283. *% Warning: the following printable length is adjusted (5311->5310) so it is divisible by the resolution Y scale.
  284. *PrintableArea: PAIR(3834, 5310)
  285. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  286. *PrintableOrigin: PAIR(69, 150)
  287. }
  288. }
  289. }
  290. }
  291. }
  292. *Option: B5
  293. {
  294. *rcNameID: =B5_DISPLAY
  295. *switch: InputBin
  296. {
  297. *case: Option1
  298. {
  299. *PrintableArea: PAIR(3308, 4413)
  300. *PrintableOrigin: PAIR(67, 445)
  301. *switch: Resolution
  302. {
  303. *case: Option1
  304. {
  305. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  306. *% Warning: the following printable length is adjusted (4413->4410) so it is divisible by the resolution Y scale.
  307. *PrintableArea: PAIR(3306, 4410)
  308. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  309. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  310. *PrintableOrigin: PAIR(69, 447)
  311. }
  312. }
  313. }
  314. *case: Option2
  315. {
  316. *PrintableArea: PAIR(3308, 4858)
  317. *PrintableOrigin: PAIR(67, 0)
  318. *switch: Resolution
  319. {
  320. *case: Option1
  321. {
  322. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  323. *% Warning: the following printable length is adjusted (4858->4857) so it is divisible by the resolution Y scale.
  324. *PrintableArea: PAIR(3306, 4857)
  325. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  326. *PrintableOrigin: PAIR(69, 0)
  327. }
  328. }
  329. }
  330. *case: Option3
  331. {
  332. *PrintableArea: PAIR(3308, 4558)
  333. *PrintableOrigin: PAIR(67, 150)
  334. *switch: Resolution
  335. {
  336. *case: Option1
  337. {
  338. *% Warning: the following printable width is adjusted (3308->3306) so it is divisible by the resolution X scale.
  339. *% Warning: the following printable length is adjusted (4558->4557) so it is divisible by the resolution Y scale.
  340. *PrintableArea: PAIR(3306, 4557)
  341. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  342. *PrintableOrigin: PAIR(69, 150)
  343. }
  344. }
  345. }
  346. }
  347. }
  348. *Option: JAPANESE_POSTCARD
  349. {
  350. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  351. *switch: InputBin
  352. {
  353. *case: Option1
  354. {
  355. *PrintableArea: PAIR(1757, 2353)
  356. *PrintableOrigin: PAIR(67, 445)
  357. *switch: Resolution
  358. {
  359. *case: Option1
  360. {
  361. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  362. *% Warning: the following printable length is adjusted (2353->2349) so it is divisible by the resolution Y scale.
  363. *PrintableArea: PAIR(1755, 2349)
  364. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  365. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  366. *PrintableOrigin: PAIR(69, 447)
  367. }
  368. }
  369. }
  370. *case: Option2
  371. {
  372. *PrintableArea: PAIR(1757, 2798)
  373. *PrintableOrigin: PAIR(67, 0)
  374. *switch: Resolution
  375. {
  376. *case: Option1
  377. {
  378. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  379. *% Warning: the following printable length is adjusted (2798->2796) so it is divisible by the resolution Y scale.
  380. *PrintableArea: PAIR(1755, 2796)
  381. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  382. *PrintableOrigin: PAIR(69, 0)
  383. }
  384. }
  385. }
  386. *case: Option3
  387. {
  388. *PrintableArea: PAIR(1757, 2498)
  389. *PrintableOrigin: PAIR(67, 150)
  390. *switch: Resolution
  391. {
  392. *case: Option1
  393. {
  394. *% Warning: the following printable width is adjusted (1757->1755) so it is divisible by the resolution X scale.
  395. *% Warning: the following printable length is adjusted (2498->2496) so it is divisible by the resolution Y scale.
  396. *PrintableArea: PAIR(1755, 2496)
  397. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  398. *PrintableOrigin: PAIR(69, 150)
  399. }
  400. }
  401. }
  402. }
  403. }
  404. *Option: JAPANESE_POSTCARD_ROTATED
  405. {
  406. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  407. *switch: InputBin
  408. {
  409. *case: Option1
  410. {
  411. *PrintableArea: PAIR(2664, 1446)
  412. *PrintableOrigin: PAIR(67, 445)
  413. *switch: Resolution
  414. {
  415. *case: Option1
  416. {
  417. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  418. *% Warning: the following printable length is adjusted (1446->1443) so it is divisible by the resolution Y scale.
  419. *PrintableArea: PAIR(2661, 1443)
  420. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  421. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  422. *PrintableOrigin: PAIR(69, 447)
  423. }
  424. }
  425. }
  426. *case: Option2
  427. {
  428. *PrintableArea: PAIR(2664, 1891)
  429. *PrintableOrigin: PAIR(67, 0)
  430. *switch: Resolution
  431. {
  432. *case: Option1
  433. {
  434. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  435. *% Warning: the following printable length is adjusted (1891->1890) so it is divisible by the resolution Y scale.
  436. *PrintableArea: PAIR(2661, 1890)
  437. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  438. *PrintableOrigin: PAIR(69, 0)
  439. }
  440. }
  441. }
  442. *case: Option3
  443. {
  444. *PrintableArea: PAIR(2664, 1591)
  445. *PrintableOrigin: PAIR(67, 150)
  446. *switch: Resolution
  447. {
  448. *case: Option1
  449. {
  450. *% Warning: the following printable width is adjusted (2664->2661) so it is divisible by the resolution X scale.
  451. *% Warning: the following printable length is adjusted (1591->1590) so it is divisible by the resolution Y scale.
  452. *PrintableArea: PAIR(2661, 1590)
  453. *% Warning: the following printable origin X is adjusted (67->69) so it is divisible by the resolution X scale.
  454. *PrintableOrigin: PAIR(69, 150)
  455. }
  456. }
  457. }
  458. }
  459. }
  460. *Option: 10X11
  461. {
  462. *rcNameID: =10X11_DISPLAY
  463. *switch: InputBin
  464. {
  465. *case: Option1
  466. {
  467. *PrintableArea: PAIR(4800, 4835)
  468. *PrintableOrigin: PAIR(0, 445)
  469. *switch: Resolution
  470. {
  471. *case: Option1
  472. {
  473. *% Warning: the following printable length is adjusted (4835->4833) so it is divisible by the resolution Y scale.
  474. *PrintableArea: PAIR(4800, 4833)
  475. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  476. *PrintableOrigin: PAIR(0, 447)
  477. }
  478. }
  479. }
  480. *case: Option2
  481. {
  482. *PrintableArea: PAIR(4800, 5280)
  483. *PrintableOrigin: PAIR(0, 0)
  484. }
  485. *case: Option3
  486. {
  487. *PrintableArea: PAIR(4800, 4980)
  488. *PrintableOrigin: PAIR(0, 150)
  489. }
  490. }
  491. }
  492. *Option: B4
  493. {
  494. *rcNameID: =B4_DISPLAY
  495. *switch: InputBin
  496. {
  497. *case: Option1
  498. {
  499. *PrintableArea: PAIR(4800, 6433)
  500. *PrintableOrigin: PAIR(0, 445)
  501. *switch: Resolution
  502. {
  503. *case: Option1
  504. {
  505. *% Warning: the following printable length is adjusted (6433->6429) so it is divisible by the resolution Y scale.
  506. *PrintableArea: PAIR(4800, 6429)
  507. *% Warning: the following printable origin Y is adjusted (445->447) so it is divisible by the resolution Y scale.
  508. *PrintableOrigin: PAIR(0, 447)
  509. }
  510. }
  511. }
  512. *case: Option2
  513. {
  514. *PrintableArea: PAIR(4800, 6878)
  515. *PrintableOrigin: PAIR(0, 0)
  516. *switch: Resolution
  517. {
  518. *case: Option1
  519. {
  520. *% Warning: the following printable length is adjusted (6878->6876) so it is divisible by the resolution Y scale.
  521. *PrintableArea: PAIR(4800, 6876)
  522. }
  523. }
  524. }
  525. *case: Option3
  526. {
  527. *PrintableArea: PAIR(4800, 6578)
  528. *PrintableOrigin: PAIR(0, 150)
  529. *switch: Resolution
  530. {
  531. *case: Option1
  532. {
  533. *% Warning: the following printable length is adjusted (6578->6576) so it is divisible by the resolution Y scale.
  534. *PrintableArea: PAIR(4800, 6576)
  535. }
  536. }
  537. }
  538. }
  539. }
  540. *Option: CUSTOMSIZE
  541. {
  542. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  543. *MinSize: PAIR(1890, 1890)
  544. *MaxSize: PAIR(4800, 7920)
  545. *MaxPrintableWidth: 4800
  546. *MinLeftMargin: 0
  547. *CenterPrintable?: FALSE
  548. *switch: InputBin
  549. {
  550. *case: Option1
  551. {
  552. *TopMargin: 445
  553. *BottomMargin: 0
  554. }
  555. *case: Option2
  556. {
  557. *TopMargin: 0
  558. *BottomMargin: 0
  559. }
  560. *case: Option3
  561. {
  562. *TopMargin: 150
  563. *BottomMargin: 150
  564. }
  565. }
  566. *Command: CmdSelect
  567. {
  568. *Order: DOC_SETUP.3
  569. *Cmd: %v{(PhysPaperLength / 53) }
  570. }
  571. }
  572. }
  573. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4_ROTATED)
  574. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A5)
  575. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A3)
  576. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A4)
  577. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B5)
  578. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  579. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD_ROTATED)
  580. *InvalidCombination: LIST(InputBin.Option3, PaperSize.10X11)
  581. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  582. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A3)
  583. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4_ROTATED)
  584. *Feature: PrintQuality
  585. {
  586. *rcNameID: =TEXT_QUALITY_DISPLAY
  587. *DefaultOption: LETTER_QUALITY
  588. *Option: LETTER_QUALITY
  589. {
  590. *rcNameID: =LETTER_QUALITY_DISPLAY
  591. }
  592. *Option: DRAFT_QUALITY
  593. {
  594. *rcNameID: =DRAFT_QUALITY_DISPLAY
  595. }
  596. }
  597. *Feature: Halftone
  598. {
  599. *rcNameID: =HALFTONING_DISPLAY
  600. *DefaultOption: HT_PATSIZE_AUTO
  601. *Option: HT_PATSIZE_AUTO
  602. {
  603. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  604. }
  605. *Option: HT_PATSIZE_SUPERCELL_M
  606. {
  607. *rcNameID: =HT_SUPERCELL_DISPLAY
  608. }
  609. *Option: HT_PATSIZE_6x6_M
  610. {
  611. *rcNameID: =HT_DITHER6X6_DISPLAY
  612. }
  613. *Option: HT_PATSIZE_8x8_M
  614. {
  615. *rcNameID: =HT_DITHER8X8_DISPLAY
  616. }
  617. }
  618. *Command: CmdStartDoc
  619. {
  620. *Order: DOC_SETUP.1
  621. *Cmd: "<1B>H<1B>%"<1B>Y<1B>M<1B>]<1B>A<1B>f"
  622. }
  623. *Command: CmdStartPage
  624. {
  625. *Order: PAGE_SETUP.1
  626. *Cmd: "<0D1B>a"
  627. }
  628. *Command: CmdEndJob
  629. {
  630. *Order: JOB_FINISH.1
  631. *Cmd: "<1B>b"
  632. }
  633. *RotateCoordinate?: FALSE
  634. *RotateRaster?: FALSE
  635. *RotateFont?: FALSE
  636. *switch: Orientation
  637. {
  638. *case: PORTRAIT
  639. {
  640. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  641. }
  642. *case: LANDSCAPE_CC270
  643. {
  644. *TextCaps: LIST(TC_RA_ABLE)
  645. }
  646. }
  647. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  648. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  649. *MaxLineSpacing: 396
  650. *XMoveThreshold: 0
  651. *XMoveUnit: 160
  652. *AbsXMovesRightOnly?: TRUE
  653. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,2175]{max_repeat((DestX / 3) )} }
  654. *LineSpacingMoveUnit: 120
  655. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  656. *Command: CmdCR { *Cmd : "<0D>" }
  657. *Command: CmdLF { *Cmd : "<0A>" }
  658. *Command: CmdFF { *Cmd : "<0D><0C>" }
  659. *Command: CmdBackSpace { *Cmd : "<08>" }
  660. *% Error: no Abs or Rel YMoveCommands found. Correct it manually.
  661. *EjectPageWithFF?: TRUE
  662. *switch: InputBin
  663. {
  664. *case: Option2
  665. {
  666. *EjectPageWithFF?: FALSE
  667. }
  668. *case: Option3
  669. {
  670. *EjectPageWithFF?: FALSE
  671. }
  672. }
  673. *OutputDataFormat: V_BYTE
  674. *OptimizeLeftBound?: FALSE
  675. *CursorXAfterSendBlockData: AT_GRXDATA_END
  676. *CursorYAfterSendBlockData: NO_MOVE
  677. *DefaultFont: 1
  678. *DefaultCTT: -1
  679. *switch: Orientation
  680. {
  681. *case: PORTRAIT
  682. {
  683. *DeviceFonts: LIST(1,2,3,4,5,6,7,8)
  684. }
  685. *case: LANDSCAPE_CC270
  686. {
  687. *DeviceFonts: LIST()
  688. }
  689. }
  690. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  691. *Command: CmdBoldOff { *Cmd : "<1C>c,,0." }
  692. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  693. *Command: CmdItalicOff { *Cmd : "<1C>c,,0." }
  694. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  695. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  696. *MirrorRasterByte?: TRUE