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.

632 lines
28 KiB

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