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.

534 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLJP360C.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 360 (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, 162)
  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, 60)
  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, 162)
  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, 60)
  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, 162)
  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, 60)
  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(4796, 1896)
  241. *PrintableOrigin: PAIR(724, 132)
  242. *switch: Resolution
  243. {
  244. *case: Option3
  245. {
  246. *PrintableArea: PAIR(4792, 1888)
  247. *PrintableOrigin: PAIR(728, 136)
  248. }
  249. }
  250. *CursorOrigin: PAIR(724, 120)
  251. *Command: CmdSelect
  252. {
  253. *Order: DOC_SETUP.3
  254. *Cmd: "<1B>&l81A"
  255. }
  256. }
  257. *Option: ENV_C5
  258. {
  259. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  260. *RotateSize? : TRUE
  261. *PrintableArea: PAIR(4796, 3246)
  262. *PrintableOrigin: PAIR(436, 132)
  263. *switch: Resolution
  264. {
  265. *case: Option2
  266. {
  267. *PrintableArea: PAIR(4796, 3244)
  268. }
  269. *case: Option3
  270. {
  271. *PrintableArea: PAIR(4792, 3240)
  272. *PrintableOrigin: PAIR(440, 136)
  273. }
  274. }
  275. *CursorOrigin: PAIR(436, 120)
  276. *Command: CmdSelect
  277. {
  278. *Order: DOC_SETUP.3
  279. *Cmd: "<1B>&l91A"
  280. }
  281. }
  282. *Option: ENV_DL
  283. {
  284. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  285. *RotateSize? : TRUE
  286. *PrintableArea: PAIR(4796, 2016)
  287. *PrintableOrigin: PAIR(220, 132)
  288. *switch: Resolution
  289. {
  290. *case: Option3
  291. {
  292. *PrintableArea: PAIR(4792, 2008)
  293. *PrintableOrigin: PAIR(224, 136)
  294. }
  295. }
  296. *CursorOrigin: PAIR(220, 120)
  297. *Command: CmdSelect
  298. {
  299. *Order: DOC_SETUP.3
  300. *Cmd: "<1B>&l90A"
  301. }
  302. }
  303. *Option: CUSTOMSIZE
  304. {
  305. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  306. *MinSize: PAIR(4350, 2474)
  307. *MaxSize: PAIR(5100, 8400)
  308. *MaxPrintableWidth: 4800
  309. *MinLeftMargin: 0
  310. *CenterPrintable?: FALSE
  311. *TopMargin: 0
  312. *BottomMargin: 450
  313. *Command: CmdSelect
  314. {
  315. *Order: DOC_SETUP.3
  316. *Cmd: "<1B>&l0A"
  317. }
  318. }
  319. }
  320. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.EXECUTIVE)
  321. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  322. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  323. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  324. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  325. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  326. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  327. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  328. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.EXECUTIVE)
  329. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option5)
  330. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  331. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  332. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  333. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  334. *Feature: MediaType
  335. {
  336. *rcNameID: =MEDIA_TYPE_DISPLAY
  337. *DefaultOption: Option1
  338. *Option: Option1
  339. {
  340. *rcNameID: 261
  341. }
  342. *Option: TRANSPARENCY
  343. {
  344. *rcNameID: =TRANSPARENCY_DISPLAY
  345. *Command: CmdSelect
  346. {
  347. *Order: DOC_SETUP.8
  348. *Cmd: "<1B>*o2Q"
  349. }
  350. }
  351. *Option: Option3
  352. {
  353. *rcNameID: 263
  354. *Command: CmdSelect
  355. {
  356. *Order: DOC_SETUP.8
  357. *Cmd: "<1B>*o2Q"
  358. }
  359. }
  360. }
  361. *Feature: PrintQuality
  362. {
  363. *rcNameID: =TEXT_QUALITY_DISPLAY
  364. *DefaultOption: Option3
  365. *Option: Option1
  366. {
  367. *rcNameID: 269
  368. *Command: CmdSelect
  369. {
  370. *Order: DOC_SETUP.7
  371. *Cmd: "<1B>(s1Q<1B>*r1Q<1B>*o-0Q<1B>*o0Q"
  372. }
  373. }
  374. *Option: Option2
  375. {
  376. *rcNameID: 267
  377. *Command: CmdSelect
  378. {
  379. *Order: DOC_SETUP.7
  380. *Cmd: "<1B>(s1Q<1B>*r2Q<1B>*o2D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  381. }
  382. }
  383. *Option: Option3
  384. {
  385. *rcNameID: 270
  386. *Command: CmdSelect
  387. {
  388. *Order: DOC_SETUP.7
  389. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-1Q<1B>*o0Q<1B>*p2N"
  390. }
  391. }
  392. *Option: Option4
  393. {
  394. *rcNameID: 271
  395. *Command: CmdSelect
  396. {
  397. *Order: DOC_SETUP.7
  398. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q"
  399. }
  400. }
  401. *Option: Option5
  402. {
  403. *rcNameID: 272
  404. *Command: CmdSelect
  405. {
  406. *Order: DOC_SETUP.7
  407. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o-2Q<1B>*o1Q<1B>*p2N"
  408. }
  409. }
  410. }
  411. *Feature: ColorMode
  412. {
  413. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  414. *DefaultOption: Color
  415. *Option: Mono
  416. {
  417. *rcNameID: =MONO_DISPLAY
  418. *DevNumOfPlanes: 1
  419. *DevBPP: 1
  420. *Color? : FALSE
  421. }
  422. *Option: Color
  423. {
  424. *rcNameID: =COLOR_DISPLAY
  425. *DevNumOfPlanes: 3
  426. *DevBPP: 1
  427. *DrvBPP: 4
  428. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  429. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  430. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  431. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  432. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  433. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  434. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  435. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  436. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  437. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  438. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  439. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  440. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  441. *Command: CmdSelect
  442. {
  443. *Order: DOC_SETUP.9
  444. *Cmd: "<1B>*r-3U"
  445. }
  446. }
  447. }
  448. *Feature: Halftone
  449. {
  450. *rcNameID: =HALFTONING_DISPLAY
  451. *DefaultOption: HT_PATSIZE_AUTO
  452. *Option: HT_PATSIZE_AUTO
  453. {
  454. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  455. }
  456. *Ifdef: WINNT_50
  457. *Option: HT_PATSIZE_SUPERCELL_M
  458. {
  459. *rcNameID: =HT_SUPERCELL_DISPLAY
  460. }
  461. *Endif:
  462. *Option: HT_PATSIZE_6x6_M
  463. {
  464. *rcNameID: =HT_DITHER6X6_DISPLAY
  465. }
  466. *Option: HT_PATSIZE_8x8_M
  467. {
  468. *rcNameID: =HT_DITHER8X8_DISPLAY
  469. }
  470. }
  471. *Command: CmdStartDoc
  472. {
  473. *Order: DOC_SETUP.1
  474. *Cmd: "<00000000000000001B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*r1U<1B>*o1D<1B>*o0Q<1B>*p1N"
  475. }
  476. *Command: CmdStartPage
  477. {
  478. *Order: PAGE_SETUP.1
  479. *Cmd: "<0D>"
  480. }
  481. *Command: CmdEndJob
  482. {
  483. *Order: JOB_FINISH.1
  484. *Cmd: "<1B>E"
  485. }
  486. *Command: CmdEndPage
  487. {
  488. *Order: PAGE_FINISH.1
  489. *Cmd: "<0D>"
  490. }
  491. *RotateCoordinate?: FALSE
  492. *RotateRaster?: FALSE
  493. *RotateFont?: FALSE
  494. *switch: Orientation
  495. {
  496. *case: PORTRAIT
  497. {
  498. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  499. }
  500. *case: LANDSCAPE_CC270
  501. {
  502. *TextCaps: LIST()
  503. }
  504. }
  505. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  506. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  507. *XMoveThreshold: 0
  508. *YMoveThreshold: *
  509. *XMoveUnit: 300
  510. *YMoveUnit: 300
  511. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  512. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  513. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  514. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  515. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  516. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  517. *Command: CmdCR { *Cmd : "<0D>" }
  518. *Command: CmdLF { *Cmd : "<0A>" }
  519. *Command: CmdFF { *Cmd : "<0C>" }
  520. *EjectPageWithFF?: TRUE
  521. *ChangeColorModeOnDoc?: FALSE
  522. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  523. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  524. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M<1B>*b1S" }
  525. *OutputDataFormat: H_BYTE
  526. *OptimizeLeftBound?: FALSE
  527. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  528. *CursorYAfterSendBlockData: AUTO_INCREMENT
  529. *LookAheadRegion: 200
  530. *DefaultFont: 1
  531. *DefaultCTT: 0
  532. *CharPosition: BASELINE
  533. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  534. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }