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.

819 lines
22 KiB

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