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.

526 lines
15 KiB

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