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.

537 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CTPJET2.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Citizen PROjet II"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "jp350res.dll"
  12. *PrintRate: 3
  13. *PrintRatePPM: 3
  14. *PrintRateUnit: PPM
  15. *PrinterType: SERIAL
  16. *FontCartSlots: 1
  17. *Feature: Orientation
  18. {
  19. *rcNameID: =ORIENTATION_DISPLAY
  20. *DefaultOption: PORTRAIT
  21. *Option: PORTRAIT
  22. {
  23. *rcNameID: =PORTRAIT_DISPLAY
  24. }
  25. *Option: LANDSCAPE_CC270
  26. {
  27. *rcNameID: =LANDSCAPE_DISPLAY
  28. }
  29. }
  30. *Feature: InputBin
  31. {
  32. *rcNameID: =PAPER_SOURCE_DISPLAY
  33. *DefaultOption: AUTO
  34. *Option: AUTO
  35. {
  36. *rcNameID: =AUTO_DISPLAY
  37. *Command: CmdSelect
  38. {
  39. *Order: DOC_SETUP.2
  40. *Cmd: "<1B>&l1H"
  41. }
  42. }
  43. *Option: ENVMANUAL
  44. {
  45. *rcNameID: =ENV_MANUAL_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.2
  49. *Cmd: "<1B>&l3H"
  50. }
  51. }
  52. *Option: MANUAL
  53. {
  54. *rcNameID: =MANUAL_FEED_DISPLAY
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.2
  58. *Cmd: "<1B>&l3H"
  59. }
  60. }
  61. }
  62. *Feature: Resolution
  63. {
  64. *rcNameID: =RESOLUTION_DISPLAY
  65. *DefaultOption: Option1
  66. *Option: Option1
  67. {
  68. *Name: "300 x 300 " =DOTS_PER_INCH
  69. *DPI: PAIR(300, 300)
  70. *TextDPI: PAIR(300, 300)
  71. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  72. *SpotDiameter: 150
  73. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  74. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  75. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.5
  79. *Cmd: "<1B>*t300R"
  80. }
  81. }
  82. *Option: Option2
  83. {
  84. *Name: "150 x 150 " =DOTS_PER_INCH
  85. *DPI: PAIR(150, 150)
  86. *TextDPI: PAIR(300, 300)
  87. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  88. *SpotDiameter: 120
  89. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  90. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  91. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  92. *Command: CmdSelect
  93. {
  94. *Order: DOC_SETUP.5
  95. *Cmd: "<1B>*t150R"
  96. }
  97. }
  98. *Option: Option3
  99. {
  100. *Name: "75 x 75 " =DOTS_PER_INCH
  101. *DPI: PAIR(75, 75)
  102. *TextDPI: PAIR(300, 300)
  103. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  104. *SpotDiameter: 100
  105. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  106. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  108. *Command: CmdSelect
  109. {
  110. *Order: DOC_SETUP.5
  111. *Cmd: "<1B>*t75R"
  112. }
  113. }
  114. }
  115. *Feature: PaperSize
  116. {
  117. *rcNameID: =PAPER_SIZE_DISPLAY
  118. *DefaultOption: A4
  119. *Option: LETTER
  120. {
  121. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  122. *PrintableArea: PAIR(4796, 6162)
  123. *PrintableOrigin: PAIR(84, 132)
  124. *switch: Resolution
  125. {
  126. *case: Option2
  127. {
  128. *PrintableArea: PAIR(4796, 6160)
  129. }
  130. *case: Option3
  131. {
  132. *PrintableArea: PAIR(4792, 6152)
  133. *PrintableOrigin: PAIR(88, 136)
  134. }
  135. }
  136. *CursorOrigin: PAIR(84, 120)
  137. *Command: CmdSelect
  138. {
  139. *Order: DOC_SETUP.3
  140. *Cmd: "<1B>&l2A"
  141. }
  142. }
  143. *Option: LEGAL
  144. {
  145. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  146. *PrintableArea: PAIR(4796, 7962)
  147. *PrintableOrigin: PAIR(84, 132)
  148. *switch: Resolution
  149. {
  150. *case: Option2
  151. {
  152. *PrintableArea: PAIR(4796, 7960)
  153. }
  154. *case: Option3
  155. {
  156. *PrintableArea: PAIR(4792, 7952)
  157. *PrintableOrigin: PAIR(88, 136)
  158. }
  159. }
  160. *CursorOrigin: PAIR(84, 120)
  161. *Command: CmdSelect
  162. {
  163. *Order: DOC_SETUP.3
  164. *Cmd: "<1B>&l3A"
  165. }
  166. }
  167. *Option: A4
  168. {
  169. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  170. *PrintableArea: PAIR(4794, 6576)
  171. *PrintableOrigin: PAIR(84, 132)
  172. *switch: Resolution
  173. {
  174. *case: Option2
  175. {
  176. *PrintableArea: PAIR(4792, 6576)
  177. }
  178. *case: Option3
  179. {
  180. *PrintableArea: PAIR(4784, 6568)
  181. *PrintableOrigin: PAIR(88, 136)
  182. }
  183. }
  184. *CursorOrigin: PAIR(84, 120)
  185. *Command: CmdSelect
  186. {
  187. *Order: DOC_SETUP.3
  188. *Cmd: "<1B>&l26A"
  189. }
  190. }
  191. *Option: Option4
  192. {
  193. *rcNameID: 258
  194. *PageDimensions: PAIR(4962, 3498)
  195. *PrintableArea: PAIR(4794, 3060)
  196. *PrintableOrigin: PAIR(84, 132)
  197. *switch: Resolution
  198. {
  199. *case: Option2
  200. {
  201. *PrintableArea: PAIR(4792, 3060)
  202. }
  203. *case: Option3
  204. {
  205. *PrintableArea: PAIR(4784, 3056)
  206. *PrintableOrigin: PAIR(88, 136)
  207. }
  208. }
  209. *CursorOrigin: PAIR(84, 120)
  210. *Command: CmdSelect
  211. {
  212. *Order: DOC_SETUP.3
  213. *Cmd: "<1B>&l29A"
  214. }
  215. }
  216. *Option: ENV_10
  217. {
  218. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  219. *RotateSize? : TRUE
  220. *PrintableArea: PAIR(4796, 2040)
  221. *PrintableOrigin: PAIR(84, 132)
  222. *switch: Resolution
  223. {
  224. *case: Option3
  225. {
  226. *PrintableArea: PAIR(4792, 2032)
  227. *PrintableOrigin: PAIR(88, 136)
  228. }
  229. }
  230. *CursorOrigin: PAIR(84, 120)
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.3
  234. *Cmd: "<1B>&l81A"
  235. }
  236. }
  237. *Option: ENV_C5
  238. {
  239. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  240. *RotateSize? : TRUE
  241. *PrintableArea: PAIR(4796, 3390)
  242. *PrintableOrigin: PAIR(84, 132)
  243. *switch: Resolution
  244. {
  245. *case: Option2
  246. {
  247. *PrintableArea: PAIR(4796, 3388)
  248. }
  249. *case: Option3
  250. {
  251. *PrintableArea: PAIR(4792, 3384)
  252. *PrintableOrigin: PAIR(88, 136)
  253. }
  254. }
  255. *CursorOrigin: PAIR(84, 120)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.3
  259. *Cmd: "<1B>&l91A"
  260. }
  261. }
  262. *Option: ENV_DL
  263. {
  264. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  265. *RotateSize? : TRUE
  266. *PrintableArea: PAIR(4796, 2160)
  267. *PrintableOrigin: PAIR(84, 132)
  268. *switch: Resolution
  269. {
  270. *case: Option3
  271. {
  272. *PrintableArea: PAIR(4792, 2152)
  273. *PrintableOrigin: PAIR(88, 136)
  274. }
  275. }
  276. *CursorOrigin: PAIR(84, 120)
  277. *Command: CmdSelect
  278. {
  279. *Order: DOC_SETUP.3
  280. *Cmd: "<1B>&l90A"
  281. }
  282. }
  283. *Option: CUSTOMSIZE
  284. {
  285. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  286. *MinSize: PAIR(4800, 2474)
  287. *MaxSize: PAIR(5100, 8400)
  288. *MaxPrintableWidth: 4800
  289. *MinLeftMargin: 0
  290. *CenterPrintable?: FALSE
  291. *TopMargin: 0
  292. *BottomMargin: 306
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.3
  296. *Cmd: "<1B>&l0A"
  297. }
  298. }
  299. }
  300. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  301. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  302. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  303. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  304. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  305. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  306. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  307. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option4)
  308. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  309. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  310. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  311. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  312. *Feature: PrintQuality
  313. {
  314. *rcNameID: =TEXT_QUALITY_DISPLAY
  315. *DefaultOption: LETTER_QUALITY
  316. *Option: LETTER_QUALITY
  317. {
  318. *rcNameID: =LETTER_QUALITY_DISPLAY
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.7
  322. *Cmd: "<1B>(s2Q<1B>*r2Q"
  323. }
  324. }
  325. *Option: DRAFT_QUALITY
  326. {
  327. *rcNameID: =DRAFT_QUALITY_DISPLAY
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.7
  331. *Cmd: "<1B>(s1Q<1B>*r1Q"
  332. }
  333. }
  334. }
  335. *Feature: Halftone
  336. {
  337. *rcNameID: =HALFTONING_DISPLAY
  338. *DefaultOption: HT_PATSIZE_AUTO
  339. *Option: HT_PATSIZE_AUTO
  340. {
  341. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  342. }
  343. *Ifdef: WINNT_50
  344. *Option: HT_PATSIZE_SUPERCELL_M
  345. {
  346. *rcNameID: =HT_SUPERCELL_DISPLAY
  347. }
  348. *Endif:
  349. *Option: HT_PATSIZE_6x6_M
  350. {
  351. *rcNameID: =HT_DITHER6X6_DISPLAY
  352. }
  353. *Option: HT_PATSIZE_8x8_M
  354. {
  355. *rcNameID: =HT_DITHER8X8_DISPLAY
  356. }
  357. }
  358. *Feature: Memory
  359. {
  360. *rcNameID: =PRINTER_MEMORY_DISPLAY
  361. *DefaultOption: 1KB
  362. *Option: 1KB
  363. {
  364. *Name: "1KB"
  365. *MemoryConfigKB: PAIR(1, 1)
  366. }
  367. *Option: 128KB
  368. {
  369. *Name: "128KB"
  370. *MemoryConfigKB: PAIR(128, 128)
  371. }
  372. *Option: 256KB
  373. {
  374. *Name: "256KB"
  375. *MemoryConfigKB: PAIR(256, 256)
  376. }
  377. }
  378. *Command: CmdStartDoc
  379. {
  380. *Order: DOC_SETUP.1
  381. *Cmd: "<00000000000000001B>E<1B>&l0o0L<1B>&k5w0G"
  382. }
  383. *Command: CmdStartPage
  384. {
  385. *Order: PAGE_SETUP.1
  386. *Cmd: "<0D>"
  387. }
  388. *Command: CmdEndJob
  389. {
  390. *Order: JOB_FINISH.1
  391. *Cmd: "<1B>E"
  392. }
  393. *Command: CmdEndPage
  394. {
  395. *Order: PAGE_FINISH.1
  396. *Cmd: "<0D>"
  397. }
  398. *RotateCoordinate?: FALSE
  399. *RotateRaster?: FALSE
  400. *RotateFont?: FALSE
  401. *switch: Orientation
  402. {
  403. *case: PORTRAIT
  404. {
  405. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  406. }
  407. *case: LANDSCAPE_CC270
  408. {
  409. *TextCaps: LIST()
  410. }
  411. }
  412. *MemoryUsage: LIST(FONT)
  413. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  414. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  415. *XMoveThreshold: 0
  416. *YMoveThreshold: *
  417. *XMoveUnit: 300
  418. *YMoveUnit: 300
  419. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  420. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  421. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  422. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  423. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  424. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  425. *Command: CmdCR { *Cmd : "<0D>" }
  426. *Command: CmdLF { *Cmd : "<0A>" }
  427. *Command: CmdFF { *Cmd : "<0C>" }
  428. *EjectPageWithFF?: TRUE
  429. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  430. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  431. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  432. *OutputDataFormat: H_BYTE
  433. *OptimizeLeftBound?: FALSE
  434. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  435. *CursorYAfterSendBlockData: AUTO_INCREMENT
  436. *LookAheadRegion: 100
  437. *DefaultFont: 1
  438. *DefaultCTT: 0
  439. *CharPosition: BASELINE
  440. *switch: Orientation
  441. {
  442. *case: PORTRAIT
  443. {
  444. *DeviceFonts: LIST(1,2,6,7,8,9,14,15,75,76,77,78,79,80,81,82,
  445. + 86,87,88,89)
  446. }
  447. *case: LANDSCAPE_CC270
  448. {
  449. *DeviceFonts: LIST()
  450. }
  451. }
  452. *FontCartridge: FC1
  453. {
  454. *rcCartridgeNameID: 273
  455. *PortraitFonts: LIST(3,4,5)
  456. *LandscapeFonts: LIST()
  457. }
  458. *FontCartridge: FC2
  459. {
  460. *rcCartridgeNameID: 275
  461. *PortraitFonts: LIST(10,11,12,13)
  462. *LandscapeFonts: LIST()
  463. }
  464. *FontCartridge: FC3
  465. {
  466. *rcCartridgeNameID: 277
  467. *PortraitFonts: LIST(16,17)
  468. *LandscapeFonts: LIST()
  469. }
  470. *FontCartridge: FC4
  471. {
  472. *rcCartridgeNameID: 278
  473. *PortraitFonts: LIST(18,19,20,21)
  474. *LandscapeFonts: LIST()
  475. }
  476. *FontCartridge: FC5
  477. {
  478. *rcCartridgeNameID: 279
  479. *PortraitFonts: LIST(22,23)
  480. *LandscapeFonts: LIST()
  481. }
  482. *FontCartridge: FC6
  483. {
  484. *rcCartridgeNameID: 280
  485. *PortraitFonts: LIST(24,25)
  486. *LandscapeFonts: LIST()
  487. }
  488. *FontCartridge: FC7
  489. {
  490. *rcCartridgeNameID: 281
  491. *PortraitFonts: LIST(26,27,28,29,64,65,66,67,68,69,70,71,72,73)
  492. *LandscapeFonts: LIST()
  493. }
  494. *FontCartridge: FC8
  495. {
  496. *rcCartridgeNameID: 282
  497. *PortraitFonts: LIST(30,31,32,33,34,35,36,37)
  498. *LandscapeFonts: LIST()
  499. }
  500. *FontCartridge: FC9
  501. {
  502. *rcCartridgeNameID: 283
  503. *PortraitFonts: LIST(38,39,40,41,42,43,44,45)
  504. *LandscapeFonts: LIST()
  505. }
  506. *FontCartridge: FC10
  507. {
  508. *rcCartridgeNameID: 284
  509. *PortraitFonts: LIST(47,48,49,50,51,53)
  510. *LandscapeFonts: LIST()
  511. }
  512. *FontCartridge: FC11
  513. {
  514. *rcCartridgeNameID: 286
  515. *PortraitFonts: LIST(56,57,58,59,60,62)
  516. *LandscapeFonts: LIST()
  517. }
  518. *FontCartridge: FC12
  519. {
  520. *rcCartridgeNameID: 288
  521. *PortraitFonts: LIST(54)
  522. *LandscapeFonts: LIST()
  523. }
  524. *FontCartridge: FC13
  525. {
  526. *rcCartridgeNameID: 289
  527. *PortraitFonts: LIST(63)
  528. *LandscapeFonts: LIST()
  529. }
  530. *MinFontID: 1
  531. *MaxFontID: 99
  532. *FontFormat: HPPCL
  533. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  534. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  535. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  536. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  537. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }