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.

649 lines
28 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "NCT465AJ.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.000"
  9. *CodePage: 1252
  10. *ModelName: "NEC PC-PR101/T165A"
  11. *MasterUnits: PAIR(1600, 1600)
  12. *ResourceDLL: "NCT4JRES.DLL"
  13. *PrinterType: SERIAL
  14. *FontCartSlots: 1
  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: Option2
  32. *Option: Option1
  33. {
  34. *rcNameID: 258
  35. }
  36. *Option: Option2
  37. {
  38. *rcNameID: 259
  39. }
  40. *Option: Option3
  41. {
  42. *rcNameID: 260
  43. }
  44. }
  45. *Feature: Resolution
  46. {
  47. *rcNameID: =RESOLUTION_DISPLAY
  48. *DefaultOption: Option1
  49. *Option: Option1
  50. {
  51. *Name: "400 x 400 dots per inch"
  52. *DPI: PAIR(400, 400)
  53. *TextDPI: PAIR(400, 400)
  54. *PinsPerLogPass: 32
  55. *PinsPerPhysPass: 32
  56. *MinStripBlankPixels: 270
  57. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  58. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  59. *SpotDiameter: 120
  60. *Command: CmdSendBlockData { *Cmd : "<1C>bP,32," %4d{NumOfDataBytes / 4}"." }
  61. *Command: CmdSelect
  62. {
  63. *Order: DOC_SETUP.1
  64. *Cmd: "<1C>d400."
  65. }
  66. }
  67. *Option: Option2
  68. {
  69. *Name: "160 x 160 dots per inch"
  70. *DPI: PAIR(160, 160)
  71. *TextDPI: PAIR(160, 160)
  72. *PinsPerLogPass: 24
  73. *PinsPerPhysPass: 24
  74. *MinStripBlankPixels: 270
  75. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  76. *% Error: this resolution has RES_BO_OEMGRXFILTER set in GPC. You must port over the custom code.
  77. *SpotDiameter: 120
  78. *Command: CmdSendBlockData { *Cmd : "<1B>J" %4d{NumOfDataBytes / 3} }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.1
  82. *Cmd: "<1C>d400."
  83. }
  84. }
  85. }
  86. *Feature: PaperSize
  87. {
  88. *rcNameID: =PAPER_SIZE_DISPLAY
  89. *DefaultOption: A4
  90. *Option: A4
  91. {
  92. *rcNameID: =A4_DISPLAY
  93. *switch: InputBin
  94. {
  95. *case: Option1
  96. {
  97. *PrintableArea: PAIR(12600, 15869)
  98. *PrintableOrigin: PAIR(316, 1575)
  99. *switch: Resolution
  100. {
  101. *case: Option1
  102. {
  103. *% Warning: the following printable length is adjusted (15869->15868) so it is divisible by the resolution Y scale.
  104. *PrintableArea: PAIR(12600, 15868)
  105. *% Warning: the following printable origin Y is adjusted (1575->1576) so it is divisible by the resolution Y scale.
  106. *PrintableOrigin: PAIR(316, 1576)
  107. }
  108. *case: Option2
  109. {
  110. *% Warning: the following printable width is adjusted (12600->12590) so it is divisible by the resolution X scale.
  111. *% Warning: the following printable length is adjusted (15869->15860) so it is divisible by the resolution Y scale.
  112. *PrintableArea: PAIR(12590, 15860)
  113. *% Warning: the following printable origin X is adjusted (316->320) so it is divisible by the resolution X scale.
  114. *% Warning: the following printable origin Y is adjusted (1575->1580) so it is divisible by the resolution Y scale.
  115. *PrintableOrigin: PAIR(320, 1580)
  116. }
  117. }
  118. }
  119. *case: Option2
  120. {
  121. *PrintableArea: PAIR(12600, 16814)
  122. *PrintableOrigin: PAIR(316, 630)
  123. *switch: Resolution
  124. {
  125. *case: Option1
  126. {
  127. *% Warning: the following printable length is adjusted (16814->16812) so it is divisible by the resolution Y scale.
  128. *PrintableArea: PAIR(12600, 16812)
  129. *% Warning: the following printable origin Y is adjusted (630->632) so it is divisible by the resolution Y scale.
  130. *PrintableOrigin: PAIR(316, 632)
  131. }
  132. *case: Option2
  133. {
  134. *% Warning: the following printable width is adjusted (12600->12590) so it is divisible by the resolution X scale.
  135. *% Warning: the following printable length is adjusted (16814->16810) so it is divisible by the resolution Y scale.
  136. *PrintableArea: PAIR(12590, 16810)
  137. *% Warning: the following printable origin X is adjusted (316->320) so it is divisible by the resolution X scale.
  138. *PrintableOrigin: PAIR(320, 630)
  139. }
  140. }
  141. }
  142. *case: Option3
  143. {
  144. *PrintableArea: PAIR(12600, 17631)
  145. *PrintableOrigin: PAIR(316, 315)
  146. *switch: Resolution
  147. {
  148. *case: Option1
  149. {
  150. *% Warning: the following printable length is adjusted (17631->17628) so it is divisible by the resolution Y scale.
  151. *PrintableArea: PAIR(12600, 17628)
  152. *% Warning: the following printable origin Y is adjusted (315->316) so it is divisible by the resolution Y scale.
  153. *PrintableOrigin: PAIR(316, 316)
  154. }
  155. *case: Option2
  156. {
  157. *% Warning: the following printable width is adjusted (12600->12590) so it is divisible by the resolution X scale.
  158. *% Warning: the following printable length is adjusted (17631->17620) so it is divisible by the resolution Y scale.
  159. *PrintableArea: PAIR(12590, 17620)
  160. *% Warning: the following printable origin X is adjusted (316->320) so it is divisible by the resolution X scale.
  161. *% Warning: the following printable origin Y is adjusted (315->320) so it is divisible by the resolution Y scale.
  162. *PrintableOrigin: PAIR(320, 320)
  163. }
  164. }
  165. }
  166. }
  167. }
  168. *Option: B4
  169. {
  170. *rcNameID: =B4_DISPLAY
  171. *switch: InputBin
  172. {
  173. *case: Option1
  174. {
  175. *PrintableArea: PAIR(12664, 20093)
  176. *PrintableOrigin: PAIR(1008, 1575)
  177. *switch: Resolution
  178. {
  179. *case: Option1
  180. {
  181. *% Warning: the following printable length is adjusted (20093->20092) so it is divisible by the resolution Y scale.
  182. *PrintableArea: PAIR(12664, 20092)
  183. *% Warning: the following printable origin Y is adjusted (1575->1576) so it is divisible by the resolution Y scale.
  184. *PrintableOrigin: PAIR(1008, 1576)
  185. }
  186. *case: Option2
  187. {
  188. *% Warning: the following printable width is adjusted (12664->12660) so it is divisible by the resolution X scale.
  189. *% Warning: the following printable length is adjusted (20093->20080) so it is divisible by the resolution Y scale.
  190. *PrintableArea: PAIR(12660, 20080)
  191. *% Warning: the following printable origin X is adjusted (1008->1010) so it is divisible by the resolution X scale.
  192. *% Warning: the following printable origin Y is adjusted (1575->1580) so it is divisible by the resolution Y scale.
  193. *PrintableOrigin: PAIR(1010, 1580)
  194. }
  195. }
  196. }
  197. *case: Option2
  198. {
  199. *PrintableArea: PAIR(12664, 21038)
  200. *PrintableOrigin: PAIR(1008, 630)
  201. *switch: Resolution
  202. {
  203. *case: Option1
  204. {
  205. *% Warning: the following printable length is adjusted (21038->21036) so it is divisible by the resolution Y scale.
  206. *PrintableArea: PAIR(12664, 21036)
  207. *% Warning: the following printable origin Y is adjusted (630->632) so it is divisible by the resolution Y scale.
  208. *PrintableOrigin: PAIR(1008, 632)
  209. }
  210. *case: Option2
  211. {
  212. *% Warning: the following printable width is adjusted (12664->12660) so it is divisible by the resolution X scale.
  213. *% Warning: the following printable length is adjusted (21038->21030) so it is divisible by the resolution Y scale.
  214. *PrintableArea: PAIR(12660, 21030)
  215. *% Warning: the following printable origin X is adjusted (1008->1010) so it is divisible by the resolution X scale.
  216. *PrintableOrigin: PAIR(1010, 630)
  217. }
  218. }
  219. }
  220. *case: Option3
  221. {
  222. *PrintableArea: PAIR(12664, 21855)
  223. *PrintableOrigin: PAIR(1008, 315)
  224. *switch: Resolution
  225. {
  226. *case: Option1
  227. {
  228. *% Warning: the following printable length is adjusted (21855->21852) so it is divisible by the resolution Y scale.
  229. *PrintableArea: PAIR(12664, 21852)
  230. *% Warning: the following printable origin Y is adjusted (315->316) so it is divisible by the resolution Y scale.
  231. *PrintableOrigin: PAIR(1008, 316)
  232. }
  233. *case: Option2
  234. {
  235. *% Warning: the following printable width is adjusted (12664->12660) so it is divisible by the resolution X scale.
  236. *% Warning: the following printable length is adjusted (21855->21850) so it is divisible by the resolution Y scale.
  237. *PrintableArea: PAIR(12660, 21850)
  238. *% Warning: the following printable origin X is adjusted (1008->1010) so it is divisible by the resolution X scale.
  239. *% Warning: the following printable origin Y is adjusted (315->320) so it is divisible by the resolution Y scale.
  240. *PrintableOrigin: PAIR(1010, 320)
  241. }
  242. }
  243. }
  244. }
  245. }
  246. *Option: A5
  247. {
  248. *rcNameID: =A5_DISPLAY
  249. *switch: InputBin
  250. {
  251. *case: Option1
  252. {
  253. *PrintableArea: PAIR(8690, 10397)
  254. *PrintableOrigin: PAIR(319, 1575)
  255. *switch: Resolution
  256. {
  257. *case: Option1
  258. {
  259. *% Warning: the following printable width is adjusted (8690->8688) so it is divisible by the resolution X scale.
  260. *% Warning: the following printable length is adjusted (10397->10396) so it is divisible by the resolution Y scale.
  261. *PrintableArea: PAIR(8688, 10396)
  262. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  263. *% Warning: the following printable origin Y is adjusted (1575->1576) so it is divisible by the resolution Y scale.
  264. *PrintableOrigin: PAIR(320, 1576)
  265. }
  266. *case: Option2
  267. {
  268. *% Warning: the following printable width is adjusted (8690->8680) so it is divisible by the resolution X scale.
  269. *% Warning: the following printable length is adjusted (10397->10390) so it is divisible by the resolution Y scale.
  270. *PrintableArea: PAIR(8680, 10390)
  271. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  272. *% Warning: the following printable origin Y is adjusted (1575->1580) so it is divisible by the resolution Y scale.
  273. *PrintableOrigin: PAIR(320, 1580)
  274. }
  275. }
  276. }
  277. *case: Option2
  278. {
  279. *PrintableArea: PAIR(8690, 11342)
  280. *PrintableOrigin: PAIR(319, 630)
  281. *switch: Resolution
  282. {
  283. *case: Option1
  284. {
  285. *% Warning: the following printable width is adjusted (8690->8688) so it is divisible by the resolution X scale.
  286. *% Warning: the following printable length is adjusted (11342->11340) so it is divisible by the resolution Y scale.
  287. *PrintableArea: PAIR(8688, 11340)
  288. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  289. *% Warning: the following printable origin Y is adjusted (630->632) so it is divisible by the resolution Y scale.
  290. *PrintableOrigin: PAIR(320, 632)
  291. }
  292. *case: Option2
  293. {
  294. *% Warning: the following printable width is adjusted (8690->8680) so it is divisible by the resolution X scale.
  295. *% Warning: the following printable length is adjusted (11342->11340) so it is divisible by the resolution Y scale.
  296. *PrintableArea: PAIR(8680, 11340)
  297. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  298. *PrintableOrigin: PAIR(320, 630)
  299. }
  300. }
  301. }
  302. *case: Option3
  303. {
  304. *PrintableArea: PAIR(8690, 12159)
  305. *PrintableOrigin: PAIR(319, 315)
  306. *switch: Resolution
  307. {
  308. *case: Option1
  309. {
  310. *% Warning: the following printable width is adjusted (8690->8688) so it is divisible by the resolution X scale.
  311. *% Warning: the following printable length is adjusted (12159->12156) so it is divisible by the resolution Y scale.
  312. *PrintableArea: PAIR(8688, 12156)
  313. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  314. *% Warning: the following printable origin Y is adjusted (315->316) so it is divisible by the resolution Y scale.
  315. *PrintableOrigin: PAIR(320, 316)
  316. }
  317. *case: Option2
  318. {
  319. *% Warning: the following printable width is adjusted (8690->8680) so it is divisible by the resolution X scale.
  320. *% Warning: the following printable length is adjusted (12159->12150) so it is divisible by the resolution Y scale.
  321. *PrintableArea: PAIR(8680, 12150)
  322. *% Warning: the following printable origin X is adjusted (319->320) so it is divisible by the resolution X scale.
  323. *% Warning: the following printable origin Y is adjusted (315->320) so it is divisible by the resolution Y scale.
  324. *PrintableOrigin: PAIR(320, 320)
  325. }
  326. }
  327. }
  328. }
  329. }
  330. *Option: B5
  331. {
  332. *rcNameID: =B5_DISPLAY
  333. *switch: InputBin
  334. {
  335. *case: Option1
  336. {
  337. *PrintableArea: PAIR(10830, 13357)
  338. *PrintableOrigin: PAIR(321, 1575)
  339. *switch: Resolution
  340. {
  341. *case: Option1
  342. {
  343. *% Warning: the following printable width is adjusted (10830->10824) so it is divisible by the resolution X scale.
  344. *% Warning: the following printable length is adjusted (13357->13356) so it is divisible by the resolution Y scale.
  345. *PrintableArea: PAIR(10824, 13356)
  346. *% Warning: the following printable origin X is adjusted (321->324) so it is divisible by the resolution X scale.
  347. *% Warning: the following printable origin Y is adjusted (1575->1576) so it is divisible by the resolution Y scale.
  348. *PrintableOrigin: PAIR(324, 1576)
  349. }
  350. *case: Option2
  351. {
  352. *% Warning: the following printable width is adjusted (10830->10820) so it is divisible by the resolution X scale.
  353. *% Warning: the following printable length is adjusted (13357->13350) so it is divisible by the resolution Y scale.
  354. *PrintableArea: PAIR(10820, 13350)
  355. *% Warning: the following printable origin X is adjusted (321->330) so it is divisible by the resolution X scale.
  356. *% Warning: the following printable origin Y is adjusted (1575->1580) so it is divisible by the resolution Y scale.
  357. *PrintableOrigin: PAIR(330, 1580)
  358. }
  359. }
  360. }
  361. *case: Option2
  362. {
  363. *PrintableArea: PAIR(10830, 14302)
  364. *PrintableOrigin: PAIR(321, 630)
  365. *switch: Resolution
  366. {
  367. *case: Option1
  368. {
  369. *% Warning: the following printable width is adjusted (10830->10824) so it is divisible by the resolution X scale.
  370. *% Warning: the following printable length is adjusted (14302->14300) so it is divisible by the resolution Y scale.
  371. *PrintableArea: PAIR(10824, 14300)
  372. *% Warning: the following printable origin X is adjusted (321->324) so it is divisible by the resolution X scale.
  373. *% Warning: the following printable origin Y is adjusted (630->632) so it is divisible by the resolution Y scale.
  374. *PrintableOrigin: PAIR(324, 632)
  375. }
  376. *case: Option2
  377. {
  378. *% Warning: the following printable width is adjusted (10830->10820) so it is divisible by the resolution X scale.
  379. *% Warning: the following printable length is adjusted (14302->14300) so it is divisible by the resolution Y scale.
  380. *PrintableArea: PAIR(10820, 14300)
  381. *% Warning: the following printable origin X is adjusted (321->330) so it is divisible by the resolution X scale.
  382. *PrintableOrigin: PAIR(330, 630)
  383. }
  384. }
  385. }
  386. *case: Option3
  387. {
  388. *PrintableArea: PAIR(10830, 15119)
  389. *PrintableOrigin: PAIR(321, 315)
  390. *switch: Resolution
  391. {
  392. *case: Option1
  393. {
  394. *% Warning: the following printable width is adjusted (10830->10824) so it is divisible by the resolution X scale.
  395. *% Warning: the following printable length is adjusted (15119->15116) so it is divisible by the resolution Y scale.
  396. *PrintableArea: PAIR(10824, 15116)
  397. *% Warning: the following printable origin X is adjusted (321->324) so it is divisible by the resolution X scale.
  398. *% Warning: the following printable origin Y is adjusted (315->316) so it is divisible by the resolution Y scale.
  399. *PrintableOrigin: PAIR(324, 316)
  400. }
  401. *case: Option2
  402. {
  403. *% Warning: the following printable width is adjusted (10830->10820) so it is divisible by the resolution X scale.
  404. *% Warning: the following printable length is adjusted (15119->15110) so it is divisible by the resolution Y scale.
  405. *PrintableArea: PAIR(10820, 15110)
  406. *% Warning: the following printable origin X is adjusted (321->330) so it is divisible by the resolution X scale.
  407. *% Warning: the following printable origin Y is adjusted (315->320) so it is divisible by the resolution Y scale.
  408. *PrintableOrigin: PAIR(330, 320)
  409. }
  410. }
  411. }
  412. }
  413. }
  414. *Option: JAPANESE_POSTCARD
  415. {
  416. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  417. *switch: InputBin
  418. {
  419. *case: Option1
  420. {
  421. *PrintableArea: PAIR(5674, 6493)
  422. *PrintableOrigin: PAIR(315, 1575)
  423. *switch: Resolution
  424. {
  425. *case: Option1
  426. {
  427. *% Warning: the following printable width is adjusted (5674->5672) so it is divisible by the resolution X scale.
  428. *% Warning: the following printable length is adjusted (6493->6492) so it is divisible by the resolution Y scale.
  429. *PrintableArea: PAIR(5672, 6492)
  430. *% Warning: the following printable origin X is adjusted (315->316) so it is divisible by the resolution X scale.
  431. *% Warning: the following printable origin Y is adjusted (1575->1576) so it is divisible by the resolution Y scale.
  432. *PrintableOrigin: PAIR(316, 1576)
  433. }
  434. *case: Option2
  435. {
  436. *% Warning: the following printable width is adjusted (5674->5660) so it is divisible by the resolution X scale.
  437. *% Warning: the following printable length is adjusted (6493->6480) so it is divisible by the resolution Y scale.
  438. *PrintableArea: PAIR(5660, 6480)
  439. *% Warning: the following printable origin X is adjusted (315->320) so it is divisible by the resolution X scale.
  440. *% Warning: the following printable origin Y is adjusted (1575->1580) so it is divisible by the resolution Y scale.
  441. *PrintableOrigin: PAIR(320, 1580)
  442. }
  443. }
  444. }
  445. *case: Option2
  446. {
  447. *PrintableArea: PAIR(5674, 7438)
  448. *PrintableOrigin: PAIR(315, 630)
  449. *switch: Resolution
  450. {
  451. *case: Option1
  452. {
  453. *% Warning: the following printable width is adjusted (5674->5672) so it is divisible by the resolution X scale.
  454. *% Warning: the following printable length is adjusted (7438->7436) so it is divisible by the resolution Y scale.
  455. *PrintableArea: PAIR(5672, 7436)
  456. *% Warning: the following printable origin X is adjusted (315->316) so it is divisible by the resolution X scale.
  457. *% Warning: the following printable origin Y is adjusted (630->632) so it is divisible by the resolution Y scale.
  458. *PrintableOrigin: PAIR(316, 632)
  459. }
  460. *case: Option2
  461. {
  462. *% Warning: the following printable width is adjusted (5674->5660) so it is divisible by the resolution X scale.
  463. *% Warning: the following printable length is adjusted (7438->7430) so it is divisible by the resolution Y scale.
  464. *PrintableArea: PAIR(5660, 7430)
  465. *% Warning: the following printable origin X is adjusted (315->320) so it is divisible by the resolution X scale.
  466. *PrintableOrigin: PAIR(320, 630)
  467. }
  468. }
  469. }
  470. *case: Option3
  471. {
  472. *PrintableArea: PAIR(5674, 8255)
  473. *PrintableOrigin: PAIR(315, 315)
  474. *switch: Resolution
  475. {
  476. *case: Option1
  477. {
  478. *% Warning: the following printable width is adjusted (5674->5672) so it is divisible by the resolution X scale.
  479. *% Warning: the following printable length is adjusted (8255->8252) so it is divisible by the resolution Y scale.
  480. *PrintableArea: PAIR(5672, 8252)
  481. *% Warning: the following printable origin X is adjusted (315->316) so it is divisible by the resolution X scale.
  482. *% Warning: the following printable origin Y is adjusted (315->316) so it is divisible by the resolution Y scale.
  483. *PrintableOrigin: PAIR(316, 316)
  484. }
  485. *case: Option2
  486. {
  487. *% Warning: the following printable width is adjusted (5674->5660) so it is divisible by the resolution X scale.
  488. *% Warning: the following printable length is adjusted (8255->8250) so it is divisible by the resolution Y scale.
  489. *PrintableArea: PAIR(5660, 8250)
  490. *% Warning: the following printable origin X is adjusted (315->320) so it is divisible by the resolution X scale.
  491. *% Warning: the following printable origin Y is adjusted (315->320) so it is divisible by the resolution Y scale.
  492. *PrintableOrigin: PAIR(320, 320)
  493. }
  494. }
  495. }
  496. }
  497. }
  498. }
  499. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JAPANESE_POSTCARD)
  500. *InvalidCombination: LIST(InputBin.Option2, PaperSize.B4)
  501. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A4)
  502. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B4)
  503. *InvalidCombination: LIST(InputBin.Option3, PaperSize.A5)
  504. *InvalidCombination: LIST(InputBin.Option3, PaperSize.B5)
  505. *Feature: ColorMode
  506. {
  507. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  508. *DefaultOption: Color
  509. *Option: Mono
  510. {
  511. *rcNameID: =MONO_DISPLAY
  512. *DevNumOfPlanes: 1
  513. *DevBPP: 1
  514. *Color? : FALSE
  515. }
  516. *Option: Color
  517. {
  518. *rcNameID: =COLOR_DISPLAY
  519. *DevNumOfPlanes: 4
  520. *DevBPP: 1
  521. *DrvBPP: 4
  522. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  523. *Command: CmdSendBlackData { *Cmd : "<1B>C0" }
  524. *Command: CmdSendCyanData { *Cmd : "<1B>C5" }
  525. *Command: CmdSendMagentaData { *Cmd : "<1B>C3" }
  526. *Command: CmdSendYellowData { *Cmd : "<1B>C6" }
  527. *Command: CmdSelectBlackColor { *Cmd : "<1B>C0" }
  528. *Command: CmdSelectRedColor { *Cmd : "<1B>C2" }
  529. *Command: CmdSelectGreenColor { *Cmd : "<1B>C4" }
  530. *Command: CmdSelectYellowColor { *Cmd : "<1B>C6" }
  531. *Command: CmdSelectBlueColor { *Cmd : "<1B>C1" }
  532. *Command: CmdSelectMagentaColor { *Cmd : "<1B>C3" }
  533. *Command: CmdSelectCyanColor { *Cmd : "<1B>C5" }
  534. }
  535. }
  536. *Feature: Halftone
  537. {
  538. *rcNameID: =HALFTONING_DISPLAY
  539. *DefaultOption: HT_PATSIZE_AUTO
  540. *Option: HT_PATSIZE_AUTO
  541. {
  542. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  543. }
  544. *Option: HT_PATSIZE_SUPERCELL_M
  545. {
  546. *rcNameID: =HT_SUPERCELL_DISPLAY
  547. }
  548. *Option: HT_PATSIZE_6x6_M
  549. {
  550. *rcNameID: =HT_DITHER6X6_DISPLAY
  551. }
  552. *Option: HT_PATSIZE_8x8_M
  553. {
  554. *rcNameID: =HT_DITHER8X8_DISPLAY
  555. }
  556. }
  557. *Command: CmdStartDoc
  558. {
  559. *Order: DOC_SETUP.2
  560. *Cmd: "<1B>O0<1C>c,,0,7."
  561. }
  562. *Command: CmdStartPage
  563. {
  564. *Order: PAGE_SETUP.1
  565. *Cmd: "<0D>"
  566. }
  567. *Command: CmdEndJob
  568. {
  569. *Order: JOB_FINISH.1
  570. *Cmd: "<1B>c1"
  571. }
  572. *Command: CmdEndPage
  573. {
  574. *Order: PAGE_FINISH.1
  575. *Cmd: "<0D0C>"
  576. }
  577. *RotateCoordinate?: FALSE
  578. *RotateRaster?: FALSE
  579. *RotateFont?: FALSE
  580. *switch: Orientation
  581. {
  582. *case: PORTRAIT
  583. {
  584. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  585. }
  586. *case: LANDSCAPE_CC270
  587. {
  588. *TextCaps: LIST()
  589. }
  590. }
  591. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  592. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  593. *MaxLineSpacing: 4000
  594. *XMoveThreshold: 0
  595. *XMoveUnit: 400
  596. *AbsXMovesRightOnly?: TRUE
  597. *Command: CmdXMoveAbsolute { *Cmd : "<1B>F" %4d[0,3200]{max_repeat((DestX / 4) )} }
  598. *Command: CmdSetLineSpacing { *Cmd : "<1C>h" %d[0,4000]{(LinefeedSpacing / 4) }"/400." }
  599. *Command: CmdCR { *Cmd : "<0D>" }
  600. *Command: CmdLF { *Cmd : "<0A>" }
  601. *Command: CmdFF { *Cmd : "<0C>" }
  602. *Command: CmdBackSpace { *Cmd : "<08>" }
  603. *EjectPageWithFF?: FALSE
  604. *OutputDataFormat: V_BYTE
  605. *OptimizeLeftBound?: FALSE
  606. *CursorXAfterSendBlockData: AT_GRXDATA_END
  607. *CursorYAfterSendBlockData: NO_MOVE
  608. *DefaultFont: 12
  609. *DefaultCTT: 1
  610. *switch: Orientation
  611. {
  612. *case: PORTRAIT
  613. {
  614. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  615. + 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32)
  616. }
  617. *case: LANDSCAPE_CC270
  618. {
  619. *DeviceFonts: LIST()
  620. }
  621. }
  622. *FontCartridge: FC1
  623. {
  624. *rcCartridgeNameID: 261
  625. *PortraitFonts: LIST(33,34,35,36,45,46,47,48)
  626. *LandscapeFonts: LIST()
  627. }
  628. *FontCartridge: FC2
  629. {
  630. *rcCartridgeNameID: 262
  631. *PortraitFonts: LIST(37,38,39,40,49,50,51,52)
  632. *LandscapeFonts: LIST()
  633. }
  634. *FontCartridge: FC3
  635. {
  636. *rcCartridgeNameID: 263
  637. *PortraitFonts: LIST(41,42,43,44,53,54,55,56)
  638. *LandscapeFonts: LIST()
  639. }
  640. *Command: CmdBoldOn { *Cmd : "<1B>!" }
  641. *Command: CmdBoldOff { *Cmd : "<1B>%"" }
  642. *Command: CmdItalicOn { *Cmd : "<1B>i1" }
  643. *Command: CmdItalicOff { *Cmd : "<1B>i0" }
  644. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  645. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }
  646. *MirrorRasterByte?: TRUE
  647. *MoveToX0BeforeSetColor?: TRUE
  648. *UseExpColorSelectCmd?: TRUE
  649. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE, AFTER_FF)