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.

406 lines
10 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLJP90C.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 90 (Color)"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "jp350res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: MANUAL
  31. {
  32. *rcNameID: =MANUAL_FEED_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.2
  36. *Cmd: "<1B>&l3H"
  37. }
  38. }
  39. *Option: AUTO
  40. {
  41. *rcNameID: =AUTO_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.2
  45. *Cmd: "<1B>&l1H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "300 x 300 " =DOTS_PER_INCH
  56. *DPI: PAIR(300, 300)
  57. *TextDPI: PAIR(300, 300)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 160
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.5
  66. *Cmd: "<1B>*t300R"
  67. }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "150 x 150 " =DOTS_PER_INCH
  72. *DPI: PAIR(150, 150)
  73. *TextDPI: PAIR(300, 300)
  74. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  75. *SpotDiameter: 140
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.5
  82. *Cmd: "<1B>*t150R"
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "75 x 75 " =DOTS_PER_INCH
  88. *DPI: PAIR(75, 75)
  89. *TextDPI: PAIR(300, 300)
  90. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  91. *SpotDiameter: 120
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.5
  98. *Cmd: "<1B>*t75R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: A4
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *PrintableArea: PAIR(4796, 6108)
  110. *PrintableOrigin: PAIR(84, 132)
  111. *switch: Resolution
  112. {
  113. *case: Option3
  114. {
  115. *PrintableArea: PAIR(4792, 6104)
  116. *PrintableOrigin: PAIR(88, 136)
  117. }
  118. }
  119. *CursorOrigin: PAIR(84, 120)
  120. *Command: CmdSelect
  121. {
  122. *Order: DOC_SETUP.3
  123. *Cmd: "<1B>&l2A"
  124. }
  125. }
  126. *Option: LEGAL
  127. {
  128. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  129. *PrintableArea: PAIR(4796, 7908)
  130. *PrintableOrigin: PAIR(84, 132)
  131. *switch: Resolution
  132. {
  133. *case: Option3
  134. {
  135. *PrintableArea: PAIR(4792, 7904)
  136. *PrintableOrigin: PAIR(88, 136)
  137. }
  138. }
  139. *CursorOrigin: PAIR(84, 120)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.3
  143. *Cmd: "<1B>&l3A"
  144. }
  145. }
  146. *Option: A4
  147. {
  148. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  149. *PrintableArea: PAIR(4794, 6522)
  150. *PrintableOrigin: PAIR(84, 132)
  151. *switch: Resolution
  152. {
  153. *case: Option2
  154. {
  155. *PrintableArea: PAIR(4792, 6520)
  156. }
  157. *case: Option3
  158. {
  159. *PrintableArea: PAIR(4784, 6512)
  160. *PrintableOrigin: PAIR(88, 136)
  161. }
  162. }
  163. *CursorOrigin: PAIR(84, 120)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.3
  167. *Cmd: "<1B>&l26A"
  168. }
  169. }
  170. *Option: Option4
  171. {
  172. *rcNameID: 258
  173. *PageDimensions: PAIR(4962, 3498)
  174. *PrintableArea: PAIR(4794, 3006)
  175. *PrintableOrigin: PAIR(84, 132)
  176. *switch: Resolution
  177. {
  178. *case: Option2
  179. {
  180. *PrintableArea: PAIR(4792, 3004)
  181. }
  182. *case: Option3
  183. {
  184. *PrintableArea: PAIR(4784, 3000)
  185. *PrintableOrigin: PAIR(88, 136)
  186. }
  187. }
  188. *CursorOrigin: PAIR(84, 120)
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.3
  192. *Cmd: "<1B>&l29A"
  193. }
  194. }
  195. }
  196. *Feature: MediaType
  197. {
  198. *rcNameID: =MEDIA_TYPE_DISPLAY
  199. *DefaultOption: Option1
  200. *Option: Option1
  201. {
  202. *rcNameID: 261
  203. }
  204. *Option: TRANSPARENCY
  205. {
  206. *rcNameID: =TRANSPARENCY_DISPLAY
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.8
  210. *Cmd: "<1B>*o2Q"
  211. }
  212. }
  213. *Option: Option3
  214. {
  215. *rcNameID: 262
  216. *Command: CmdSelect
  217. {
  218. *Order: DOC_SETUP.8
  219. *Cmd: "<1B>*o2Q"
  220. }
  221. }
  222. *Option: Option4
  223. {
  224. *rcNameID: 263
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.8
  228. *Cmd: "<1B>*o2Q"
  229. }
  230. }
  231. }
  232. *Feature: PrintQuality
  233. {
  234. *rcNameID: =TEXT_QUALITY_DISPLAY
  235. *DefaultOption: Option3
  236. *Option: Option1
  237. {
  238. *rcNameID: 269
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.7
  242. *Cmd: "<1B>(s1Q<1B>*r1Q<1B>*o-0Q<1B>*o0Q"
  243. }
  244. }
  245. *Option: Option2
  246. {
  247. *rcNameID: 267
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.7
  251. *Cmd: "<1B>(s1Q<1B>*r2Q<1B>*o2D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  252. }
  253. }
  254. *Option: Option3
  255. {
  256. *rcNameID: 270
  257. *Command: CmdSelect
  258. {
  259. *Order: DOC_SETUP.7
  260. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  261. }
  262. }
  263. *Option: Option4
  264. {
  265. *rcNameID: 271
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.7
  269. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q"
  270. }
  271. }
  272. *Option: Option5
  273. {
  274. *rcNameID: 272
  275. *Command: CmdSelect
  276. {
  277. *Order: DOC_SETUP.7
  278. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q<1B>*p2N"
  279. }
  280. }
  281. }
  282. *Feature: ColorMode
  283. {
  284. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  285. *DefaultOption: Color
  286. *Option: Mono
  287. {
  288. *rcNameID: =MONO_DISPLAY
  289. *DevNumOfPlanes: 1
  290. *DevBPP: 1
  291. *Color? : FALSE
  292. }
  293. *Option: Color
  294. {
  295. *rcNameID: =COLOR_DISPLAY
  296. *DevNumOfPlanes: 3
  297. *DevBPP: 1
  298. *DrvBPP: 4
  299. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  300. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  301. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  302. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  303. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  304. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  305. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  306. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  307. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  308. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  309. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  310. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  311. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  312. *Command: CmdSelect
  313. {
  314. *Order: DOC_SETUP.9
  315. *Cmd: "<1B>*r-3U"
  316. }
  317. }
  318. }
  319. *Feature: Halftone
  320. {
  321. *rcNameID: =HALFTONING_DISPLAY
  322. *DefaultOption: HT_PATSIZE_AUTO
  323. *Option: HT_PATSIZE_AUTO
  324. {
  325. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  326. }
  327. *Ifdef: WINNT_50
  328. *Option: HT_PATSIZE_SUPERCELL_M
  329. {
  330. *rcNameID: =HT_SUPERCELL_DISPLAY
  331. }
  332. *Endif:
  333. *Option: HT_PATSIZE_6x6_M
  334. {
  335. *rcNameID: =HT_DITHER6X6_DISPLAY
  336. }
  337. *Option: HT_PATSIZE_8x8_M
  338. {
  339. *rcNameID: =HT_DITHER8X8_DISPLAY
  340. }
  341. }
  342. *Command: CmdStartDoc
  343. {
  344. *Order: DOC_SETUP.1
  345. *Cmd: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*r1U<1B>*o1D<1B>*o0Q<1B>"
  346. + "*p1N"
  347. }
  348. *Command: CmdStartPage
  349. {
  350. *Order: PAGE_SETUP.1
  351. *Cmd: "<0D>"
  352. }
  353. *Command: CmdEndJob
  354. {
  355. *Order: JOB_FINISH.1
  356. *Cmd: "<1B>E<1B07000000>"
  357. }
  358. *Command: CmdEndPage
  359. {
  360. *Order: PAGE_FINISH.1
  361. *Cmd: "<0D>"
  362. }
  363. *RotateCoordinate?: FALSE
  364. *RotateRaster?: FALSE
  365. *RotateFont?: FALSE
  366. *switch: Orientation
  367. {
  368. *case: PORTRAIT
  369. {
  370. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  371. }
  372. *case: LANDSCAPE_CC270
  373. {
  374. *TextCaps: LIST()
  375. }
  376. }
  377. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  378. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  379. *XMoveThreshold: 0
  380. *YMoveThreshold: *
  381. *XMoveUnit: 300
  382. *YMoveUnit: 300
  383. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  384. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  385. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  386. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  387. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  388. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  389. *Command: CmdCR { *Cmd : "<0D>" }
  390. *Command: CmdLF { *Cmd : "<0A>" }
  391. *Command: CmdFF { *Cmd : "<0C>" }
  392. *EjectPageWithFF?: TRUE
  393. *ChangeColorModeOnDoc?: FALSE
  394. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  395. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  396. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M<1B>*b1S" }
  397. *OutputDataFormat: H_BYTE
  398. *OptimizeLeftBound?: FALSE
  399. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  400. *CursorYAfterSendBlockData: AUTO_INCREMENT
  401. *LookAheadRegion: 100
  402. *DefaultFont: 1
  403. *DefaultCTT: 0
  404. *CharPosition: BASELINE
  405. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  406. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }