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.

527 lines
14 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.4"
  4. *GPDFileName: "Oce94II.GPD"
  5. *ModelName: "Oce 9400-II Raster"
  6. *MasterUnits: PAIR(300, 300)
  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: AutoRollSelect
  27. *Option: AutoRollSelect
  28. {
  29. *rcNameID: 278
  30. *OptionID: 278
  31. *Command: CmdSelect
  32. {
  33. *Order: PAGE_SETUP.4
  34. *Cmd: "APPLDATA 021 %"RS=1%";<0D0A>"
  35. }
  36. }
  37. *Option: Roll1
  38. {
  39. *rcNameID: 298
  40. *OptionID: 298
  41. *Command: CmdSelect
  42. {
  43. *Order: PAGE_SETUP.4
  44. *Cmd: "APPLDATA 021 %"RS=0, RN=1%";<0D0A>"
  45. }
  46. }
  47. *Option: Roll2
  48. {
  49. *rcNameID: 299
  50. *OptionID: 299
  51. *Command: CmdSelect
  52. {
  53. *Order: PAGE_SETUP.4
  54. *Cmd: "APPLDATA 021 %"RS=0, RN=2%";<0D0A>"
  55. }
  56. }
  57. *Option: MANUAL
  58. {
  59. *rcNameID: =MANUAL_FEED_DISPLAY
  60. *Command: CmdSelect
  61. {
  62. *Order: PAGE_SETUP.4
  63. *Cmd: "APPLDATA 021 %"BY=1%";<0D0A>"
  64. }
  65. }
  66. }
  67. *Feature: Resolution
  68. {
  69. *rcNameID: =RESOLUTION_DISPLAY
  70. *DefaultOption: Option1
  71. *Option: Option1
  72. {
  73. *Name: "300 x 300 " =DOTS_PER_INCH
  74. *DPI: PAIR(300, 300)
  75. *TextDPI: PAIR(300, 300)
  76. *MinStripBlankPixels: 32
  77. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  78. *SpotDiameter: 100
  79. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  80. *Command: CmdSelect
  81. {
  82. *Order: PAGE_SETUP.7
  83. *Cmd: "<1B>*t300R<1B>&a1N<1B>*b1W0"
  84. }
  85. }
  86. *Option: Option2
  87. {
  88. *Name: "150 x 150 " =DOTS_PER_INCH
  89. *DPI: PAIR(150, 150)
  90. *TextDPI: PAIR(150, 150)
  91. *MinStripBlankPixels: 32
  92. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  93. *SpotDiameter: 100
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: PAGE_SETUP.7
  98. *Cmd: "<1B>*t150R<1B>&a1N<1B>*b1W0"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: Oce_A
  106. *Option: CUSTOMSIZE
  107. {
  108. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  109. *MinSize: PAIR(300, 300)
  110. *MaxSize: PAIR(10800, 32767)
  111. *MaxPrintableWidth: 10800
  112. *MinLeftMargin: 0
  113. *CenterPrintable?: FALSE
  114. *Command: CmdSelect
  115. {
  116. *Order: PAGE_SETUP.6
  117. *Cmd: "<1B>*r" %d{PhysPaperWidth}"S"
  118. }
  119. }
  120. *Option: Oce_A
  121. {
  122. *rcNameID: 258
  123. *OptionID: 258
  124. *PageDimensions: PAIR(2550, 3300)
  125. *PrintableArea: PAIR(2502, 3252)
  126. *PrintableOrigin: PAIR(24, 24)
  127. *Command: CmdSelect
  128. {
  129. *Order: PAGE_SETUP.6
  130. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  131. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  132. }
  133. }
  134. *Option: Oce_B
  135. {
  136. *rcNameID: 259
  137. *OptionID: 259
  138. *PageDimensions: PAIR(3300, 5100)
  139. *PrintableArea: PAIR(3252, 5052)
  140. *PrintableOrigin: PAIR(24, 24)
  141. *Command: CmdSelect
  142. {
  143. *Order: PAGE_SETUP.6
  144. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  145. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  146. }
  147. }
  148. *Option: Oce_C
  149. {
  150. *rcNameID: 260
  151. *OptionID: 260
  152. *PageDimensions: PAIR(5100, 6600)
  153. *PrintableArea: PAIR(5052, 6552)
  154. *PrintableOrigin: PAIR(24, 24)
  155. *Command: CmdSelect
  156. {
  157. *Order: PAGE_SETUP.6
  158. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  159. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  160. }
  161. }
  162. *Option: Oce_D
  163. {
  164. *rcNameID: 261
  165. *OptionID: 261
  166. *PageDimensions: PAIR(6600, 10200)
  167. *PrintableArea: PAIR(6552, 10152)
  168. *PrintableOrigin: PAIR(24, 24)
  169. *Command: CmdSelect
  170. {
  171. *Order: PAGE_SETUP.6
  172. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  173. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  174. }
  175. }
  176. *Option: Oce_E
  177. {
  178. *rcNameID: 262
  179. *OptionID: 262
  180. *PageDimensions: PAIR(10200, 13200)
  181. *PrintableArea: PAIR(10152, 13152)
  182. *PrintableOrigin: PAIR(24, 24)
  183. *Command: CmdSelect
  184. {
  185. *Order: PAGE_SETUP.6
  186. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  187. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  188. }
  189. }
  190. *Option: Oce_A_Plus
  191. {
  192. *rcNameID: 263
  193. *OptionID: 263
  194. *PageDimensions: PAIR(2700, 3600)
  195. *PrintableArea: PAIR(2652, 3552)
  196. *PrintableOrigin: PAIR(24, 24)
  197. *Command: CmdSelect
  198. {
  199. *Order: PAGE_SETUP.6
  200. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  201. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  202. }
  203. }
  204. *Option: Oce_B_Plus
  205. {
  206. *rcNameID: 264
  207. *OptionID: 264
  208. *PageDimensions: PAIR(3600, 5400)
  209. *PrintableArea: PAIR(3552, 5352)
  210. *PrintableOrigin: PAIR(24, 24)
  211. *Command: CmdSelect
  212. {
  213. *Order: PAGE_SETUP.6
  214. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  215. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  216. }
  217. }
  218. *Option: Oce_C_Plus
  219. {
  220. *rcNameID: 265
  221. *OptionID: 265
  222. *PageDimensions: PAIR(5400, 7200)
  223. *PrintableArea: PAIR(5352, 7152)
  224. *PrintableOrigin: PAIR(24, 24)
  225. *Command: CmdSelect
  226. {
  227. *Order: PAGE_SETUP.6
  228. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  229. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  230. }
  231. }
  232. *Option: Oce_D_Plus
  233. {
  234. *rcNameID: 266
  235. *OptionID: 266
  236. *PageDimensions: PAIR(7200, 10800)
  237. *PrintableArea: PAIR(7152, 10752)
  238. *PrintableOrigin: PAIR(24, 24)
  239. *Command: CmdSelect
  240. {
  241. *Order: PAGE_SETUP.6
  242. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  243. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  244. }
  245. }
  246. *Option: Oce_E_Plus
  247. {
  248. *rcNameID: 267
  249. *OptionID: 267
  250. *PageDimensions: PAIR(10800, 14400)
  251. *PrintableArea: PAIR(10752, 14352)
  252. *PrintableOrigin: PAIR(24, 24)
  253. *Command: CmdSelect
  254. {
  255. *Order: PAGE_SETUP.6
  256. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  257. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  258. }
  259. }
  260. *Option: Oce_A4
  261. {
  262. *rcNameID: 268
  263. *OptionID: 268
  264. *PageDimensions: PAIR(2480, 3508)
  265. *PrintableArea: PAIR(2432, 3460)
  266. *PrintableOrigin: PAIR(24, 24)
  267. *Command: CmdSelect
  268. {
  269. *Order: PAGE_SETUP.6
  270. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  271. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  272. }
  273. }
  274. *Option: Oce_A3
  275. {
  276. *rcNameID: 269
  277. *OptionID: 269
  278. *PageDimensions: PAIR(3508, 4961)
  279. *PrintableArea: PAIR(3460, 4913)
  280. *PrintableOrigin: PAIR(24, 24)
  281. *switch: Resolution
  282. {
  283. *case: Option2
  284. {
  285. *PrintableArea: PAIR(3460, 4912)
  286. }
  287. }
  288. *Command: CmdSelect
  289. {
  290. *Order: PAGE_SETUP.6
  291. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  292. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  293. }
  294. }
  295. *Option: Oce_A2
  296. {
  297. *rcNameID: 270
  298. *OptionID: 270
  299. *PageDimensions: PAIR(4961, 7016)
  300. *PrintableArea: PAIR(4913, 6968)
  301. *PrintableOrigin: PAIR(24, 24)
  302. *switch: Resolution
  303. {
  304. *case: Option2
  305. {
  306. *PrintableArea: PAIR(4912, 6968)
  307. }
  308. }
  309. *Command: CmdSelect
  310. {
  311. *Order: PAGE_SETUP.6
  312. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  313. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  314. }
  315. }
  316. *Option: Oce_A1
  317. {
  318. *rcNameID: 271
  319. *OptionID: 271
  320. *PageDimensions: PAIR(7016, 9933)
  321. *PrintableArea: PAIR(6968, 9885)
  322. *PrintableOrigin: PAIR(24, 24)
  323. *switch: Resolution
  324. {
  325. *case: Option2
  326. {
  327. *PrintableArea: PAIR(6968, 9884)
  328. }
  329. }
  330. *Command: CmdSelect
  331. {
  332. *Order: PAGE_SETUP.6
  333. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  334. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  335. }
  336. }
  337. *Option: Oce_A0
  338. {
  339. *rcNameID: 272
  340. *OptionID: 272
  341. *PageDimensions: PAIR(9933, 14043)
  342. *PrintableArea: PAIR(9885, 13995)
  343. *PrintableOrigin: PAIR(24, 24)
  344. *switch: Resolution
  345. {
  346. *case: Option2
  347. {
  348. *PrintableArea: PAIR(9884, 13994)
  349. }
  350. }
  351. *Command: CmdSelect
  352. {
  353. *Order: PAGE_SETUP.6
  354. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  355. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  356. }
  357. }
  358. *Option: Oce_B2
  359. {
  360. *rcNameID: 273
  361. *OptionID: 273
  362. *PageDimensions: PAIR(5906, 8350)
  363. *PrintableArea: PAIR(5858, 8302)
  364. *PrintableOrigin: PAIR(24, 24)
  365. *Command: CmdSelect
  366. {
  367. *Order: PAGE_SETUP.6
  368. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  369. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  370. }
  371. }
  372. *Option: Oce_B1
  373. {
  374. *rcNameID: 274
  375. *OptionID: 274
  376. *PageDimensions: PAIR(8350, 11811)
  377. *PrintableArea: PAIR(8302, 11763)
  378. *PrintableOrigin: PAIR(24, 24)
  379. *switch: Resolution
  380. {
  381. *case: Option2
  382. {
  383. *PrintableArea: PAIR(8302, 11762)
  384. }
  385. }
  386. *Command: CmdSelect
  387. {
  388. *Order: PAGE_SETUP.6
  389. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  390. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  391. }
  392. }
  393. *Option: Oce_30
  394. {
  395. *rcNameID: 275
  396. *OptionID: 275
  397. *PageDimensions: PAIR(9000, 12600)
  398. *PrintableArea: PAIR(8952, 12552)
  399. *PrintableOrigin: PAIR(24, 24)
  400. *Command: CmdSelect
  401. {
  402. *Order: PAGE_SETUP.6
  403. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  404. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  405. }
  406. }
  407. *Option: Oce_500mm
  408. {
  409. *rcNameID: 276
  410. *OptionID: 276
  411. *PageDimensions: PAIR(5906, 11811)
  412. *PrintableArea: PAIR(5858, 11763)
  413. *PrintableOrigin: PAIR(24, 24)
  414. *switch: Resolution
  415. {
  416. *case: Option2
  417. {
  418. *PrintableArea: PAIR(5858, 11762)
  419. }
  420. }
  421. *Command: CmdSelect
  422. {
  423. *Order: PAGE_SETUP.6
  424. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  425. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  426. }
  427. }
  428. *Option: Oce_700mm
  429. {
  430. *rcNameID: 277
  431. *OptionID: 277
  432. *PageDimensions: PAIR(8268, 11811)
  433. *PrintableArea: PAIR(8220, 11763)
  434. *PrintableOrigin: PAIR(24, 24)
  435. *switch: Resolution
  436. {
  437. *case: Option2
  438. {
  439. *PrintableArea: PAIR(8220, 11762)
  440. }
  441. }
  442. *Command: CmdSelect
  443. {
  444. *Order: PAGE_SETUP.6
  445. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 300) }"," %d{((PhysPaperWidth * 1016) / 300) }
  446. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  447. }
  448. }
  449. }
  450. *Feature: PosterMode
  451. {
  452. *rcNameID: 281
  453. *DefaultOption: Option1
  454. *Option: Option1
  455. {
  456. *rcNameID: 282
  457. *Command: CmdSelect
  458. {
  459. *Order: PAGE_SETUP.3
  460. *Cmd: "APPLDATA 014 %"PM=0%";<0D0A>"
  461. }
  462. }
  463. *Option: Option2
  464. {
  465. *rcNameID: 283
  466. *Command: CmdSelect
  467. {
  468. *Order: PAGE_SETUP.3
  469. *Cmd: "APPLDATA 014 %"PM=1%";<0D0A>"
  470. }
  471. }
  472. }
  473. *Feature: Halftone
  474. {
  475. *rcNameID: =HALFTONING_DISPLAY
  476. *DefaultOption: HT_PATSIZE_AUTO
  477. *Option: HT_PATSIZE_AUTO
  478. {
  479. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  480. }
  481. *Option: HT_PATSIZE_SUPERCELL_M
  482. {
  483. *rcNameID: =HT_SUPERCELL_DISPLAY
  484. }
  485. *Option: HT_PATSIZE_6x6_M
  486. {
  487. *rcNameID: =HT_DITHER6X6_DISPLAY
  488. }
  489. *Option: HT_PATSIZE_8x8_M
  490. {
  491. *rcNameID: =HT_DITHER8X8_DISPLAY
  492. }
  493. }
  494. *Command: CmdStartPage
  495. {
  496. *Order: PAGE_SETUP.1
  497. *Cmd: "BEGMF %"Oce 9400II, Oce_WRD1.3%";<0D0A>MFVERSION 1;<0D0A>MFDESC %"Oce RCF, Versio"
  498. + "n=2.4, Type=Header, Unit=Metric%";<0D0A>"
  499. }
  500. *Command: CmdEndPage
  501. {
  502. *Order: PAGE_FINISH.1
  503. *Cmd: "<1B>%%0BPG;IN;<0D0A>"
  504. }
  505. *Command: CmdCopies
  506. {
  507. *Order: PAGE_SETUP.5
  508. *Cmd: "APPLDATA 002 %"CO=" %d{NumOfCopies}"%";<0D0A>APPLDATA 059 %"LG=2%";<0D>"
  509. + "<0A>ENDMF;<1B>%%0BINBP5,1;"
  510. }
  511. *RotateCoordinate?: FALSE
  512. *RotateRaster?: FALSE
  513. *RotateFont?: FALSE
  514. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  515. *YMoveThreshold: *
  516. *YMoveUnit: 300
  517. *Command: CmdYMoveRelDown { *Cmd : "<1B>*b+" %d{DestYRel}"Y" }
  518. *Command: CmdCR { *Cmd : "<0D>" }
  519. *Command: CmdLF { *Cmd : "<0A>" }
  520. *Command: CmdFF { *Cmd : "<0C>" }
  521. *EjectPageWithFF?: TRUE
  522. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  523. *OutputDataFormat: H_BYTE
  524. *OptimizeLeftBound?: FALSE
  525. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  526. *CursorYAfterSendBlockData: AUTO_INCREMENT
  527. *DefaultCTT: -1