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.

510 lines
14 KiB

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