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.

541 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLJP370C.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 370 (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: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.2
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. *Option: ENVMANUAL
  40. {
  41. *rcNameID: =ENV_MANUAL_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.2
  45. *Cmd: "<1B>&l3H"
  46. }
  47. }
  48. *Option: MANUAL
  49. {
  50. *rcNameID: =MANUAL_FEED_DISPLAY
  51. *Command: CmdSelect
  52. {
  53. *Order: DOC_SETUP.2
  54. *Cmd: "<1B>&l3H"
  55. }
  56. }
  57. }
  58. *Feature: Resolution
  59. {
  60. *rcNameID: =RESOLUTION_DISPLAY
  61. *DefaultOption: Option1
  62. *Option: Option1
  63. {
  64. *Name: "300 x 300 " =DOTS_PER_INCH
  65. *DPI: PAIR(300, 300)
  66. *TextDPI: PAIR(300, 300)
  67. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  68. *SpotDiameter: 160
  69. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  70. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  71. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  72. *Command: CmdSelect
  73. {
  74. *Order: DOC_SETUP.5
  75. *Cmd: "<1B>*t300R"
  76. }
  77. }
  78. *Option: Option2
  79. {
  80. *Name: "150 x 150 " =DOTS_PER_INCH
  81. *DPI: PAIR(150, 150)
  82. *TextDPI: PAIR(300, 300)
  83. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  84. *SpotDiameter: 140
  85. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  86. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  87. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.5
  91. *Cmd: "<1B>*t150R"
  92. }
  93. }
  94. *Option: Option3
  95. {
  96. *Name: "75 x 75 " =DOTS_PER_INCH
  97. *DPI: PAIR(75, 75)
  98. *TextDPI: PAIR(300, 300)
  99. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  100. *SpotDiameter: 120
  101. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  102. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  103. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.5
  107. *Cmd: "<1B>*t75R"
  108. }
  109. }
  110. }
  111. *Feature: PaperSize
  112. {
  113. *rcNameID: =PAPER_SIZE_DISPLAY
  114. *DefaultOption: A4
  115. *Option: LETTER
  116. {
  117. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  118. *PrintableArea: PAIR(4796, 6018)
  119. *PrintableOrigin: PAIR(84, 222)
  120. *switch: Resolution
  121. {
  122. *case: Option2
  123. {
  124. *PrintableArea: PAIR(4796, 6016)
  125. }
  126. *case: Option3
  127. {
  128. *PrintableArea: PAIR(4792, 6008)
  129. *PrintableOrigin: PAIR(88, 136)
  130. }
  131. }
  132. *CursorOrigin: PAIR(84, 50)
  133. *Command: CmdSelect
  134. {
  135. *Order: DOC_SETUP.3
  136. *Cmd: "<1B>&l2A"
  137. }
  138. }
  139. *Option: LEGAL
  140. {
  141. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  142. *PrintableArea: PAIR(4796, 7818)
  143. *PrintableOrigin: PAIR(84, 222)
  144. *switch: Resolution
  145. {
  146. *case: Option2
  147. {
  148. *PrintableArea: PAIR(4796, 7816)
  149. }
  150. *case: Option3
  151. {
  152. *PrintableArea: PAIR(4792, 7808)
  153. *PrintableOrigin: PAIR(88, 136)
  154. }
  155. }
  156. *CursorOrigin: PAIR(84, 50)
  157. *Command: CmdSelect
  158. {
  159. *Order: DOC_SETUP.3
  160. *Cmd: "<1B>&l3A"
  161. }
  162. }
  163. *Option: A4
  164. {
  165. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  166. *PrintableArea: PAIR(4794, 6432)
  167. *PrintableOrigin: PAIR(84, 222)
  168. *switch: Resolution
  169. {
  170. *case: Option2
  171. {
  172. *PrintableArea: PAIR(4792, 6432)
  173. }
  174. *case: Option3
  175. {
  176. *PrintableArea: PAIR(4784, 6424)
  177. *PrintableOrigin: PAIR(88, 136)
  178. }
  179. }
  180. *CursorOrigin: PAIR(84, 50)
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.3
  184. *Cmd: "<1B>&l26A"
  185. }
  186. }
  187. *Option: EXECUTIVE
  188. {
  189. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  190. *PrintableArea: PAIR(4182, 5718)
  191. *PrintableOrigin: PAIR(84, 132)
  192. *switch: Resolution
  193. {
  194. *case: Option2
  195. {
  196. *PrintableArea: PAIR(4180, 5716)
  197. }
  198. *case: Option3
  199. {
  200. *PrintableArea: PAIR(4176, 5712)
  201. *PrintableOrigin: PAIR(88, 136)
  202. }
  203. }
  204. *CursorOrigin: PAIR(84, 120)
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.3
  208. *Cmd: "<1B>&l1a93A"
  209. }
  210. }
  211. *Option: Option5
  212. {
  213. *rcNameID: 258
  214. *PageDimensions: PAIR(4962, 3498)
  215. *PrintableArea: PAIR(4794, 2916)
  216. *PrintableOrigin: PAIR(84, 132)
  217. *switch: Resolution
  218. {
  219. *case: Option2
  220. {
  221. *PrintableArea: PAIR(4792, 2916)
  222. }
  223. *case: Option3
  224. {
  225. *PrintableArea: PAIR(4784, 2912)
  226. *PrintableOrigin: PAIR(88, 136)
  227. }
  228. }
  229. *CursorOrigin: PAIR(84, 120)
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.3
  233. *Cmd: "<1B>&l29A"
  234. }
  235. }
  236. *Option: ENV_10
  237. {
  238. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  239. *RotateSize? : TRUE
  240. *PrintableArea: PAIR(4800, 1488)
  241. *PrintableOrigin: PAIR(150, 540)
  242. *switch: Resolution
  243. {
  244. *case: Option2
  245. {
  246. *PrintableArea: PAIR(4796, 1488)
  247. *PrintableOrigin: PAIR(152, 540)
  248. }
  249. *case: Option3
  250. {
  251. *PrintableArea: PAIR(4792, 1480)
  252. *PrintableOrigin: PAIR(152, 544)
  253. }
  254. }
  255. *CursorOrigin: PAIR(724, 120)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.3
  259. *Cmd: "<1B>&l81A"
  260. }
  261. }
  262. *Option: ENV_C5
  263. {
  264. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  265. *RotateSize? : TRUE
  266. *PrintableArea: PAIR(4800, 3078)
  267. *PrintableOrigin: PAIR(150, 300)
  268. *switch: Resolution
  269. {
  270. *case: Option2
  271. {
  272. *PrintableArea: PAIR(4796, 3076)
  273. *PrintableOrigin: PAIR(152, 300)
  274. }
  275. *case: Option3
  276. {
  277. *PrintableArea: PAIR(4792, 3072)
  278. *PrintableOrigin: PAIR(152, 304)
  279. }
  280. }
  281. *CursorOrigin: PAIR(436, 120)
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.3
  285. *Cmd: "<1B>&l91A"
  286. }
  287. }
  288. *Option: ENV_DL
  289. {
  290. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  291. *RotateSize? : TRUE
  292. *PrintableArea: PAIR(4796, 2016)
  293. *PrintableOrigin: PAIR(220, 132)
  294. *switch: Resolution
  295. {
  296. *case: Option3
  297. {
  298. *PrintableArea: PAIR(4792, 2008)
  299. *PrintableOrigin: PAIR(224, 136)
  300. }
  301. }
  302. *CursorOrigin: PAIR(220, 120)
  303. *Command: CmdSelect
  304. {
  305. *Order: DOC_SETUP.3
  306. *Cmd: "<1B>&l90A"
  307. }
  308. }
  309. *Option: CUSTOMSIZE
  310. {
  311. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  312. *MinSize: PAIR(4350, 2474)
  313. *MaxSize: PAIR(5100, 8400)
  314. *MaxPrintableWidth: 4800
  315. *MinLeftMargin: 0
  316. *CenterPrintable?: FALSE
  317. *TopMargin: 0
  318. *BottomMargin: 450
  319. *Command: CmdSelect
  320. {
  321. *Order: DOC_SETUP.3
  322. *Cmd: "<1B>&l0A"
  323. }
  324. }
  325. }
  326. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.EXECUTIVE)
  327. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  328. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  329. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  330. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  331. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  332. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  333. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  334. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.EXECUTIVE)
  335. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option5)
  336. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  337. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  338. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  339. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  340. *Feature: MediaType
  341. {
  342. *rcNameID: =MEDIA_TYPE_DISPLAY
  343. *DefaultOption: Option1
  344. *Option: Option1
  345. {
  346. *rcNameID: 261
  347. }
  348. *Option: TRANSPARENCY
  349. {
  350. *rcNameID: =TRANSPARENCY_DISPLAY
  351. *Command: CmdSelect
  352. {
  353. *Order: DOC_SETUP.8
  354. *Cmd: "<1B>*o2Q"
  355. }
  356. }
  357. *Option: Option3
  358. {
  359. *rcNameID: 263
  360. *Command: CmdSelect
  361. {
  362. *Order: DOC_SETUP.8
  363. *Cmd: "<1B>*o2Q"
  364. }
  365. }
  366. }
  367. *Feature: PrintQuality
  368. {
  369. *rcNameID: =TEXT_QUALITY_DISPLAY
  370. *DefaultOption: Option3
  371. *Option: Option1
  372. {
  373. *rcNameID: 269
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.7
  377. *Cmd: "<1B>(s1Q<1B>*r1Q<1B>*o-0Q<1B>*o0Q"
  378. }
  379. }
  380. *Option: Option2
  381. {
  382. *rcNameID: 267
  383. *Command: CmdSelect
  384. {
  385. *Order: DOC_SETUP.7
  386. *Cmd: "<1B>(s1Q<1B>*r2Q<1B>*o2D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  387. }
  388. }
  389. *Option: Option3
  390. {
  391. *rcNameID: 270
  392. *Command: CmdSelect
  393. {
  394. *Order: DOC_SETUP.7
  395. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  396. }
  397. }
  398. *Option: Option4
  399. {
  400. *rcNameID: 271
  401. *Command: CmdSelect
  402. {
  403. *Order: DOC_SETUP.7
  404. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q"
  405. }
  406. }
  407. *Option: Option5
  408. {
  409. *rcNameID: 272
  410. *Command: CmdSelect
  411. {
  412. *Order: DOC_SETUP.7
  413. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q<1B>*p2N"
  414. }
  415. }
  416. }
  417. *Feature: ColorMode
  418. {
  419. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  420. *DefaultOption: Color
  421. *Option: Mono
  422. {
  423. *rcNameID: =MONO_DISPLAY
  424. *DevNumOfPlanes: 1
  425. *DevBPP: 1
  426. *Color? : FALSE
  427. }
  428. *Option: Color
  429. {
  430. *rcNameID: =COLOR_DISPLAY
  431. *DevNumOfPlanes: 3
  432. *DevBPP: 1
  433. *DrvBPP: 4
  434. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  435. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  436. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  437. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  438. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  439. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  440. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  441. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  442. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  443. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  444. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  445. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  446. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  447. *Command: CmdSelect
  448. {
  449. *Order: DOC_SETUP.9
  450. *Cmd: "<1B>*r-3U"
  451. }
  452. }
  453. }
  454. *Feature: Halftone
  455. {
  456. *rcNameID: =HALFTONING_DISPLAY
  457. *DefaultOption: HT_PATSIZE_AUTO
  458. *Option: HT_PATSIZE_AUTO
  459. {
  460. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  461. }
  462. *Ifdef: WINNT_50
  463. *Option: HT_PATSIZE_SUPERCELL_M
  464. {
  465. *rcNameID: =HT_SUPERCELL_DISPLAY
  466. }
  467. *Endif:
  468. *Option: HT_PATSIZE_6x6_M
  469. {
  470. *rcNameID: =HT_DITHER6X6_DISPLAY
  471. }
  472. *Option: HT_PATSIZE_8x8_M
  473. {
  474. *rcNameID: =HT_DITHER8X8_DISPLAY
  475. }
  476. }
  477. *Command: CmdStartDoc
  478. {
  479. *Order: DOC_SETUP.1
  480. *Cmd: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*r1U<1B>*o1D<1B>*o0Q<1B>"
  481. + "*p1N"
  482. }
  483. *Command: CmdStartPage
  484. {
  485. *Order: PAGE_SETUP.1
  486. *Cmd: "<0D>"
  487. }
  488. *Command: CmdEndJob
  489. {
  490. *Order: JOB_FINISH.1
  491. *Cmd: "<1B>E<1B07000000>"
  492. }
  493. *Command: CmdEndPage
  494. {
  495. *Order: PAGE_FINISH.1
  496. *Cmd: "<0D>"
  497. }
  498. *RotateCoordinate?: FALSE
  499. *RotateRaster?: FALSE
  500. *RotateFont?: FALSE
  501. *switch: Orientation
  502. {
  503. *case: PORTRAIT
  504. {
  505. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  506. }
  507. *case: LANDSCAPE_CC270
  508. {
  509. *TextCaps: LIST()
  510. }
  511. }
  512. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  513. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  514. *XMoveThreshold: 0
  515. *YMoveThreshold: *
  516. *XMoveUnit: 300
  517. *YMoveUnit: 300
  518. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  519. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  520. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  521. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  522. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  523. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  524. *Command: CmdCR { *Cmd : "<0D>" }
  525. *Command: CmdLF { *Cmd : "<0A>" }
  526. *Command: CmdFF { *Cmd : "<0C>" }
  527. *EjectPageWithFF?: TRUE
  528. *ChangeColorModeOnDoc?: FALSE
  529. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  530. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  531. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M<1B>*b1S" }
  532. *OutputDataFormat: H_BYTE
  533. *OptimizeLeftBound?: FALSE
  534. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  535. *CursorYAfterSendBlockData: AUTO_INCREMENT
  536. *LookAheadRegion: 200
  537. *DefaultFont: 1
  538. *DefaultCTT: 0
  539. *CharPosition: BASELINE
  540. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  541. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }