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.

817 lines
22 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "NCP90.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "NEC Pinwriter P90"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "nc24res.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: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: Option2
  35. {
  36. *rcNameID: 260
  37. *Command: CmdSelect
  38. {
  39. *Order: DOC_SETUP.3
  40. *Cmd: "<1B19>1"
  41. }
  42. }
  43. *Option: Option3
  44. {
  45. *rcNameID: 261
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.3
  49. *Cmd: "<1B19>2"
  50. }
  51. }
  52. *Option: MANUAL
  53. {
  54. *rcNameID: =MANUAL_FEED_DISPLAY
  55. }
  56. }
  57. *Feature: Resolution
  58. {
  59. *rcNameID: =RESOLUTION_DISPLAY
  60. *DefaultOption: Option1
  61. *Option: Option1
  62. {
  63. *Name: "180 x 180 " =DOTS_PER_INCH
  64. *DPI: PAIR(180, 180)
  65. *TextDPI: PAIR(180, 180)
  66. *PinsPerLogPass: 24
  67. *PinsPerPhysPass: 24
  68. *MinStripBlankPixels: 180
  69. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  70. *SpotDiameter: 140
  71. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  72. }
  73. *Option: Option2
  74. {
  75. *Name: "360 x 360 " =DOTS_PER_INCH
  76. *DPI: PAIR(360, 360)
  77. *TextDPI: PAIR(360, 360)
  78. *PinsPerLogPass: 48
  79. *PinsPerPhysPass: 24
  80. *MinStripBlankPixels: 360
  81. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  82. *SpotDiameter: 170
  83. *Command: CmdSendBlockData { *Cmd : "<1C>Z" %l{NumOfDataBytes / 3} }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "360 x 180 " =DOTS_PER_INCH
  88. *DPI: PAIR(360, 180)
  89. *TextDPI: PAIR(360, 180)
  90. *PinsPerLogPass: 24
  91. *PinsPerPhysPass: 24
  92. *MinStripBlankPixels: 360
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 150
  95. *Command: CmdSendBlockData { *Cmd : "<1C>Z" %l{NumOfDataBytes / 3} }
  96. }
  97. *Option: Option4
  98. {
  99. *Name: "120 x 180 " =DOTS_PER_INCH
  100. *DPI: PAIR(120, 180)
  101. *TextDPI: PAIR(120, 180)
  102. *PinsPerLogPass: 24
  103. *PinsPerPhysPass: 24
  104. *MinStripBlankPixels: 120
  105. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  106. *SpotDiameter: 120
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  108. }
  109. }
  110. *Feature: PaperSize
  111. {
  112. *rcNameID: =PAPER_SIZE_DISPLAY
  113. *DefaultOption: LETTER
  114. *Option: LETTER
  115. {
  116. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.4
  120. *Cmd: "<1B>2<1B>CB"
  121. }
  122. *switch: InputBin
  123. {
  124. *case: TRACTOR
  125. {
  126. *PrintableArea: PAIR(3060, 3960)
  127. *PrintableOrigin: PAIR(0, 0)
  128. }
  129. *case: Option2
  130. {
  131. *PrintableArea: PAIR(3060, 3760)
  132. *PrintableOrigin: PAIR(0, 100)
  133. }
  134. *case: Option3
  135. {
  136. *PrintableArea: PAIR(3060, 3760)
  137. *PrintableOrigin: PAIR(0, 100)
  138. }
  139. *case: MANUAL
  140. {
  141. *PrintableArea: PAIR(3060, 3760)
  142. *PrintableOrigin: PAIR(0, 100)
  143. }
  144. }
  145. }
  146. *Option: A4
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.4
  152. *Cmd: "<1B>2<1B>CF"
  153. }
  154. *switch: InputBin
  155. {
  156. *case: TRACTOR
  157. {
  158. *PrintableArea: PAIR(2977, 4208)
  159. *PrintableOrigin: PAIR(0, 0)
  160. *switch: Resolution
  161. {
  162. *case: Option1
  163. {
  164. *PrintableArea: PAIR(2976, 4208)
  165. }
  166. *case: Option4
  167. {
  168. *PrintableArea: PAIR(2976, 4208)
  169. }
  170. }
  171. }
  172. *case: Option2
  173. {
  174. *PrintableArea: PAIR(2977, 4008)
  175. *PrintableOrigin: PAIR(0, 100)
  176. *switch: Resolution
  177. {
  178. *case: Option1
  179. {
  180. *PrintableArea: PAIR(2976, 4008)
  181. }
  182. *case: Option4
  183. {
  184. *PrintableArea: PAIR(2976, 4008)
  185. }
  186. }
  187. }
  188. *case: Option3
  189. {
  190. *PrintableArea: PAIR(2977, 4008)
  191. *PrintableOrigin: PAIR(0, 100)
  192. *switch: Resolution
  193. {
  194. *case: Option1
  195. {
  196. *PrintableArea: PAIR(2976, 4008)
  197. }
  198. *case: Option4
  199. {
  200. *PrintableArea: PAIR(2976, 4008)
  201. }
  202. }
  203. }
  204. *case: MANUAL
  205. {
  206. *PrintableArea: PAIR(2977, 4008)
  207. *PrintableOrigin: PAIR(0, 100)
  208. *switch: Resolution
  209. {
  210. *case: Option1
  211. {
  212. *PrintableArea: PAIR(2976, 4008)
  213. }
  214. *case: Option4
  215. {
  216. *PrintableArea: PAIR(2976, 4008)
  217. }
  218. }
  219. }
  220. }
  221. }
  222. *Option: A3
  223. {
  224. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.4
  228. *Cmd: "<1B>2<1B>Cc"
  229. }
  230. *switch: InputBin
  231. {
  232. *case: TRACTOR
  233. {
  234. *PrintableArea: PAIR(4208, 5954)
  235. *PrintableOrigin: PAIR(0, 0)
  236. *switch: Resolution
  237. {
  238. *case: Option4
  239. {
  240. *PrintableArea: PAIR(4206, 5954)
  241. }
  242. }
  243. }
  244. *case: Option2
  245. {
  246. *PrintableArea: PAIR(4208, 5754)
  247. *PrintableOrigin: PAIR(0, 100)
  248. *switch: Resolution
  249. {
  250. *case: Option4
  251. {
  252. *PrintableArea: PAIR(4206, 5754)
  253. }
  254. }
  255. }
  256. *case: Option3
  257. {
  258. *PrintableArea: PAIR(4208, 5754)
  259. *PrintableOrigin: PAIR(0, 100)
  260. *switch: Resolution
  261. {
  262. *case: Option4
  263. {
  264. *PrintableArea: PAIR(4206, 5754)
  265. }
  266. }
  267. }
  268. *case: MANUAL
  269. {
  270. *PrintableArea: PAIR(4208, 5754)
  271. *PrintableOrigin: PAIR(0, 100)
  272. *switch: Resolution
  273. {
  274. *case: Option4
  275. {
  276. *PrintableArea: PAIR(4206, 5754)
  277. }
  278. }
  279. }
  280. }
  281. }
  282. *Option: LEGAL
  283. {
  284. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.4
  288. *Cmd: "<1B>2<1B>CT"
  289. }
  290. *switch: InputBin
  291. {
  292. *case: TRACTOR
  293. {
  294. *PrintableArea: PAIR(3060, 5040)
  295. *PrintableOrigin: PAIR(0, 0)
  296. }
  297. *case: Option2
  298. {
  299. *PrintableArea: PAIR(3060, 4840)
  300. *PrintableOrigin: PAIR(0, 100)
  301. }
  302. *case: Option3
  303. {
  304. *PrintableArea: PAIR(3060, 4840)
  305. *PrintableOrigin: PAIR(0, 100)
  306. }
  307. *case: MANUAL
  308. {
  309. *PrintableArea: PAIR(3060, 4840)
  310. *PrintableOrigin: PAIR(0, 100)
  311. }
  312. }
  313. }
  314. *Option: B4
  315. {
  316. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  317. *Command: CmdSelect
  318. {
  319. *Order: DOC_SETUP.4
  320. *Cmd: "<1B>2<1B>CT"
  321. }
  322. *switch: InputBin
  323. {
  324. *case: TRACTOR
  325. {
  326. *PrintableArea: PAIR(3542, 5018)
  327. *PrintableOrigin: PAIR(0, 0)
  328. *switch: Resolution
  329. {
  330. *case: Option4
  331. {
  332. *PrintableArea: PAIR(3540, 5018)
  333. }
  334. }
  335. }
  336. *case: Option2
  337. {
  338. *PrintableArea: PAIR(3542, 4818)
  339. *PrintableOrigin: PAIR(0, 100)
  340. *switch: Resolution
  341. {
  342. *case: Option4
  343. {
  344. *PrintableArea: PAIR(3540, 4818)
  345. }
  346. }
  347. }
  348. *case: Option3
  349. {
  350. *PrintableArea: PAIR(3542, 4818)
  351. *PrintableOrigin: PAIR(0, 100)
  352. *switch: Resolution
  353. {
  354. *case: Option4
  355. {
  356. *PrintableArea: PAIR(3540, 4818)
  357. }
  358. }
  359. }
  360. *case: MANUAL
  361. {
  362. *PrintableArea: PAIR(3542, 4818)
  363. *PrintableOrigin: PAIR(0, 100)
  364. *switch: Resolution
  365. {
  366. *case: Option4
  367. {
  368. *PrintableArea: PAIR(3540, 4818)
  369. }
  370. }
  371. }
  372. }
  373. }
  374. *Option: B5
  375. {
  376. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  377. *Command: CmdSelect
  378. {
  379. *Order: DOC_SETUP.4
  380. *Cmd: "<1B>2<1B>C="
  381. }
  382. *switch: InputBin
  383. {
  384. *case: TRACTOR
  385. {
  386. *PrintableArea: PAIR(2581, 3643)
  387. *PrintableOrigin: PAIR(0, 0)
  388. *switch: Resolution
  389. {
  390. *case: Option1
  391. {
  392. *PrintableArea: PAIR(2580, 3642)
  393. }
  394. *case: Option3
  395. {
  396. *PrintableArea: PAIR(2581, 3642)
  397. }
  398. *case: Option4
  399. {
  400. *PrintableArea: PAIR(2580, 3642)
  401. }
  402. }
  403. }
  404. *case: Option2
  405. {
  406. *PrintableArea: PAIR(2581, 3443)
  407. *PrintableOrigin: PAIR(0, 100)
  408. *switch: Resolution
  409. {
  410. *case: Option1
  411. {
  412. *PrintableArea: PAIR(2580, 3442)
  413. }
  414. *case: Option3
  415. {
  416. *PrintableArea: PAIR(2581, 3442)
  417. }
  418. *case: Option4
  419. {
  420. *PrintableArea: PAIR(2580, 3442)
  421. }
  422. }
  423. }
  424. *case: Option3
  425. {
  426. *PrintableArea: PAIR(2581, 3443)
  427. *PrintableOrigin: PAIR(0, 100)
  428. *switch: Resolution
  429. {
  430. *case: Option1
  431. {
  432. *PrintableArea: PAIR(2580, 3442)
  433. }
  434. *case: Option3
  435. {
  436. *PrintableArea: PAIR(2581, 3442)
  437. }
  438. *case: Option4
  439. {
  440. *PrintableArea: PAIR(2580, 3442)
  441. }
  442. }
  443. }
  444. *case: MANUAL
  445. {
  446. *PrintableArea: PAIR(2581, 3443)
  447. *PrintableOrigin: PAIR(0, 100)
  448. *switch: Resolution
  449. {
  450. *case: Option1
  451. {
  452. *PrintableArea: PAIR(2580, 3442)
  453. }
  454. *case: Option3
  455. {
  456. *PrintableArea: PAIR(2581, 3442)
  457. }
  458. *case: Option4
  459. {
  460. *PrintableArea: PAIR(2580, 3442)
  461. }
  462. }
  463. }
  464. }
  465. }
  466. *Option: EXECUTIVE
  467. {
  468. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  469. *Command: CmdSelect
  470. {
  471. *Order: DOC_SETUP.4
  472. *Cmd: "<1B>2<1B>C?"
  473. }
  474. *switch: InputBin
  475. {
  476. *case: TRACTOR
  477. {
  478. *PrintableArea: PAIR(2610, 3780)
  479. *PrintableOrigin: PAIR(0, 0)
  480. }
  481. *case: Option2
  482. {
  483. *PrintableArea: PAIR(2610, 3580)
  484. *PrintableOrigin: PAIR(0, 100)
  485. }
  486. *case: Option3
  487. {
  488. *PrintableArea: PAIR(2610, 3580)
  489. *PrintableOrigin: PAIR(0, 100)
  490. }
  491. *case: MANUAL
  492. {
  493. *PrintableArea: PAIR(2610, 3580)
  494. *PrintableOrigin: PAIR(0, 100)
  495. }
  496. }
  497. }
  498. *Option: FOLIO
  499. {
  500. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  501. *Command: CmdSelect
  502. {
  503. *Order: DOC_SETUP.4
  504. *Cmd: "<1B>2<1B>CN"
  505. }
  506. *switch: InputBin
  507. {
  508. *case: TRACTOR
  509. {
  510. *PrintableArea: PAIR(3060, 4680)
  511. *PrintableOrigin: PAIR(0, 0)
  512. }
  513. *case: Option2
  514. {
  515. *PrintableArea: PAIR(3060, 4480)
  516. *PrintableOrigin: PAIR(0, 100)
  517. }
  518. *case: Option3
  519. {
  520. *PrintableArea: PAIR(3060, 4480)
  521. *PrintableOrigin: PAIR(0, 100)
  522. }
  523. *case: MANUAL
  524. {
  525. *PrintableArea: PAIR(3060, 4480)
  526. *PrintableOrigin: PAIR(0, 100)
  527. }
  528. }
  529. }
  530. *Option: FANFOLD_US
  531. {
  532. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  533. *Command: CmdSelect
  534. {
  535. *Order: DOC_SETUP.4
  536. *Cmd: "<1B>2<1B>CB"
  537. }
  538. *switch: InputBin
  539. {
  540. *case: TRACTOR
  541. {
  542. *PrintableArea: PAIR(4896, 3960)
  543. *PrintableOrigin: PAIR(0, 0)
  544. }
  545. *case: Option2
  546. {
  547. *PrintableArea: PAIR(4896, 3760)
  548. *PrintableOrigin: PAIR(0, 100)
  549. }
  550. *case: Option3
  551. {
  552. *PrintableArea: PAIR(4896, 3760)
  553. *PrintableOrigin: PAIR(0, 100)
  554. }
  555. *case: MANUAL
  556. {
  557. *PrintableArea: PAIR(4896, 3760)
  558. *PrintableOrigin: PAIR(0, 100)
  559. }
  560. }
  561. }
  562. *Option: Option10
  563. {
  564. *rcNameID: 258
  565. *PageDimensions: PAIR(3060, 4320)
  566. *Command: CmdSelect
  567. {
  568. *Order: DOC_SETUP.4
  569. *Cmd: "<1B>2<1B>CH"
  570. }
  571. *switch: InputBin
  572. {
  573. *case: TRACTOR
  574. {
  575. *PrintableArea: PAIR(3060, 4320)
  576. *PrintableOrigin: PAIR(0, 0)
  577. }
  578. *case: Option2
  579. {
  580. *PrintableArea: PAIR(3060, 4120)
  581. *PrintableOrigin: PAIR(0, 100)
  582. }
  583. *case: Option3
  584. {
  585. *PrintableArea: PAIR(3060, 4120)
  586. *PrintableOrigin: PAIR(0, 100)
  587. }
  588. *case: MANUAL
  589. {
  590. *PrintableArea: PAIR(3060, 4120)
  591. *PrintableOrigin: PAIR(0, 100)
  592. }
  593. }
  594. }
  595. *Option: Option11
  596. {
  597. *rcNameID: 259
  598. *PageDimensions: PAIR(5400, 4320)
  599. *Command: CmdSelect
  600. {
  601. *Order: DOC_SETUP.4
  602. *Cmd: "<1B>2<1B>CH"
  603. }
  604. *switch: InputBin
  605. {
  606. *case: TRACTOR
  607. {
  608. *PrintableArea: PAIR(4896, 4320)
  609. *PrintableOrigin: PAIR(0, 0)
  610. }
  611. *case: Option2
  612. {
  613. *PrintableArea: PAIR(4896, 4120)
  614. *PrintableOrigin: PAIR(0, 100)
  615. }
  616. *case: Option3
  617. {
  618. *PrintableArea: PAIR(4896, 4120)
  619. *PrintableOrigin: PAIR(0, 100)
  620. }
  621. *case: MANUAL
  622. {
  623. *PrintableArea: PAIR(4896, 4120)
  624. *PrintableOrigin: PAIR(0, 100)
  625. }
  626. }
  627. }
  628. *Option: CUSTOMSIZE
  629. {
  630. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  631. *MinSize: PAIR(360, 360)
  632. *MaxSize: PAIR(5040, 32767)
  633. *MaxPrintableWidth: 4896
  634. *MinLeftMargin: 0
  635. *CenterPrintable?: FALSE
  636. *switch: InputBin
  637. {
  638. *case: TRACTOR
  639. {
  640. *TopMargin: 0
  641. *BottomMargin: 0
  642. }
  643. *case: Option2
  644. {
  645. *TopMargin: 100
  646. *BottomMargin: 100
  647. }
  648. *case: Option3
  649. {
  650. *TopMargin: 100
  651. *BottomMargin: 100
  652. }
  653. *case: MANUAL
  654. {
  655. *TopMargin: 100
  656. *BottomMargin: 100
  657. }
  658. }
  659. *Command: CmdSelect
  660. {
  661. *Order: DOC_SETUP.4
  662. *Cmd: "<1B>2"
  663. }
  664. }
  665. }
  666. *Feature: ColorMode
  667. {
  668. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  669. *DefaultOption: Color
  670. *Option: Mono
  671. {
  672. *rcNameID: =MONO_DISPLAY
  673. *DevNumOfPlanes: 1
  674. *DevBPP: 1
  675. *Color? : FALSE
  676. }
  677. *Option: Color
  678. {
  679. *rcNameID: =COLOR_DISPLAY
  680. *DevNumOfPlanes: 4
  681. *DevBPP: 1
  682. *DrvBPP: 4
  683. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  684. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  685. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  686. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  687. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  688. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  689. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  690. *Command: CmdSelectRedColor { *Cmd : "<1B>r<01>" }
  691. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  692. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  693. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  694. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  695. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  696. }
  697. }
  698. *Feature: Halftone
  699. {
  700. *rcNameID: =HALFTONING_DISPLAY
  701. *DefaultOption: HT_PATSIZE_AUTO
  702. *Option: HT_PATSIZE_AUTO
  703. {
  704. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  705. }
  706. *Ifdef: WINNT_50
  707. *Option: HT_PATSIZE_SUPERCELL_M
  708. {
  709. *rcNameID: =HT_SUPERCELL_DISPLAY
  710. }
  711. *Endif:
  712. *Option: HT_PATSIZE_6x6_M
  713. {
  714. *rcNameID: =HT_DITHER6X6_DISPLAY
  715. }
  716. *Option: HT_PATSIZE_8x8_M
  717. {
  718. *rcNameID: =HT_DITHER8X8_DISPLAY
  719. }
  720. }
  721. *Command: CmdStartDoc
  722. {
  723. *Order: DOC_SETUP.1
  724. *Cmd: "<1B>@<1C>I<011B>l<011B>6<1B>R<001B>T<1B>r<001B>P"
  725. }
  726. *Command: CmdStartPage
  727. {
  728. *Order: PAGE_SETUP.1
  729. *Cmd: "<0D>"
  730. }
  731. *Command: CmdEndJob
  732. {
  733. *Order: JOB_FINISH.1
  734. *Cmd: "<1B>@"
  735. }
  736. *Command: CmdEndPage
  737. {
  738. *Order: PAGE_FINISH.1
  739. *Cmd: "<0D>"
  740. }
  741. *RotateCoordinate?: FALSE
  742. *RotateRaster?: FALSE
  743. *RotateFont?: FALSE
  744. *switch: Orientation
  745. {
  746. *case: PORTRAIT
  747. {
  748. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  749. }
  750. *case: LANDSCAPE_CC270
  751. {
  752. *TextCaps: LIST(TC_RA_ABLE)
  753. }
  754. }
  755. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  756. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  757. *MaxLineSpacing: 255
  758. *XMoveThreshold: 0
  759. *XMoveUnit: 60
  760. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  761. *Command: CmdSetLineSpacing { *Cmd : "<1C>F<1C>3" %c[0,255]{LinefeedSpacing } }
  762. *Command: CmdCR { *Cmd : "<0D>" }
  763. *Command: CmdLF { *Cmd : "<0A>" }
  764. *Command: CmdFF { *Cmd : "<0C>" }
  765. *Command: CmdBackSpace { *Cmd : "<08>" }
  766. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  767. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  768. *EjectPageWithFF?: TRUE
  769. *switch: PaperSize
  770. {
  771. *case: CUSTOMSIZE
  772. {
  773. *EjectPageWithFF?: FALSE
  774. *switch: InputBin
  775. {
  776. *case: Option2
  777. {
  778. *EjectPageWithFF?: TRUE
  779. }
  780. *case: Option3
  781. {
  782. *EjectPageWithFF?: TRUE
  783. }
  784. *case: MANUAL
  785. {
  786. *EjectPageWithFF?: TRUE
  787. }
  788. }
  789. }
  790. }
  791. *OutputDataFormat: V_BYTE
  792. *OptimizeLeftBound?: FALSE
  793. *CursorXAfterSendBlockData: AT_GRXDATA_END
  794. *CursorYAfterSendBlockData: NO_MOVE
  795. *DefaultFont: 1
  796. *DefaultCTT: 1
  797. *switch: Orientation
  798. {
  799. *case: PORTRAIT
  800. {
  801. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  802. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,
  803. + 33,34,35,36,37,38)
  804. }
  805. *case: LANDSCAPE_CC270
  806. {
  807. *DeviceFonts: LIST()
  808. }
  809. }
  810. *Command: CmdBoldOn { *Cmd : "<1B>E<1B>G" }
  811. *Command: CmdBoldOff { *Cmd : "<1B>F<1B>H" }
  812. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  813. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  814. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  815. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  816. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" }
  817. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }