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.

479 lines
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "oljp792p.gpd"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 792 (Photo)"
  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. *Command: CmdSelect
  21. {
  22. *Order: DOC_SETUP.5
  23. *Cmd: "<1B>*r-1U"
  24. }
  25. }
  26. *Option: LANDSCAPE_CC270
  27. {
  28. *rcNameID: =LANDSCAPE_DISPLAY
  29. }
  30. }
  31. *Feature: InputBin
  32. {
  33. *rcNameID: =PAPER_SOURCE_DISPLAY
  34. *DefaultOption: AUTO
  35. *Option: ENVFEED
  36. {
  37. *rcNameID: =ENV_FEED_DISPLAY
  38. *Command: CmdSelect
  39. {
  40. *Order: DOC_SETUP.2
  41. *Cmd: "<1B>&l3H"
  42. }
  43. }
  44. *Option: MANUAL
  45. {
  46. *rcNameID: =MANUAL_FEED_DISPLAY
  47. *Command: CmdSelect
  48. {
  49. *Order: DOC_SETUP.2
  50. *Cmd: "<1B>&l3H"
  51. }
  52. }
  53. *Option: AUTO
  54. {
  55. *rcNameID: =AUTO_DISPLAY
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.2
  59. *Cmd: "<1B>&l1H"
  60. }
  61. }
  62. }
  63. *Feature: Resolution
  64. {
  65. *rcNameID: =RESOLUTION_DISPLAY
  66. *DefaultOption: Option1
  67. *Option: Option1
  68. {
  69. *Name: "600 x 600 " =DOTS_PER_INCH
  70. *DPI: PAIR(600, 600)
  71. *TextDPI: PAIR(600, 600)
  72. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  73. *SpotDiameter: 100
  74. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  75. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  76. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.4
  80. *Cmd: "<1B>*g32W%<<0502>X<02>X<000202>X<02>X<000202>X<02>X<000202>X<02>X<000202>X<02>X"
  81. + "<00021B>$z25f25e1m1Q<1B>*o1D"
  82. }
  83. }
  84. }
  85. *Feature: PaperSize
  86. {
  87. *rcNameID: =PAPER_SIZE_DISPLAY
  88. *DefaultOption: A4
  89. *Option: LETTER
  90. {
  91. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  92. *PrintableArea: PAIR(4796, 6162)
  93. *PrintableOrigin: PAIR(142, 132)
  94. *CursorOrigin: PAIR(200, 72)
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.3
  98. *Cmd: "<1B>&l2A"
  99. }
  100. }
  101. *Option: LEGAL
  102. {
  103. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  104. *PrintableArea: PAIR(4796, 7962)
  105. *PrintableOrigin: PAIR(142, 220)
  106. *CursorOrigin: PAIR(200, 60)
  107. *Command: CmdSelect
  108. {
  109. *Order: DOC_SETUP.3
  110. *Cmd: "<1B>&l3A"
  111. }
  112. }
  113. *Option: A4
  114. {
  115. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  116. *PrintableArea: PAIR(4794, 6576)
  117. *PrintableOrigin: PAIR(84, 220)
  118. *CursorOrigin: PAIR(84, 60)
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.3
  122. *Cmd: "<1B>&l26A"
  123. }
  124. }
  125. *Option: EXECUTIVE
  126. {
  127. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  128. *PrintableArea: PAIR(4182, 5862)
  129. *PrintableOrigin: PAIR(84, 220)
  130. *CursorOrigin: PAIR(84, 60)
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.3
  134. *Cmd: "<1B>&l93A"
  135. }
  136. }
  137. *Option: A5
  138. {
  139. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  140. *PrintableArea: PAIR(3330, 4524)
  141. *PrintableOrigin: PAIR(84, 220)
  142. *CursorOrigin: PAIR(84, 68)
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.3
  146. *Cmd: "<1B>&l29A"
  147. }
  148. }
  149. *Option: Option6
  150. {
  151. *rcNameID: 290
  152. *PageDimensions: PAIR(2478, 3510)
  153. *PrintableArea: PAIR(2310, 3200)
  154. *PrintableOrigin: PAIR(84, 220)
  155. *CursorOrigin: PAIR(84, 56)
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.3
  159. *Cmd: "<1B>&l73A"
  160. }
  161. }
  162. *Option: Option7
  163. {
  164. *rcNameID: 291
  165. *PageDimensions: PAIR(2400, 3600)
  166. *PrintableArea: PAIR(2232, 3300)
  167. *PrintableOrigin: PAIR(84, 220)
  168. *CursorOrigin: PAIR(84, 56)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.3
  172. *Cmd: "<1B>&l74A"
  173. }
  174. }
  175. *Option: Option8
  176. {
  177. *rcNameID: 292
  178. *PageDimensions: PAIR(3000, 4800)
  179. *PrintableArea: PAIR(2832, 4500)
  180. *PrintableOrigin: PAIR(84, 220)
  181. *CursorOrigin: PAIR(84, 56)
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.3
  185. *Cmd: "<1B>&l75A"
  186. }
  187. }
  188. *Option: ENV_10
  189. {
  190. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  191. *PrintableArea: PAIR(2310, 5262)
  192. *PrintableOrigin: PAIR(84, 220)
  193. *CursorOrigin: PAIR(84, 68)
  194. *Command: CmdSelect
  195. {
  196. *Order: DOC_SETUP.3
  197. *Cmd: "<1B>&l81A"
  198. }
  199. }
  200. *Option: ENV_C5
  201. {
  202. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  203. *PrintableArea: PAIR(3660, 4974)
  204. *PrintableOrigin: PAIR(84, 220)
  205. *CursorOrigin: PAIR(84, 68)
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.3
  209. *Cmd: "<1B>&l91A"
  210. }
  211. }
  212. *Option: ENV_DL
  213. {
  214. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  215. *PrintableArea: PAIR(2430, 4758)
  216. *PrintableOrigin: PAIR(84, 220)
  217. *CursorOrigin: PAIR(84, 68)
  218. *Command: CmdSelect
  219. {
  220. *Order: DOC_SETUP.3
  221. *Cmd: "<1B>&l90A"
  222. }
  223. }
  224. *Option: ENV_C6
  225. {
  226. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  227. *PrintableArea: PAIR(2526, 3390)
  228. *PrintableOrigin: PAIR(84, 220)
  229. *CursorOrigin: PAIR(84, 68)
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.3
  233. *Cmd: "<1B>&l92A"
  234. }
  235. }
  236. *Option: ENV_B6
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *RotateSize?: TRUE
  240. *PrintableArea: PAIR(2714, 3830)
  241. *PrintableOrigin: PAIR(132, 84)
  242. *CursorOrigin: PAIR(84, 120)
  243. *Command: CmdSelect
  244. {
  245. *Order: DOC_SETUP.3
  246. *Cmd: "<1B>&l95A"
  247. }
  248. }
  249. }
  250. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.LETTER)
  251. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.LEGAL)
  252. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.A4)
  253. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.EXECUTIVE)
  254. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.A5)
  255. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option6)
  256. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option7)
  257. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.Option8)
  258. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  259. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  260. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  261. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C6)
  262. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_B6)
  263. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  264. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  265. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  266. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C6)
  267. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_B6)
  268. *Feature: MediaType
  269. {
  270. *rcNameID: =MEDIA_TYPE_DISPLAY
  271. *DefaultOption: Option1
  272. *Option: Option1
  273. {
  274. *rcNameID: 264
  275. *OptionID: 264
  276. *Command: CmdSelect
  277. {
  278. *Order: DOC_SETUP.8
  279. *Cmd: "<1B>*o0Q<1B>$h0V"
  280. }
  281. }
  282. *Option: TRANSPARENCY
  283. {
  284. *rcNameID: =TRANSPARENCY_DISPLAY
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.8
  288. *Cmd: "<1B>*o2Q<1B>$h5V"
  289. }
  290. }
  291. *Option: Option3
  292. {
  293. *rcNameID: 265
  294. *OptionID: 265
  295. *Command: CmdSelect
  296. {
  297. *Order: DOC_SETUP.8
  298. *Cmd: "<1B>*o2Q<1B>$h5V"
  299. }
  300. }
  301. *Option: Option4
  302. {
  303. *rcNameID: 266
  304. *OptionID: 266
  305. *Command: CmdSelect
  306. {
  307. *Order: DOC_SETUP.8
  308. *Cmd: "<1B>*o2Q<1B>$h5V"
  309. }
  310. }
  311. }
  312. *Feature: PrintQuality
  313. {
  314. *rcNameID: =TEXT_QUALITY_DISPLAY
  315. *DefaultOption: Option2
  316. *Option: Option1
  317. {
  318. *rcNameID: 270
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.7
  322. *Cmd: "<1B>*r1Q<1B>(s1Q<1B>*p1N<1B>&k1W<1B>*o-1Q"
  323. }
  324. }
  325. *Option: Option2
  326. {
  327. *rcNameID: 271
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.7
  331. *Cmd: "<1B>*r2Q<1B>(s4Q<1B>*p2N<1B>&k0W"
  332. }
  333. }
  334. *Option: Option3
  335. {
  336. *rcNameID: 272
  337. *Command: CmdSelect
  338. {
  339. *Order: DOC_SETUP.7
  340. *Cmd: "<1B>*r2Q<1B>(s5Q<1B>*p2N<1B>&k0W"
  341. }
  342. }
  343. }
  344. *Feature: ColorMode
  345. {
  346. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  347. *DefaultOption: Color
  348. *Option: Mono
  349. {
  350. *rcNameID: =MONO_DISPLAY
  351. *DevNumOfPlanes: 1
  352. *DevBPP: 1
  353. *Color? : FALSE
  354. }
  355. *Option: Color
  356. {
  357. *rcNameID: =COLOR_DISPLAY
  358. *DevNumOfPlanes: 4
  359. *DevBPP: 1
  360. *DrvBPP: 4
  361. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  362. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW, BLACK)
  363. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  364. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  365. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  366. *Command: CmdSendBlackData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  367. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  368. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  369. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  370. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  371. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  372. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  373. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  374. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  375. *Command: CmdSelect
  376. {
  377. *Order: DOC_SETUP.9
  378. *Cmd: "<1B>*r-4U"
  379. }
  380. }
  381. }
  382. *Feature: Halftone
  383. {
  384. *rcNameID: =HALFTONING_DISPLAY
  385. *DefaultOption: HT_PATSIZE_AUTO
  386. *Option: HT_PATSIZE_AUTO
  387. {
  388. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  389. }
  390. *Ifdef: WINNT_50
  391. *Option: HT_PATSIZE_SUPERCELL_M
  392. {
  393. *rcNameID: =HT_SUPERCELL_DISPLAY
  394. }
  395. *Endif:
  396. *Option: HT_PATSIZE_6x6_M
  397. {
  398. *rcNameID: =HT_DITHER6X6_DISPLAY
  399. }
  400. *Option: HT_PATSIZE_8x8_M
  401. {
  402. *rcNameID: =HT_DITHER8X8_DISPLAY
  403. }
  404. }
  405. *Command: CmdStartDoc
  406. {
  407. *Order: DOC_SETUP.1
  408. *Cmd: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k5w0G<1B>*o1D"
  409. }
  410. *Command: CmdStartPage
  411. {
  412. *Order: PAGE_SETUP.1
  413. *Cmd: "<0D>"
  414. }
  415. *Command: CmdEndJob
  416. {
  417. *Order: JOB_FINISH.1
  418. *Cmd: "<1B>$h0V<1B>$z0m0l1q1P<1B>E<1B07000000>"
  419. }
  420. *Command: CmdEndPage
  421. {
  422. *Order: PAGE_FINISH.1
  423. *Cmd: "<0D>"
  424. }
  425. *RotateCoordinate?: FALSE
  426. *RotateRaster?: FALSE
  427. *RotateFont?: FALSE
  428. *switch: Orientation
  429. {
  430. *case: PORTRAIT
  431. {
  432. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  433. }
  434. *case: LANDSCAPE_CC270
  435. {
  436. *TextCaps: LIST()
  437. }
  438. }
  439. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  440. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  441. *XMoveThreshold: 0
  442. *YMoveThreshold: *
  443. *XMoveUnit: 300
  444. *YMoveUnit: 300
  445. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  446. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  447. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  448. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  449. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  450. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  451. *Command: CmdCR { *Cmd : "<0D>" }
  452. *Command: CmdLF { *Cmd : "<0A>" }
  453. *Command: CmdFF { *Cmd : "<0C>" }
  454. *EjectPageWithFF?: TRUE
  455. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  456. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  457. *OutputDataFormat: H_BYTE
  458. *OptimizeLeftBound?: FALSE
  459. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  460. *CursorYAfterSendBlockData: AUTO_INCREMENT
  461. *LookAheadRegion: 100
  462. *DefaultFont: 1
  463. *DefaultCTT: 0
  464. *CharPosition: BASELINE
  465. *switch: Orientation
  466. {
  467. *case: PORTRAIT
  468. {
  469. *DeviceFonts: LIST(1,2,6,7,8,9,75,76,77,78,79,80,81,82,86,87,
  470. + 88,89,104,105,106,107,108,109,110,111,112,113,114,117,118,119,
  471. + 120,121,122,123,124,125,126,127,128,129,130)
  472. }
  473. *case: LANDSCAPE_CC270
  474. {
  475. *DeviceFonts: LIST()
  476. }
  477. }
  478. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  479. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }