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.

709 lines
26 KiB

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