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.

711 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: "jib33pmk.gpd"
  9. *CodePage: 949
  10. *ModelName: "�������� JP-B330+ (KSSM)"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "kssmkres.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: TRACTOR
  31. *Option: TRACTOR
  32. {
  33. *rcNameID: =TRACTOR_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.3
  37. *Cmd: "<1B19>0"
  38. }
  39. }
  40. *Option: MANUAL
  41. {
  42. *rcNameID: =MANUAL_FEED_DISPLAY
  43. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.3
  47. *Cmd: "<1B19>0"
  48. }
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option2
  55. *Option: Option1
  56. {
  57. *Name: "360 x 180 " =DOTS_PER_INCH
  58. *DPI: PAIR(360, 180)
  59. *TextDPI: PAIR(360, 180)
  60. *PinsPerLogPass: 24
  61. *PinsPerPhysPass: 24
  62. *MinStripBlankPixels: 360
  63. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  64. *% Warning: this resolution has RES_BO_NO_ADJACENT set in GPC, which is ignored by GPD. Custom code is needed.
  65. *SpotDiameter: 170
  66. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  67. }
  68. *Option: Option2
  69. {
  70. *Name: "180 x 180 " =DOTS_PER_INCH
  71. *DPI: PAIR(180, 180)
  72. *TextDPI: PAIR(180, 180)
  73. *PinsPerLogPass: 24
  74. *PinsPerPhysPass: 24
  75. *MinStripBlankPixels: 180
  76. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  77. *SpotDiameter: 120
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  79. }
  80. *Option: Option3
  81. {
  82. *Name: "120 x 180 " =DOTS_PER_INCH
  83. *DPI: PAIR(120, 180)
  84. *TextDPI: PAIR(120, 180)
  85. *PinsPerLogPass: 24
  86. *PinsPerPhysPass: 24
  87. *MinStripBlankPixels: 120
  88. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  89. *SpotDiameter: 100
  90. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  91. }
  92. }
  93. *Feature: PaperSize
  94. {
  95. *rcNameID: =PAPER_SIZE_DISPLAY
  96. *DefaultOption: LETTER
  97. *Option: LETTER
  98. {
  99. *rcNameID: =LETTER_DISPLAY
  100. *Command: CmdSelect
  101. {
  102. *Order: DOC_SETUP.4
  103. *Cmd: "<1B>2<1B>CB"
  104. }
  105. *switch: InputBin
  106. {
  107. *case: TRACTOR
  108. {
  109. *PrintableArea: PAIR(2960, 3640)
  110. *PrintableOrigin: PAIR(50, 120)
  111. *switch: Resolution
  112. {
  113. *case: Option3
  114. {
  115. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  116. *PrintableArea: PAIR(2958, 3640)
  117. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  118. *PrintableOrigin: PAIR(51, 120)
  119. }
  120. }
  121. }
  122. *case: MANUAL
  123. {
  124. *PrintableArea: PAIR(2960, 3615)
  125. *PrintableOrigin: PAIR(50, 120)
  126. *switch: Resolution
  127. {
  128. *case: Option1
  129. {
  130. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  131. *PrintableArea: PAIR(2960, 3614)
  132. }
  133. *case: Option2
  134. {
  135. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  136. *PrintableArea: PAIR(2960, 3614)
  137. }
  138. *case: Option3
  139. {
  140. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  141. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  142. *PrintableArea: PAIR(2958, 3614)
  143. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  144. *PrintableOrigin: PAIR(51, 120)
  145. }
  146. }
  147. }
  148. }
  149. }
  150. *Option: Option2
  151. {
  152. *rcNameID: 258
  153. *OptionID: 258
  154. *PageDimensions: PAIR(3060, 3960)
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.4
  158. *Cmd: "<1B>2<1B>CB"
  159. }
  160. *switch: InputBin
  161. {
  162. *case: TRACTOR
  163. {
  164. *PrintableArea: PAIR(2960, 3640)
  165. *PrintableOrigin: PAIR(50, 120)
  166. *switch: Resolution
  167. {
  168. *case: Option3
  169. {
  170. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  171. *PrintableArea: PAIR(2958, 3640)
  172. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  173. *PrintableOrigin: PAIR(51, 120)
  174. }
  175. }
  176. }
  177. *case: MANUAL
  178. {
  179. *PrintableArea: PAIR(2960, 3615)
  180. *PrintableOrigin: PAIR(50, 120)
  181. *switch: Resolution
  182. {
  183. *case: Option1
  184. {
  185. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  186. *PrintableArea: PAIR(2960, 3614)
  187. }
  188. *case: Option2
  189. {
  190. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  191. *PrintableArea: PAIR(2960, 3614)
  192. }
  193. *case: Option3
  194. {
  195. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  196. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  197. *PrintableArea: PAIR(2958, 3614)
  198. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  199. *PrintableOrigin: PAIR(51, 120)
  200. }
  201. }
  202. }
  203. }
  204. }
  205. *Option: LEGAL
  206. {
  207. *rcNameID: =LEGAL_DISPLAY
  208. *Command: CmdSelect
  209. {
  210. *Order: DOC_SETUP.4
  211. *Cmd: "<1B>2<1B>CT"
  212. }
  213. *switch: InputBin
  214. {
  215. *case: TRACTOR
  216. {
  217. *PrintableArea: PAIR(2960, 4720)
  218. *PrintableOrigin: PAIR(50, 120)
  219. *switch: Resolution
  220. {
  221. *case: Option3
  222. {
  223. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  224. *PrintableArea: PAIR(2958, 4720)
  225. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  226. *PrintableOrigin: PAIR(51, 120)
  227. }
  228. }
  229. }
  230. *case: MANUAL
  231. {
  232. *PrintableArea: PAIR(2960, 4695)
  233. *PrintableOrigin: PAIR(50, 120)
  234. *switch: Resolution
  235. {
  236. *case: Option1
  237. {
  238. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  239. *PrintableArea: PAIR(2960, 4694)
  240. }
  241. *case: Option2
  242. {
  243. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  244. *PrintableArea: PAIR(2960, 4694)
  245. }
  246. *case: Option3
  247. {
  248. *% Warning: the following printable width is adjusted (2960->2958) so it is divisible by the resolution X scale.
  249. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  250. *PrintableArea: PAIR(2958, 4694)
  251. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  252. *PrintableOrigin: PAIR(51, 120)
  253. }
  254. }
  255. }
  256. }
  257. }
  258. *Option: A4
  259. {
  260. *rcNameID: =A4_DISPLAY
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.4
  264. *Cmd: "<1B>2<1B>CF"
  265. }
  266. *switch: InputBin
  267. {
  268. *case: TRACTOR
  269. {
  270. *PrintableArea: PAIR(2877, 3888)
  271. *PrintableOrigin: PAIR(50, 120)
  272. *switch: Resolution
  273. {
  274. *case: Option2
  275. {
  276. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  277. *PrintableArea: PAIR(2876, 3888)
  278. }
  279. *case: Option3
  280. {
  281. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  282. *PrintableArea: PAIR(2874, 3888)
  283. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  284. *PrintableOrigin: PAIR(51, 120)
  285. }
  286. }
  287. }
  288. *case: MANUAL
  289. {
  290. *PrintableArea: PAIR(2877, 3863)
  291. *PrintableOrigin: PAIR(50, 120)
  292. *switch: Resolution
  293. {
  294. *case: Option1
  295. {
  296. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  297. *PrintableArea: PAIR(2877, 3862)
  298. }
  299. *case: Option2
  300. {
  301. *% Warning: the following printable width is adjusted (2877->2876) so it is divisible by the resolution X scale.
  302. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  303. *PrintableArea: PAIR(2876, 3862)
  304. }
  305. *case: Option3
  306. {
  307. *% Warning: the following printable width is adjusted (2877->2874) so it is divisible by the resolution X scale.
  308. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  309. *PrintableArea: PAIR(2874, 3862)
  310. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  311. *PrintableOrigin: PAIR(51, 120)
  312. }
  313. }
  314. }
  315. }
  316. }
  317. *Option: A5
  318. {
  319. *rcNameID: =A5_DISPLAY
  320. *Command: CmdSelect
  321. {
  322. *Order: DOC_SETUP.4
  323. *Cmd: "<1B>2<1B>C2"
  324. }
  325. *switch: InputBin
  326. {
  327. *case: TRACTOR
  328. {
  329. *PrintableArea: PAIR(1999, 2657)
  330. *PrintableOrigin: PAIR(50, 120)
  331. *switch: Resolution
  332. {
  333. *case: Option1
  334. {
  335. *% Warning: the following printable length is adjusted (2657->2656) so it is divisible by the resolution Y scale.
  336. *PrintableArea: PAIR(1999, 2656)
  337. }
  338. *case: Option2
  339. {
  340. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  341. *% Warning: the following printable length is adjusted (2657->2656) so it is divisible by the resolution Y scale.
  342. *PrintableArea: PAIR(1998, 2656)
  343. }
  344. *case: Option3
  345. {
  346. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  347. *% Warning: the following printable length is adjusted (2657->2656) so it is divisible by the resolution Y scale.
  348. *PrintableArea: PAIR(1998, 2656)
  349. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  350. *PrintableOrigin: PAIR(51, 120)
  351. }
  352. }
  353. }
  354. *case: MANUAL
  355. {
  356. *PrintableArea: PAIR(1999, 2632)
  357. *PrintableOrigin: PAIR(50, 120)
  358. *switch: Resolution
  359. {
  360. *case: Option2
  361. {
  362. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  363. *PrintableArea: PAIR(1998, 2632)
  364. }
  365. *case: Option3
  366. {
  367. *% Warning: the following printable width is adjusted (1999->1998) so it is divisible by the resolution X scale.
  368. *PrintableArea: PAIR(1998, 2632)
  369. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  370. *PrintableOrigin: PAIR(51, 120)
  371. }
  372. }
  373. }
  374. }
  375. }
  376. *Option: B4
  377. {
  378. *rcNameID: =B4_DISPLAY
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.4
  382. *Cmd: "<1B>2<1B>CV"
  383. }
  384. *switch: InputBin
  385. {
  386. *case: TRACTOR
  387. {
  388. *PrintableArea: PAIR(3543, 4839)
  389. *PrintableOrigin: PAIR(50, 120)
  390. *switch: Resolution
  391. {
  392. *case: Option1
  393. {
  394. *% Warning: the following printable length is adjusted (4839->4838) so it is divisible by the resolution Y scale.
  395. *PrintableArea: PAIR(3543, 4838)
  396. }
  397. *case: Option2
  398. {
  399. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  400. *% Warning: the following printable length is adjusted (4839->4838) so it is divisible by the resolution Y scale.
  401. *PrintableArea: PAIR(3542, 4838)
  402. }
  403. *case: Option3
  404. {
  405. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  406. *% Warning: the following printable length is adjusted (4839->4838) so it is divisible by the resolution Y scale.
  407. *PrintableArea: PAIR(3540, 4838)
  408. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  409. *PrintableOrigin: PAIR(51, 120)
  410. }
  411. }
  412. }
  413. *case: MANUAL
  414. {
  415. *PrintableArea: PAIR(3543, 4814)
  416. *PrintableOrigin: PAIR(50, 120)
  417. *switch: Resolution
  418. {
  419. *case: Option2
  420. {
  421. *% Warning: the following printable width is adjusted (3543->3542) so it is divisible by the resolution X scale.
  422. *PrintableArea: PAIR(3542, 4814)
  423. }
  424. *case: Option3
  425. {
  426. *% Warning: the following printable width is adjusted (3543->3540) so it is divisible by the resolution X scale.
  427. *PrintableArea: PAIR(3540, 4814)
  428. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  429. *PrintableOrigin: PAIR(51, 120)
  430. }
  431. }
  432. }
  433. }
  434. }
  435. *Option: B5
  436. {
  437. *rcNameID: =B5_DISPLAY
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.4
  441. *Cmd: "<1B>2<1B>C="
  442. }
  443. *switch: InputBin
  444. {
  445. *case: TRACTOR
  446. {
  447. *PrintableArea: PAIR(2481, 3323)
  448. *PrintableOrigin: PAIR(50, 120)
  449. *switch: Resolution
  450. {
  451. *case: Option1
  452. {
  453. *% Warning: the following printable length is adjusted (3323->3322) so it is divisible by the resolution Y scale.
  454. *PrintableArea: PAIR(2481, 3322)
  455. }
  456. *case: Option2
  457. {
  458. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  459. *% Warning: the following printable length is adjusted (3323->3322) so it is divisible by the resolution Y scale.
  460. *PrintableArea: PAIR(2480, 3322)
  461. }
  462. *case: Option3
  463. {
  464. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  465. *% Warning: the following printable length is adjusted (3323->3322) so it is divisible by the resolution Y scale.
  466. *PrintableArea: PAIR(2478, 3322)
  467. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  468. *PrintableOrigin: PAIR(51, 120)
  469. }
  470. }
  471. }
  472. *case: MANUAL
  473. {
  474. *PrintableArea: PAIR(2481, 3298)
  475. *PrintableOrigin: PAIR(50, 120)
  476. *switch: Resolution
  477. {
  478. *case: Option2
  479. {
  480. *% Warning: the following printable width is adjusted (2481->2480) so it is divisible by the resolution X scale.
  481. *PrintableArea: PAIR(2480, 3298)
  482. }
  483. *case: Option3
  484. {
  485. *% Warning: the following printable width is adjusted (2481->2478) so it is divisible by the resolution X scale.
  486. *PrintableArea: PAIR(2478, 3298)
  487. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  488. *PrintableOrigin: PAIR(51, 120)
  489. }
  490. }
  491. }
  492. }
  493. }
  494. *Option: FANFOLD_US
  495. {
  496. *rcNameID: =FANFOLD_US_DISPLAY
  497. *Command: CmdSelect
  498. {
  499. *Order: DOC_SETUP.4
  500. *Cmd: "<1B>2<1B>CB"
  501. }
  502. *switch: InputBin
  503. {
  504. *case: TRACTOR
  505. {
  506. *PrintableArea: PAIR(4895, 3960)
  507. *PrintableOrigin: PAIR(0, 0)
  508. *switch: Resolution
  509. {
  510. *case: Option2
  511. {
  512. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  513. *PrintableArea: PAIR(4894, 3960)
  514. }
  515. *case: Option3
  516. {
  517. *% Warning: the following printable width is adjusted (4895->4893) so it is divisible by the resolution X scale.
  518. *PrintableArea: PAIR(4893, 3960)
  519. }
  520. }
  521. }
  522. *case: MANUAL
  523. {
  524. *PrintableArea: PAIR(4895, 3615)
  525. *PrintableOrigin: PAIR(0, 120)
  526. *switch: Resolution
  527. {
  528. *case: Option1
  529. {
  530. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  531. *PrintableArea: PAIR(4895, 3614)
  532. }
  533. *case: Option2
  534. {
  535. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  536. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  537. *PrintableArea: PAIR(4894, 3614)
  538. }
  539. *case: Option3
  540. {
  541. *% Warning: the following printable width is adjusted (4895->4893) so it is divisible by the resolution X scale.
  542. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  543. *PrintableArea: PAIR(4893, 3614)
  544. }
  545. }
  546. }
  547. }
  548. }
  549. *Option: Option9
  550. {
  551. *rcNameID: 259
  552. *OptionID: 259
  553. *PageDimensions: PAIR(4995, 3960)
  554. *Command: CmdSelect
  555. {
  556. *Order: DOC_SETUP.4
  557. *Cmd: "<1B>2<1B>CB"
  558. }
  559. *switch: InputBin
  560. {
  561. *case: TRACTOR
  562. {
  563. *PrintableArea: PAIR(4895, 3640)
  564. *PrintableOrigin: PAIR(50, 120)
  565. *switch: Resolution
  566. {
  567. *case: Option2
  568. {
  569. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  570. *PrintableArea: PAIR(4894, 3640)
  571. }
  572. *case: Option3
  573. {
  574. *% Warning: the following printable width is adjusted (4895->4893) so it is divisible by the resolution X scale.
  575. *PrintableArea: PAIR(4893, 3640)
  576. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  577. *PrintableOrigin: PAIR(51, 120)
  578. }
  579. }
  580. }
  581. *case: MANUAL
  582. {
  583. *PrintableArea: PAIR(4895, 3615)
  584. *PrintableOrigin: PAIR(50, 120)
  585. *switch: Resolution
  586. {
  587. *case: Option1
  588. {
  589. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  590. *PrintableArea: PAIR(4895, 3614)
  591. }
  592. *case: Option2
  593. {
  594. *% Warning: the following printable width is adjusted (4895->4894) so it is divisible by the resolution X scale.
  595. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  596. *PrintableArea: PAIR(4894, 3614)
  597. }
  598. *case: Option3
  599. {
  600. *% Warning: the following printable width is adjusted (4895->4893) so it is divisible by the resolution X scale.
  601. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  602. *PrintableArea: PAIR(4893, 3614)
  603. *% Warning: the following printable origin X is adjusted (50->51) so it is divisible by the resolution X scale.
  604. *PrintableOrigin: PAIR(51, 120)
  605. }
  606. }
  607. }
  608. }
  609. }
  610. *Option: CUSTOMSIZE
  611. {
  612. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  613. *MinSize: PAIR(360, 360)
  614. *MaxSize: PAIR(5940, 32767)
  615. *MaxPrintableWidth: 4896
  616. *MinLeftMargin: 0
  617. *CenterPrintable?: FALSE
  618. *switch: InputBin
  619. {
  620. *case: TRACTOR
  621. {
  622. *TopMargin: 0
  623. *BottomMargin: 0
  624. }
  625. *case: MANUAL
  626. {
  627. *TopMargin: 120
  628. *BottomMargin: 225
  629. }
  630. }
  631. *Command: CmdSelect
  632. {
  633. *Order: DOC_SETUP.4
  634. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  635. }
  636. }
  637. }
  638. *Feature: Halftone
  639. {
  640. *rcNameID: =HALFTONING_DISPLAY
  641. *DefaultOption: HT_PATSIZE_AUTO
  642. *Option: HT_PATSIZE_AUTO
  643. {
  644. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  645. }
  646. *Option: HT_PATSIZE_SUPERCELL_M
  647. {
  648. *rcNameID: =HT_SUPERCELL_DISPLAY
  649. }
  650. *Option: HT_PATSIZE_6x6_M
  651. {
  652. *rcNameID: =HT_DITHER6X6_DISPLAY
  653. }
  654. *Option: HT_PATSIZE_8x8_M
  655. {
  656. *rcNameID: =HT_DITHER8X8_DISPLAY
  657. }
  658. }
  659. *Command: CmdStartDoc
  660. {
  661. *Order: DOC_SETUP.1
  662. *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>U<01>"
  663. }
  664. *Command: CmdStartPage
  665. {
  666. *Order: PAGE_SETUP.1
  667. *Cmd: "<0D>"
  668. }
  669. *Command: CmdEndJob
  670. {
  671. *Order: JOB_FINISH.1
  672. *Cmd: "<1B>@"
  673. }
  674. *RotateCoordinate?: FALSE
  675. *RotateRaster?: FALSE
  676. *RotateFont?: FALSE
  677. *switch: Orientation
  678. {
  679. *case: PORTRAIT
  680. {
  681. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  682. }
  683. *case: LANDSCAPE_CC270
  684. {
  685. *TextCaps: LIST(TC_RA_ABLE)
  686. }
  687. }
  688. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  689. *YMoveAttributes: LIST(SEND_CR_FIRST)
  690. *MaxLineSpacing: 255
  691. *XMoveThreshold: 0
  692. *YMoveThreshold: *
  693. *XMoveUnit: 60
  694. *YMoveUnit: 180
  695. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,816]{max_repeat((DestX / 6) )} }
  696. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  697. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  698. *Command: CmdCR { *Cmd : "<0D>" }
  699. *Command: CmdLF { *Cmd : "<0A>" }
  700. *Command: CmdFF { *Cmd : "<0C>" }
  701. *Command: CmdBackSpace { *Cmd : "<08>" }
  702. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  703. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  704. *EjectPageWithFF?: TRUE
  705. *OutputDataFormat: V_BYTE
  706. *OptimizeLeftBound?: FALSE
  707. *CursorXAfterSendBlockData: AT_GRXDATA_END
  708. *CursorYAfterSendBlockData: NO_MOVE
  709. *DefaultCTT: 0
  710. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  711. *Command: CmdBoldOff { *Cmd : "<1B>F" }