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.

368 lines
9.4 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLJP90M.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 90 (Monochrome)"
  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: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.2
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. }
  40. *Feature: Resolution
  41. {
  42. *rcNameID: =RESOLUTION_DISPLAY
  43. *DefaultOption: Option2
  44. *Option: Option1
  45. {
  46. *Name: "600 x 300 " =DOTS_PER_INCH
  47. *DPI: PAIR(600, 300)
  48. *TextDPI: PAIR(600, 300)
  49. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  50. *SpotDiameter: 160
  51. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  52. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  53. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  54. *Command: CmdSelect
  55. {
  56. *Order: DOC_SETUP.5
  57. *Cmd: "<1B>&k0W<1B>*p2N<1B>*g8W<020102>X<01>,<0002>"
  58. }
  59. }
  60. *Option: Option2
  61. {
  62. *Name: "300 x 300 " =DOTS_PER_INCH
  63. *DPI: PAIR(300, 300)
  64. *TextDPI: PAIR(300, 300)
  65. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  66. *SpotDiameter: 150
  67. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  68. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  69. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  70. *Command: CmdSelect
  71. {
  72. *Order: DOC_SETUP.5
  73. *Cmd: "<1B>*t300R"
  74. }
  75. }
  76. *Option: Option3
  77. {
  78. *Name: "150 x 150 " =DOTS_PER_INCH
  79. *DPI: PAIR(150, 150)
  80. *TextDPI: PAIR(300, 300)
  81. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  82. *SpotDiameter: 120
  83. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  84. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  85. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.5
  89. *Cmd: "<1B>*t150R"
  90. }
  91. }
  92. *Option: Option4
  93. {
  94. *Name: "75 x 75 " =DOTS_PER_INCH
  95. *DPI: PAIR(75, 75)
  96. *TextDPI: PAIR(300, 300)
  97. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  98. *SpotDiameter: 100
  99. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  100. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  101. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  102. *Command: CmdSelect
  103. {
  104. *Order: DOC_SETUP.5
  105. *Cmd: "<1B>*t75R"
  106. }
  107. }
  108. }
  109. *Feature: PaperSize
  110. {
  111. *rcNameID: =PAPER_SIZE_DISPLAY
  112. *DefaultOption: A4
  113. *Option: LETTER
  114. {
  115. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  116. *PrintableArea: PAIR(4796, 6162)
  117. *PrintableOrigin: PAIR(84, 132)
  118. *switch: Resolution
  119. {
  120. *case: Option3
  121. {
  122. *PrintableArea: PAIR(4796, 6160)
  123. }
  124. *case: Option4
  125. {
  126. *PrintableArea: PAIR(4792, 6152)
  127. *PrintableOrigin: PAIR(88, 136)
  128. }
  129. }
  130. *CursorOrigin: PAIR(84, 120)
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.3
  134. *Cmd: "<1B>&l2A"
  135. }
  136. }
  137. *Option: LEGAL
  138. {
  139. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  140. *PrintableArea: PAIR(4796, 7962)
  141. *PrintableOrigin: PAIR(84, 132)
  142. *switch: Resolution
  143. {
  144. *case: Option3
  145. {
  146. *PrintableArea: PAIR(4796, 7960)
  147. }
  148. *case: Option4
  149. {
  150. *PrintableArea: PAIR(4792, 7952)
  151. *PrintableOrigin: PAIR(88, 136)
  152. }
  153. }
  154. *CursorOrigin: PAIR(84, 120)
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.3
  158. *Cmd: "<1B>&l3A"
  159. }
  160. }
  161. *Option: A4
  162. {
  163. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  164. *PrintableArea: PAIR(4794, 6576)
  165. *PrintableOrigin: PAIR(84, 132)
  166. *switch: Resolution
  167. {
  168. *case: Option3
  169. {
  170. *PrintableArea: PAIR(4792, 6576)
  171. }
  172. *case: Option4
  173. {
  174. *PrintableArea: PAIR(4784, 6568)
  175. *PrintableOrigin: PAIR(88, 136)
  176. }
  177. }
  178. *CursorOrigin: PAIR(84, 120)
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.3
  182. *Cmd: "<1B>&l26A"
  183. }
  184. }
  185. *Option: Option4
  186. {
  187. *rcNameID: 258
  188. *PageDimensions: PAIR(4962, 3498)
  189. *PrintableArea: PAIR(4794, 3060)
  190. *PrintableOrigin: PAIR(84, 132)
  191. *switch: Resolution
  192. {
  193. *case: Option3
  194. {
  195. *PrintableArea: PAIR(4792, 3060)
  196. }
  197. *case: Option4
  198. {
  199. *PrintableArea: PAIR(4784, 3056)
  200. *PrintableOrigin: PAIR(88, 136)
  201. }
  202. }
  203. *CursorOrigin: PAIR(84, 120)
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.3
  207. *Cmd: "<1B>&l29A"
  208. }
  209. }
  210. }
  211. *Feature: MediaType
  212. {
  213. *rcNameID: =MEDIA_TYPE_DISPLAY
  214. *DefaultOption: Option1
  215. *Option: Option1
  216. {
  217. *rcNameID: 261
  218. }
  219. *Option: TRANSPARENCY
  220. {
  221. *rcNameID: =TRANSPARENCY_DISPLAY
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.8
  225. *Cmd: "<1B>*o2Q"
  226. }
  227. }
  228. }
  229. *Feature: PrintQuality
  230. {
  231. *rcNameID: =TEXT_QUALITY_DISPLAY
  232. *DefaultOption: LETTER_QUALITY
  233. *Option: LETTER_QUALITY
  234. {
  235. *rcNameID: =LETTER_QUALITY_DISPLAY
  236. *Command: CmdSelect
  237. {
  238. *Order: DOC_SETUP.7
  239. *Cmd: "<1B>(s2Q<1B>*r2Q"
  240. }
  241. }
  242. *Option: DRAFT_QUALITY
  243. {
  244. *rcNameID: =DRAFT_QUALITY_DISPLAY
  245. *Command: CmdSelect
  246. {
  247. *Order: DOC_SETUP.7
  248. *Cmd: "<1B>(s9Q<1B>*r1Q<1B>*o-0Q"
  249. }
  250. }
  251. *Option: Option3
  252. {
  253. *rcNameID: 267
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.7
  257. *Cmd: "<1B>(s1Q<1B>*r1Q"
  258. }
  259. }
  260. *Option: Option4
  261. {
  262. *rcNameID: 272
  263. *Command: CmdSelect
  264. {
  265. *Order: DOC_SETUP.7
  266. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q<1B>&k0W"
  267. }
  268. }
  269. }
  270. *Feature: Halftone
  271. {
  272. *rcNameID: =HALFTONING_DISPLAY
  273. *DefaultOption: HT_PATSIZE_AUTO
  274. *Option: HT_PATSIZE_AUTO
  275. {
  276. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  277. }
  278. *Ifdef: WINNT_50
  279. *Option: HT_PATSIZE_SUPERCELL_M
  280. {
  281. *rcNameID: =HT_SUPERCELL_DISPLAY
  282. }
  283. *Endif:
  284. *Option: HT_PATSIZE_6x6_M
  285. {
  286. *rcNameID: =HT_DITHER6X6_DISPLAY
  287. }
  288. *Option: HT_PATSIZE_8x8_M
  289. {
  290. *rcNameID: =HT_DITHER8X8_DISPLAY
  291. }
  292. }
  293. *Command: CmdStartDoc
  294. {
  295. *Order: DOC_SETUP.1
  296. *Cmd: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*p2N<1B>*o0Q"
  297. }
  298. *Command: CmdStartPage
  299. {
  300. *Order: PAGE_SETUP.1
  301. *Cmd: "<0D>"
  302. }
  303. *Command: CmdEndJob
  304. {
  305. *Order: JOB_FINISH.1
  306. *Cmd: "<1B>E<1B07000000>"
  307. }
  308. *Command: CmdEndPage
  309. {
  310. *Order: PAGE_FINISH.1
  311. *Cmd: "<0D>"
  312. }
  313. *RotateCoordinate?: FALSE
  314. *RotateRaster?: FALSE
  315. *RotateFont?: FALSE
  316. *switch: Orientation
  317. {
  318. *case: PORTRAIT
  319. {
  320. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  321. }
  322. *case: LANDSCAPE_CC270
  323. {
  324. *TextCaps: LIST()
  325. }
  326. }
  327. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  328. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  329. *XMoveThreshold: 0
  330. *YMoveThreshold: *
  331. *XMoveUnit: 300
  332. *YMoveUnit: 300
  333. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  334. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  335. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  336. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  337. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  338. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  339. *Command: CmdCR { *Cmd : "<0D>" }
  340. *Command: CmdLF { *Cmd : "<0A>" }
  341. *Command: CmdFF { *Cmd : "<0C>" }
  342. *EjectPageWithFF?: TRUE
  343. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  344. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  345. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  346. *OutputDataFormat: H_BYTE
  347. *OptimizeLeftBound?: FALSE
  348. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  349. *CursorYAfterSendBlockData: AUTO_INCREMENT
  350. *LookAheadRegion: 100
  351. *DefaultFont: 1
  352. *DefaultCTT: 0
  353. *CharPosition: BASELINE
  354. *switch: Orientation
  355. {
  356. *case: PORTRAIT
  357. {
  358. *DeviceFonts: LIST(1,2,6,7,8,9,75,76,77,78,79,80,81,82,86,87,
  359. + 88,89,104,105,106,107,108,109,110,111,112,113,114,115,116,117,
  360. + 118,119,120,121,122,123,124,125,126,127,128,129,130)
  361. }
  362. *case: LANDSCAPE_CC270
  363. {
  364. *DeviceFonts: LIST()
  365. }
  366. }
  367. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  368. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }