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.

477 lines
13 KiB

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