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.

530 lines
13 KiB

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