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.

352 lines
8.8 KiB

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