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.

494 lines
14 KiB

  1. *GPDSpecVersion: "1.0"
  2. *Include: "StdNames.gpd"
  3. *GPDFileVersion: "1.4"
  4. *GPDFileName: "oceg400.GPD"
  5. *ModelName: "Oce EPD 400 dpi"
  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: 284
  30. *OptionID: 284
  31. }
  32. }
  33. *Feature: Resolution
  34. {
  35. *rcNameID: =RESOLUTION_DISPLAY
  36. *DefaultOption: Option1
  37. *Option: Option1
  38. {
  39. *Name: "400 x 400 " =DOTS_PER_INCH
  40. *DPI: PAIR(400, 400)
  41. *TextDPI: PAIR(400, 400)
  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>*t400R<1B>&a1N<1B>*b1W0"
  50. }
  51. }
  52. *Option: Option2
  53. {
  54. *Name: "200 x 200 " =DOTS_PER_INCH
  55. *DPI: PAIR(200, 200)
  56. *TextDPI: PAIR(200, 200)
  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>*t200R<1B>&a1N<1B>*b1W0"
  65. }
  66. }
  67. *Option: Option3
  68. {
  69. *Name: "100 x 100 " =DOTS_PER_INCH
  70. *DPI: PAIR(100, 100)
  71. *TextDPI: PAIR(100, 100)
  72. *MinStripBlankPixels: 32
  73. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  74. *SpotDiameter: 100
  75. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  76. *Command: CmdSelect
  77. {
  78. *Order: PAGE_SETUP.6
  79. *Cmd: "<1B>*t100R<1B>&a1N<1B>*b1W0"
  80. }
  81. }
  82. }
  83. *Feature: PaperSize
  84. {
  85. *rcNameID: =PAPER_SIZE_DISPLAY
  86. *DefaultOption: Oce_A
  87. *Option: CUSTOMSIZE
  88. {
  89. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  90. *MinSize: PAIR(400, 400)
  91. *MaxSize: PAIR(14400, 32767)
  92. *MaxPrintableWidth: 14400
  93. *MinLeftMargin: 0
  94. *CenterPrintable?: FALSE
  95. *Command: CmdSelect
  96. {
  97. *Order: PAGE_SETUP.5
  98. *Cmd: "<1B>*r" %d{PhysPaperWidth}"S"
  99. }
  100. }
  101. *Option: Oce_A
  102. {
  103. *rcNameID: 258
  104. *OptionID: 258
  105. *PageDimensions: PAIR(3400, 4400)
  106. *PrintableArea: PAIR(3336, 4336)
  107. *PrintableOrigin: PAIR(32, 32)
  108. *Command: CmdSelect
  109. {
  110. *Order: PAGE_SETUP.5
  111. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  112. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  113. }
  114. }
  115. *Option: Oce_B
  116. {
  117. *rcNameID: 259
  118. *OptionID: 259
  119. *PageDimensions: PAIR(4400, 6800)
  120. *PrintableArea: PAIR(4336, 6736)
  121. *PrintableOrigin: PAIR(32, 32)
  122. *Command: CmdSelect
  123. {
  124. *Order: PAGE_SETUP.5
  125. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  126. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  127. }
  128. }
  129. *Option: Oce_C
  130. {
  131. *rcNameID: 260
  132. *OptionID: 260
  133. *PageDimensions: PAIR(6800, 8800)
  134. *PrintableArea: PAIR(6736, 8736)
  135. *PrintableOrigin: PAIR(32, 32)
  136. *Command: CmdSelect
  137. {
  138. *Order: PAGE_SETUP.5
  139. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  140. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  141. }
  142. }
  143. *Option: Oce_D
  144. {
  145. *rcNameID: 261
  146. *OptionID: 261
  147. *PageDimensions: PAIR(8800, 13600)
  148. *PrintableArea: PAIR(8736, 13536)
  149. *PrintableOrigin: PAIR(32, 32)
  150. *Command: CmdSelect
  151. {
  152. *Order: PAGE_SETUP.5
  153. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  154. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  155. }
  156. }
  157. *Option: Oce_E
  158. {
  159. *rcNameID: 262
  160. *OptionID: 262
  161. *PageDimensions: PAIR(13600, 17600)
  162. *PrintableArea: PAIR(13536, 17536)
  163. *PrintableOrigin: PAIR(32, 32)
  164. *Command: CmdSelect
  165. {
  166. *Order: PAGE_SETUP.5
  167. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  168. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  169. }
  170. }
  171. *Option: Oce_A_Plus
  172. {
  173. *rcNameID: 263
  174. *OptionID: 263
  175. *PageDimensions: PAIR(3600, 4800)
  176. *PrintableArea: PAIR(3536, 4736)
  177. *PrintableOrigin: PAIR(32, 32)
  178. *Command: CmdSelect
  179. {
  180. *Order: PAGE_SETUP.5
  181. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  182. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  183. }
  184. }
  185. *Option: Oce_B_Plus
  186. {
  187. *rcNameID: 264
  188. *OptionID: 264
  189. *PageDimensions: PAIR(4800, 7200)
  190. *PrintableArea: PAIR(4736, 7136)
  191. *PrintableOrigin: PAIR(32, 32)
  192. *Command: CmdSelect
  193. {
  194. *Order: PAGE_SETUP.5
  195. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  196. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  197. }
  198. }
  199. *Option: Oce_C_Plus
  200. {
  201. *rcNameID: 265
  202. *OptionID: 265
  203. *PageDimensions: PAIR(7200, 9600)
  204. *PrintableArea: PAIR(7136, 9536)
  205. *PrintableOrigin: PAIR(32, 32)
  206. *Command: CmdSelect
  207. {
  208. *Order: PAGE_SETUP.5
  209. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  210. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  211. }
  212. }
  213. *Option: Oce_D_Plus
  214. {
  215. *rcNameID: 266
  216. *OptionID: 266
  217. *PageDimensions: PAIR(9600, 14400)
  218. *PrintableArea: PAIR(9536, 14336)
  219. *PrintableOrigin: PAIR(32, 32)
  220. *Command: CmdSelect
  221. {
  222. *Order: PAGE_SETUP.5
  223. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  224. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  225. }
  226. }
  227. *Option: Oce_E_Plus
  228. {
  229. *rcNameID: 267
  230. *OptionID: 267
  231. *PageDimensions: PAIR(14400, 19200)
  232. *PrintableArea: PAIR(14336, 19136)
  233. *PrintableOrigin: PAIR(32, 32)
  234. *Command: CmdSelect
  235. {
  236. *Order: PAGE_SETUP.5
  237. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  238. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  239. }
  240. }
  241. *Option: Oce_A4
  242. {
  243. *rcNameID: 268
  244. *OptionID: 268
  245. *PageDimensions: PAIR(3306, 4677)
  246. *PrintableArea: PAIR(3242, 4613)
  247. *PrintableOrigin: PAIR(32, 32)
  248. *switch: Resolution
  249. {
  250. *case: Option2
  251. {
  252. *PrintableArea: PAIR(3242, 4612)
  253. }
  254. *case: Option3
  255. {
  256. *PrintableArea: PAIR(3240, 4612)
  257. }
  258. }
  259. *Command: CmdSelect
  260. {
  261. *Order: PAGE_SETUP.5
  262. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  263. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  264. }
  265. }
  266. *Option: Oce_A3
  267. {
  268. *rcNameID: 269
  269. *OptionID: 269
  270. *PageDimensions: PAIR(4677, 6614)
  271. *PrintableArea: PAIR(4613, 6550)
  272. *PrintableOrigin: PAIR(32, 32)
  273. *switch: Resolution
  274. {
  275. *case: Option2
  276. {
  277. *PrintableArea: PAIR(4612, 6550)
  278. }
  279. *case: Option3
  280. {
  281. *PrintableArea: PAIR(4612, 6548)
  282. }
  283. }
  284. *Command: CmdSelect
  285. {
  286. *Order: PAGE_SETUP.5
  287. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  288. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  289. }
  290. }
  291. *Option: Oce_A2
  292. {
  293. *rcNameID: 270
  294. *OptionID: 270
  295. *PageDimensions: PAIR(6614, 9354)
  296. *PrintableArea: PAIR(6550, 9290)
  297. *PrintableOrigin: PAIR(32, 32)
  298. *switch: Resolution
  299. {
  300. *case: Option3
  301. {
  302. *PrintableArea: PAIR(6548, 9288)
  303. }
  304. }
  305. *Command: CmdSelect
  306. {
  307. *Order: PAGE_SETUP.5
  308. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  309. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  310. }
  311. }
  312. *Option: Oce_A1
  313. {
  314. *rcNameID: 271
  315. *OptionID: 271
  316. *PageDimensions: PAIR(9354, 13244)
  317. *PrintableArea: PAIR(9290, 13180)
  318. *PrintableOrigin: PAIR(32, 32)
  319. *switch: Resolution
  320. {
  321. *case: Option3
  322. {
  323. *PrintableArea: PAIR(9288, 13180)
  324. }
  325. }
  326. *Command: CmdSelect
  327. {
  328. *Order: PAGE_SETUP.5
  329. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  330. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  331. }
  332. }
  333. *Option: Oce_A0
  334. {
  335. *rcNameID: 272
  336. *OptionID: 272
  337. *PageDimensions: PAIR(13244, 18724)
  338. *PrintableArea: PAIR(13180, 18660)
  339. *PrintableOrigin: PAIR(32, 32)
  340. *Command: CmdSelect
  341. {
  342. *Order: PAGE_SETUP.5
  343. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  344. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  345. }
  346. }
  347. *Option: Oce_B2
  348. {
  349. *rcNameID: 273
  350. *OptionID: 273
  351. *PageDimensions: PAIR(7874, 11133)
  352. *PrintableArea: PAIR(7810, 11069)
  353. *PrintableOrigin: PAIR(32, 32)
  354. *switch: Resolution
  355. {
  356. *case: Option2
  357. {
  358. *PrintableArea: PAIR(7810, 11068)
  359. }
  360. *case: Option3
  361. {
  362. *PrintableArea: PAIR(7808, 11068)
  363. }
  364. }
  365. *Command: CmdSelect
  366. {
  367. *Order: PAGE_SETUP.5
  368. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  369. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  370. }
  371. }
  372. *Option: Oce_B1
  373. {
  374. *rcNameID: 274
  375. *OptionID: 274
  376. *PageDimensions: PAIR(11133, 15748)
  377. *PrintableArea: PAIR(11069, 15684)
  378. *PrintableOrigin: PAIR(32, 32)
  379. *switch: Resolution
  380. {
  381. *case: Option2
  382. {
  383. *PrintableArea: PAIR(11068, 15684)
  384. }
  385. *case: Option3
  386. {
  387. *PrintableArea: PAIR(11068, 15684)
  388. }
  389. }
  390. *Command: CmdSelect
  391. {
  392. *Order: PAGE_SETUP.5
  393. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  394. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  395. }
  396. }
  397. *Option: Oce_30
  398. {
  399. *rcNameID: 275
  400. *OptionID: 275
  401. *PageDimensions: PAIR(12000, 16800)
  402. *PrintableArea: PAIR(11936, 16736)
  403. *PrintableOrigin: PAIR(32, 32)
  404. *Command: CmdSelect
  405. {
  406. *Order: PAGE_SETUP.5
  407. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  408. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  409. }
  410. }
  411. *Option: Oce_500mm
  412. {
  413. *rcNameID: 276
  414. *OptionID: 276
  415. *PageDimensions: PAIR(7874, 15748)
  416. *PrintableArea: PAIR(7810, 15684)
  417. *PrintableOrigin: PAIR(32, 32)
  418. *switch: Resolution
  419. {
  420. *case: Option3
  421. {
  422. *PrintableArea: PAIR(7808, 15684)
  423. }
  424. }
  425. *Command: CmdSelect
  426. {
  427. *Order: PAGE_SETUP.5
  428. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  429. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  430. }
  431. }
  432. *Option: Oce_700mm
  433. {
  434. *rcNameID: 277
  435. *OptionID: 277
  436. *PageDimensions: PAIR(11024, 15748)
  437. *PrintableArea: PAIR(10960, 15684)
  438. *PrintableOrigin: PAIR(32, 32)
  439. *Command: CmdSelect
  440. {
  441. *Order: PAGE_SETUP.5
  442. *Cmd: "PS" %d{((PhysPaperLength * 1016) / 400) }"," %d{((PhysPaperWidth * 1016) / 400) }
  443. + ";<1B>%%0A<1B>*r" %d{PhysPaperWidth }"S"
  444. }
  445. }
  446. }
  447. *Feature: Halftone
  448. {
  449. *rcNameID: =HALFTONING_DISPLAY
  450. *DefaultOption: HT_PATSIZE_AUTO
  451. *Option: HT_PATSIZE_AUTO
  452. {
  453. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  454. }
  455. *Option: HT_PATSIZE_SUPERCELL_M
  456. {
  457. *rcNameID: =HT_SUPERCELL_DISPLAY
  458. }
  459. *Option: HT_PATSIZE_6x6_M
  460. {
  461. *rcNameID: =HT_DITHER6X6_DISPLAY
  462. }
  463. *Option: HT_PATSIZE_8x8_M
  464. {
  465. *rcNameID: =HT_DITHER8X8_DISPLAY
  466. }
  467. }
  468. *Command: CmdEndPage
  469. {
  470. *Order: PAGE_FINISH.1
  471. *Cmd: "<1B>%%0BPG;IN;<0D0A>"
  472. }
  473. *Command: CmdCopies
  474. {
  475. *Order: PAGE_SETUP.4
  476. *Cmd: "<1B>%%0BINBP5,1;"
  477. }
  478. *RotateCoordinate?: FALSE
  479. *RotateRaster?: FALSE
  480. *RotateFont?: FALSE
  481. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  482. *YMoveThreshold: *
  483. *YMoveUnit: 400
  484. *Command: CmdYMoveRelDown { *Cmd : "<1B>*b+" %d{DestYRel}"Y" }
  485. *Command: CmdCR { *Cmd : "<0D>" }
  486. *Command: CmdLF { *Cmd : "<0A>" }
  487. *Command: CmdFF { *Cmd : "<0C>" }
  488. *EjectPageWithFF?: TRUE
  489. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  490. *OutputDataFormat: H_BYTE
  491. *OptimizeLeftBound?: FALSE
  492. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  493. *CursorYAfterSendBlockData: AUTO_INCREMENT
  494. *DefaultCTT: -1