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.

534 lines
14 KiB

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