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.

553 lines
15 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.4"
  4. *GPDFileName: "Oce9800.GPD"
  5. *ModelName: "Oce 9800 Raster"
  6. *MasterUnits: PAIR(400, 400)
  7. *ResourceDLL: "oce.Dll"
  8. *PrinterType: SERIAL
  9. *MaxCopies: 99
  10. *Feature: Orientation
  11. {
  12. *rcNameID: =ORIENTATION_DISPLAY
  13. *DefaultOption: PORTRAIT
  14. *Option: PORTRAIT
  15. {
  16. *rcNameID: =PORTRAIT_DISPLAY
  17. }
  18. *Option: LANDSCAPE_CC270
  19. {
  20. *rcNameID: =LANDSCAPE_DISPLAY
  21. }
  22. }
  23. *Feature: InputBin
  24. {
  25. *rcNameID: =PAPER_SOURCE_DISPLAY
  26. *DefaultOption: Option1
  27. *Option: Option1
  28. {
  29. *rcNameID: 294
  30. *OptionID: 294
  31. *Command: CmdSelect
  32. {
  33. *Order: PAGE_SETUP.2
  34. *Cmd: "APPLDATA 021 %"AF=1, BY=0, RM=1%";<0D0A>"
  35. }
  36. }
  37. *Option: MANUAL
  38. {
  39. *rcNameID: =MANUAL_FEED_DISPLAY
  40. *Command: CmdSelect
  41. {
  42. *Order: PAGE_SETUP.2
  43. *Cmd: "APPLDATA 021 %"AF=1, BY=1, RM=1%";<0D0A>"
  44. }
  45. }
  46. }
  47. *Feature: Resolution
  48. {
  49. *rcNameID: =RESOLUTION_DISPLAY
  50. *DefaultOption: Option1
  51. *Option: Option1
  52. {
  53. *Name: "400 x 400 " =DOTS_PER_INCH
  54. *DPI: PAIR(400, 400)
  55. *TextDPI: PAIR(400, 400)
  56. *MinStripBlankPixels: 32
  57. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  58. *SpotDiameter: 100
  59. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  60. *Command: CmdSelect
  61. {
  62. *Order: PAGE_SETUP.7
  63. *Cmd: "<1B>*t400R<1B>*b1W0"
  64. }
  65. }
  66. *Option: Option2
  67. {
  68. *Name: "200 x 200 " =DOTS_PER_INCH
  69. *DPI: PAIR(200, 200)
  70. *TextDPI: PAIR(200, 200)
  71. *MinStripBlankPixels: 32
  72. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  73. *SpotDiameter: 100
  74. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  75. *Command: CmdSelect
  76. {
  77. *Order: PAGE_SETUP.7
  78. *Cmd: "<1B>*t200R<1B>*b1W0"
  79. }
  80. }
  81. *Option: Option3
  82. {
  83. *Name: "100 x 100 " =DOTS_PER_INCH
  84. *DPI: PAIR(100, 100)
  85. *TextDPI: PAIR(100, 100)
  86. *MinStripBlankPixels: 32
  87. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  88. *SpotDiameter: 100
  89. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  90. *Command: CmdSelect
  91. {
  92. *Order: PAGE_SETUP.7
  93. *Cmd: "<1B>*t100R<1B>*b1W0"
  94. }
  95. }
  96. }
  97. *Feature: PaperSize
  98. {
  99. *rcNameID: =PAPER_SIZE_DISPLAY
  100. *DefaultOption: Option6
  101. *Option: Option1
  102. {
  103. *rcNameID: 272
  104. *OptionID: 272
  105. *PageDimensions: PAIR(13244, 18724)
  106. *PrintableArea: PAIR(13118, 18598)
  107. *PrintableOrigin: PAIR(63, 63)
  108. *Command: CmdSelect
  109. {
  110. *Order: PAGE_SETUP.6
  111. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  112. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  113. }
  114. }
  115. *Option: Option2
  116. {
  117. *rcNameID: 271
  118. *OptionID: 271
  119. *PageDimensions: PAIR(9354, 13244)
  120. *PrintableArea: PAIR(9228, 13118)
  121. *PrintableOrigin: PAIR(63, 63)
  122. *Command: CmdSelect
  123. {
  124. *Order: PAGE_SETUP.6
  125. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  126. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  127. }
  128. }
  129. *Option: Option3
  130. {
  131. *rcNameID: 270
  132. *OptionID: 270
  133. *PageDimensions: PAIR(6614, 9354)
  134. *PrintableArea: PAIR(6488, 9228)
  135. *PrintableOrigin: PAIR(63, 63)
  136. *Command: CmdSelect
  137. {
  138. *Order: PAGE_SETUP.6
  139. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  140. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  141. }
  142. }
  143. *Option: Option4
  144. {
  145. *rcNameID: 269
  146. *OptionID: 269
  147. *PageDimensions: PAIR(4677, 6614)
  148. *PrintableArea: PAIR(4551, 6488)
  149. *PrintableOrigin: PAIR(63, 63)
  150. *Command: CmdSelect
  151. {
  152. *Order: PAGE_SETUP.6
  153. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  154. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  155. }
  156. }
  157. *Option: Option5
  158. {
  159. *rcNameID: 268
  160. *OptionID: 268
  161. *PageDimensions: PAIR(3306, 4677)
  162. *PrintableArea: PAIR(3180, 4551)
  163. *PrintableOrigin: PAIR(63, 63)
  164. *Command: CmdSelect
  165. {
  166. *Order: PAGE_SETUP.6
  167. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  168. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  169. }
  170. }
  171. *Option: Option6
  172. {
  173. *rcNameID: 258
  174. *OptionID: 258
  175. *PageDimensions: PAIR(3400, 4400)
  176. *PrintableArea: PAIR(3274, 4274)
  177. *PrintableOrigin: PAIR(63, 63)
  178. *Command: CmdSelect
  179. {
  180. *Order: PAGE_SETUP.6
  181. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  182. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  183. }
  184. }
  185. *Option: Option7
  186. {
  187. *rcNameID: 259
  188. *OptionID: 259
  189. *PageDimensions: PAIR(4400, 6800)
  190. *PrintableArea: PAIR(4274, 6674)
  191. *PrintableOrigin: PAIR(63, 63)
  192. *Command: CmdSelect
  193. {
  194. *Order: PAGE_SETUP.6
  195. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  196. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  197. }
  198. }
  199. *Option: Option8
  200. {
  201. *rcNameID: 260
  202. *OptionID: 260
  203. *PageDimensions: PAIR(6800, 8800)
  204. *PrintableArea: PAIR(6674, 8674)
  205. *PrintableOrigin: PAIR(63, 63)
  206. *Command: CmdSelect
  207. {
  208. *Order: PAGE_SETUP.6
  209. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  210. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  211. }
  212. }
  213. *Option: Option9
  214. {
  215. *rcNameID: 261
  216. *OptionID: 261
  217. *PageDimensions: PAIR(8800, 13600)
  218. *PrintableArea: PAIR(8674, 13474)
  219. *PrintableOrigin: PAIR(63, 63)
  220. *Command: CmdSelect
  221. {
  222. *Order: PAGE_SETUP.6
  223. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  224. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  225. }
  226. }
  227. *Option: Option10
  228. {
  229. *rcNameID: 262
  230. *OptionID: 262
  231. *PageDimensions: PAIR(13600, 17600)
  232. *PrintableArea: PAIR(13474, 17474)
  233. *PrintableOrigin: PAIR(63, 63)
  234. *Command: CmdSelect
  235. {
  236. *Order: PAGE_SETUP.6
  237. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  238. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  239. }
  240. }
  241. *Option: Option11
  242. {
  243. *rcNameID: 263
  244. *OptionID: 263
  245. *PageDimensions: PAIR(3600, 4800)
  246. *PrintableArea: PAIR(3474, 4674)
  247. *PrintableOrigin: PAIR(63, 63)
  248. *Command: CmdSelect
  249. {
  250. *Order: PAGE_SETUP.6
  251. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  252. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  253. }
  254. }
  255. *Option: Option12
  256. {
  257. *rcNameID: 264
  258. *OptionID: 264
  259. *PageDimensions: PAIR(4800, 7200)
  260. *PrintableArea: PAIR(4674, 7074)
  261. *PrintableOrigin: PAIR(63, 63)
  262. *Command: CmdSelect
  263. {
  264. *Order: PAGE_SETUP.6
  265. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  266. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  267. }
  268. }
  269. *Option: Option13
  270. {
  271. *rcNameID: 265
  272. *OptionID: 265
  273. *PageDimensions: PAIR(7200, 9600)
  274. *PrintableArea: PAIR(7074, 9474)
  275. *PrintableOrigin: PAIR(63, 63)
  276. *Command: CmdSelect
  277. {
  278. *Order: PAGE_SETUP.6
  279. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  280. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  281. }
  282. }
  283. *Option: Option14
  284. {
  285. *rcNameID: 266
  286. *OptionID: 266
  287. *PageDimensions: PAIR(9600, 14400)
  288. *PrintableArea: PAIR(9474, 14274)
  289. *PrintableOrigin: PAIR(63, 63)
  290. *Command: CmdSelect
  291. {
  292. *Order: PAGE_SETUP.6
  293. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  294. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  295. }
  296. }
  297. *Option: Option15
  298. {
  299. *rcNameID: 267
  300. *OptionID: 267
  301. *PageDimensions: PAIR(14400, 19200)
  302. *PrintableArea: PAIR(14274, 19074)
  303. *PrintableOrigin: PAIR(63, 63)
  304. *Command: CmdSelect
  305. {
  306. *Order: PAGE_SETUP.6
  307. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  308. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  309. }
  310. }
  311. *Option: Option16
  312. {
  313. *rcNameID: 274
  314. *OptionID: 274
  315. *PageDimensions: PAIR(11133, 15748)
  316. *PrintableArea: PAIR(11007, 15622)
  317. *PrintableOrigin: PAIR(63, 63)
  318. *Command: CmdSelect
  319. {
  320. *Order: PAGE_SETUP.6
  321. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  322. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  323. }
  324. }
  325. *Option: Option17
  326. {
  327. *rcNameID: 273
  328. *OptionID: 273
  329. *PageDimensions: PAIR(7874, 11133)
  330. *PrintableArea: PAIR(7748, 11007)
  331. *PrintableOrigin: PAIR(63, 63)
  332. *Command: CmdSelect
  333. {
  334. *Order: PAGE_SETUP.6
  335. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  336. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  337. }
  338. }
  339. *Option: Option18
  340. {
  341. *rcNameID: 275
  342. *OptionID: 275
  343. *PageDimensions: PAIR(12000, 16800)
  344. *PrintableArea: PAIR(11874, 16674)
  345. *PrintableOrigin: PAIR(63, 63)
  346. *Command: CmdSelect
  347. {
  348. *Order: PAGE_SETUP.6
  349. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  350. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  351. }
  352. }
  353. *Option: Option19
  354. {
  355. *rcNameID: 276
  356. *OptionID: 276
  357. *PageDimensions: PAIR(7874, 15748)
  358. *PrintableArea: PAIR(7748, 15622)
  359. *PrintableOrigin: PAIR(63, 63)
  360. *Command: CmdSelect
  361. {
  362. *Order: PAGE_SETUP.6
  363. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  364. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  365. }
  366. }
  367. *Option: Option20
  368. {
  369. *rcNameID: 277
  370. *OptionID: 277
  371. *PageDimensions: PAIR(11024, 15748)
  372. *PrintableArea: PAIR(10898, 15622)
  373. *PrintableOrigin: PAIR(63, 63)
  374. *Command: CmdSelect
  375. {
  376. *Order: PAGE_SETUP.6
  377. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  378. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  379. }
  380. }
  381. *Option: CUSTOMSIZE
  382. {
  383. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  384. *MinSize: PAIR(400, 400)
  385. *MaxSize: PAIR(14400, 32767)
  386. *MaxPrintableWidth: 14400
  387. *MinLeftMargin: 0
  388. *CenterPrintable?: FALSE
  389. *Command: CmdSelect
  390. {
  391. *Order: PAGE_SETUP.6
  392. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  393. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  394. }
  395. }
  396. }
  397. *Feature: MediaType
  398. {
  399. *rcNameID: =MEDIA_TYPE_DISPLAY
  400. *DefaultOption: STANDARD
  401. *Option: STANDARD
  402. {
  403. *rcNameID: =PLAIN_PAPER_DISPLAY
  404. *Command: CmdSelect
  405. {
  406. *Order: PAGE_SETUP.3
  407. *Cmd: "APPLDATA 021 %"ME=0%";<0D0A>"
  408. }
  409. }
  410. *Option: Option2
  411. {
  412. *rcNameID: 311
  413. *OptionID: 311
  414. *Command: CmdSelect
  415. {
  416. *Order: PAGE_SETUP.3
  417. *Cmd: "APPLDATA 021 %"ME=1%";<0D0A>"
  418. }
  419. }
  420. *Option: Option3
  421. {
  422. *rcNameID: 312
  423. *OptionID: 312
  424. *Command: CmdSelect
  425. {
  426. *Order: PAGE_SETUP.3
  427. *Cmd: "APPLDATA 021 %"ME=2%";<0D0A>"
  428. }
  429. }
  430. }
  431. *Feature: OutputBin
  432. {
  433. *rcNameID: =OUTPUTBIN_DISPLAY
  434. *DefaultOption: Option1
  435. *Option: Option1
  436. {
  437. *rcNameID: 305
  438. *Command: CmdSelect
  439. {
  440. *Order: PAGE_SETUP.4
  441. *Cmd: "APPLDATA 022 %"FO=0%";<0D0A>APPLDATA 023 %"OU=0%";<0D0A>"
  442. }
  443. }
  444. *Option: Option2
  445. {
  446. *rcNameID: 313
  447. *Command: CmdSelect
  448. {
  449. *Order: PAGE_SETUP.4
  450. *Cmd: "APPLDATA 022 %"FO=0%";<0D0A>APPLDATA 023 %"OU=1%";<0D0A>"
  451. }
  452. }
  453. *Option: Option3
  454. {
  455. *rcNameID: 314
  456. *Command: CmdSelect
  457. {
  458. *Order: PAGE_SETUP.4
  459. *Cmd: "APPLDATA 022 %"FO=3%";<0D0A>APPLDATA 023 %"OU=1%";<0D0A>"
  460. }
  461. }
  462. *Option: Option4
  463. {
  464. *rcNameID: 315
  465. *Command: CmdSelect
  466. {
  467. *Order: PAGE_SETUP.4
  468. *Cmd: "APPLDATA 022 %"FO=1%";<0D0A>APPLDATA 023 %"OU=1, DE=1%";<0D0A>"
  469. }
  470. }
  471. *Option: Option5
  472. {
  473. *rcNameID: 316
  474. *Command: CmdSelect
  475. {
  476. *Order: PAGE_SETUP.4
  477. *Cmd: "APPLDATA 022 %"FO=1%";<0D0A>APPLDATA 023 %"OU=1, DE=2%";<0D0A>"
  478. }
  479. }
  480. *Option: Option6
  481. {
  482. *rcNameID: 317
  483. *Command: CmdSelect
  484. {
  485. *Order: PAGE_SETUP.4
  486. *Cmd: "APPLDATA 022 %"FO=1%";<0D0A>APPLDATA 023 %"OU=1, DE=3%";<0D0A>"
  487. }
  488. }
  489. *Option: Option7
  490. {
  491. *rcNameID: 318
  492. *Command: CmdSelect
  493. {
  494. *Order: PAGE_SETUP.4
  495. *Cmd: "APPLDATA 022 %"FO=1%";<0D0A>APPLDATA 023 %"OU=1, DE=0%";<0D0A>"
  496. }
  497. }
  498. }
  499. *Feature: Halftone
  500. {
  501. *rcNameID: =HALFTONING_DISPLAY
  502. *DefaultOption: HT_PATSIZE_AUTO
  503. *Option: HT_PATSIZE_AUTO
  504. {
  505. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  506. }
  507. *Option: HT_PATSIZE_SUPERCELL_M
  508. {
  509. *rcNameID: =HT_SUPERCELL_DISPLAY
  510. }
  511. *Option: HT_PATSIZE_6x6_M
  512. {
  513. *rcNameID: =HT_DITHER6X6_DISPLAY
  514. }
  515. *Option: HT_PATSIZE_8x8_M
  516. {
  517. *rcNameID: =HT_DITHER8X8_DISPLAY
  518. }
  519. }
  520. *Command: CmdStartPage
  521. {
  522. *Order: PAGE_SETUP.1
  523. *Cmd: "BEGMF %"Oce 9800-WRD1.3%";<0D0A>MFVERSION 1;<0D0A>MFDESC %"Oce RCF, Version=2"
  524. + ".4, Type=Header, Unit=Metric%";<0D0A>"
  525. }
  526. *Command: CmdEndPage
  527. {
  528. *Order: PAGE_FINISH.1
  529. *Cmd: "<1B>%%0BPG;IN;<0D0A>"
  530. }
  531. *Command: CmdCopies
  532. {
  533. *Order: PAGE_SETUP.5
  534. *Cmd: "APPLDATA 002 %"CO=" %d{NumOfCopies}"%";<0D0A>APPLDATA 059 %"LG=2%";<0D0A>ENDMF;"
  535. + "<1B>%%0BINBP5,1;"
  536. }
  537. *Command: CmdCR { *Cmd : "<0D>" }
  538. *Command: CmdLF { *Cmd : "<0A>" }
  539. *Command: CmdFF { *Cmd : "<0C>" }
  540. *RotateCoordinate?: FALSE
  541. *RotateRaster?: FALSE
  542. *RotateFont?: FALSE
  543. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  544. *YMoveThreshold: *
  545. *YMoveUnit: 400
  546. *Command: CmdYMoveRelDown { *Cmd : "<1B>*b+" %d{DestYRel}"Y" }
  547. *EjectPageWithFF?: TRUE
  548. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  549. *OutputDataFormat: H_BYTE
  550. *OptimizeLeftBound?: FALSE
  551. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  552. *CursorYAfterSendBlockData: AUTO_INCREMENT
  553. *DefaultCTT: -1