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.

588 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "Xrdcs35.GPD"
  9. *ModelName: "Xerox DCS 35"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "pcl5eres.Dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  14. *FontCartSlots: 2
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. *Command: CmdSelect
  23. {
  24. *Order: DOC_SETUP.9
  25. *Cmd: "<1B>&l0O"
  26. }
  27. }
  28. *Option: LANDSCAPE_CC90
  29. {
  30. *rcNameID: =LANDSCAPE_DISPLAY
  31. *Command: CmdSelect
  32. {
  33. *Order: DOC_SETUP.9
  34. *Cmd: "<1B>&l1O"
  35. }
  36. }
  37. }
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: Option1
  42. *Option: Option1
  43. {
  44. *rcNameID: 271
  45. *OptionID: 271
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.8
  49. *Cmd: "<1B>&l0H"
  50. }
  51. }
  52. *Option: Option2
  53. {
  54. *rcNameID: 276
  55. *OptionID: 276
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.8
  59. *Cmd: "<1B>&l1H"
  60. }
  61. }
  62. *Option: Option3
  63. {
  64. *rcNameID: 277
  65. *OptionID: 277
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.8
  69. *Cmd: "<1B>&l3H"
  70. }
  71. }
  72. *Option: Option4
  73. {
  74. *rcNameID: 410
  75. *OptionID: 410
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.8
  79. *Cmd: "<1B>&l4A"
  80. }
  81. }
  82. *Option: Option5
  83. {
  84. *rcNameID: 428
  85. *OptionID: 428
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.8
  89. *Cmd: "<1B>&l6H"
  90. }
  91. }
  92. }
  93. *Feature: Resolution
  94. {
  95. *rcNameID: =RESOLUTION_DISPLAY
  96. *DefaultOption: Option1
  97. *Option: Option1
  98. {
  99. *Name: "600 x 600 " =DOTS_PER_INCH
  100. *DPI: PAIR(600, 600)
  101. *TextDPI: PAIR(600, 600)
  102. *MinStripBlankPixels: 32
  103. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  104. *SpotDiameter: 100
  105. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  106. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  107. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  108. *Command: CmdSelect
  109. {
  110. *Order: DOC_SETUP.1
  111. *Cmd: "<1B>*t600R"
  112. }
  113. }
  114. }
  115. *Feature: PaperSize
  116. {
  117. *rcNameID: =PAPER_SIZE_DISPLAY
  118. *DefaultOption: LETTER
  119. *Option: LETTER
  120. {
  121. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  122. *PageProtectMem: 0
  123. *switch: Orientation
  124. {
  125. *case: PORTRAIT
  126. {
  127. *PrintableArea: PAIR(4800, 6342)
  128. *PrintableOrigin: PAIR(150, 108)
  129. *CursorOrigin: PAIR(150, 104)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.10
  133. *Cmd: "<1B>&l2a8c1E"
  134. }
  135. }
  136. *case: LANDSCAPE_CC90
  137. {
  138. *PrintableArea: PAIR(4800, 6342)
  139. *PrintableOrigin: PAIR(150, 188)
  140. *CursorOrigin: PAIR(116, 6530)
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.10
  144. *Cmd: "<1B>&l2a8c1E"
  145. }
  146. }
  147. }
  148. }
  149. *Option: LEGAL
  150. {
  151. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  152. *PageProtectMem: 0
  153. *switch: Orientation
  154. {
  155. *case: PORTRAIT
  156. {
  157. *PrintableArea: PAIR(4800, 8200)
  158. *PrintableOrigin: PAIR(150, 100)
  159. *CursorOrigin: PAIR(150, 100)
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.10
  163. *Cmd: "<1B>&l3a8c1E"
  164. }
  165. }
  166. *case: LANDSCAPE_CC90
  167. {
  168. *PrintableArea: PAIR(4800, 8140)
  169. *PrintableOrigin: PAIR(150, 80)
  170. *CursorOrigin: PAIR(100, 8220)
  171. *Command: CmdSelect
  172. {
  173. *Order: DOC_SETUP.10
  174. *Cmd: "<1B>&l3a8c1E"
  175. }
  176. }
  177. }
  178. }
  179. *Option: TABLOID
  180. {
  181. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  182. *PageProtectMem: 0
  183. *switch: Orientation
  184. {
  185. *case: PORTRAIT
  186. {
  187. *PrintableArea: PAIR(6300, 10000)
  188. *PrintableOrigin: PAIR(150, 100)
  189. *CursorOrigin: PAIR(150, 100)
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.10
  193. *Cmd: "<1B>&l6a8c1E"
  194. }
  195. }
  196. *case: LANDSCAPE_CC90
  197. {
  198. *PrintableArea: PAIR(6300, 9920)
  199. *PrintableOrigin: PAIR(150, 100)
  200. *CursorOrigin: PAIR(100, 10020)
  201. *Command: CmdSelect
  202. {
  203. *Order: DOC_SETUP.10
  204. *Cmd: "<1B>&l6a8c1E"
  205. }
  206. }
  207. }
  208. }
  209. *Option: A3
  210. {
  211. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  212. *PageProtectMem: 0
  213. *switch: Orientation
  214. {
  215. *case: PORTRAIT
  216. {
  217. *PrintableArea: PAIR(6714, 9680)
  218. *PrintableOrigin: PAIR(150, 100)
  219. *CursorOrigin: PAIR(150, 100)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.10
  223. *Cmd: "<1B>&l27a8c1E"
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(6714, 9680)
  229. *PrintableOrigin: PAIR(150, 100)
  230. *CursorOrigin: PAIR(100, 9780)
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.10
  234. *Cmd: "<1B>&l27a8c1E"
  235. }
  236. }
  237. }
  238. }
  239. *Option: A4
  240. {
  241. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  242. *PageProtectMem: 0
  243. *switch: Orientation
  244. {
  245. *case: PORTRAIT
  246. {
  247. *PrintableArea: PAIR(4616, 6700)
  248. *PrintableOrigin: PAIR(130, 100)
  249. *CursorOrigin: PAIR(130, 100)
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.10
  253. *Cmd: "<1B>&l26a8c1E"
  254. }
  255. }
  256. *case: LANDSCAPE_CC90
  257. {
  258. *PrintableArea: PAIR(4716, 6770)
  259. *PrintableOrigin: PAIR(130, 100)
  260. *CursorOrigin: PAIR(130, 6870)
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.10
  264. *Cmd: "<1B>&l26a8c1E"
  265. }
  266. }
  267. }
  268. }
  269. *Option: Option6
  270. {
  271. *rcNameID: 474
  272. *OptionID: 474
  273. *PageDimensions: PAIR(5100, 7800)
  274. *PageProtectMem: 0
  275. *switch: Orientation
  276. {
  277. *case: PORTRAIT
  278. {
  279. *PrintableArea: PAIR(4854, 7500)
  280. *PrintableOrigin: PAIR(130, 100)
  281. *CursorOrigin: PAIR(130, 100)
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.10
  285. *Cmd: "<1B>&l26a8c1E"
  286. }
  287. }
  288. *case: LANDSCAPE_CC90
  289. {
  290. *PrintableArea: PAIR(4854, 7500)
  291. *PrintableOrigin: PAIR(100, 100)
  292. *CursorOrigin: PAIR(100, 7600)
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.10
  296. *Cmd: "<1B>&l26a8c1E"
  297. }
  298. }
  299. }
  300. }
  301. *Option: Option7
  302. {
  303. *rcNameID: 491
  304. *OptionID: 491
  305. *PageDimensions: PAIR(5102, 7441)
  306. *PageProtectMem: 0
  307. *switch: Orientation
  308. {
  309. *case: PORTRAIT
  310. {
  311. *PrintableArea: PAIR(4802, 7100)
  312. *PrintableOrigin: PAIR(150, 100)
  313. *CursorOrigin: PAIR(150, 100)
  314. *Command: CmdSelect
  315. {
  316. *Order: DOC_SETUP.10
  317. *Cmd: "<1B>&l158a8c1E"
  318. }
  319. }
  320. *case: LANDSCAPE_CC90
  321. {
  322. *PrintableArea: PAIR(4802, 7100)
  323. *PrintableOrigin: PAIR(140, 100)
  324. *CursorOrigin: PAIR(140, 7200)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.10
  328. *Cmd: "<1B>&l158a8c1E"
  329. }
  330. }
  331. }
  332. }
  333. }
  334. *Feature: MediaType
  335. {
  336. *rcNameID: =MEDIA_TYPE_DISPLAY
  337. *DefaultOption: STANDARD
  338. *Option: STANDARD
  339. {
  340. *rcNameID: =PLAIN_PAPER_DISPLAY
  341. }
  342. }
  343. *Feature: OutputBin
  344. {
  345. *rcNameID: =OUTPUTBIN_DISPLAY
  346. *DefaultOption: Option1
  347. *Option: Option1
  348. {
  349. *rcNameID: 658
  350. *Command: CmdSelect
  351. {
  352. *Order: DOC_SETUP.4
  353. *Cmd: "<1B>&l1G"
  354. }
  355. }
  356. *Option: Option2
  357. {
  358. *rcNameID: 431
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.4
  362. *Cmd: "<1B>&l2G"
  363. }
  364. }
  365. }
  366. *Feature: Halftone
  367. {
  368. *rcNameID: =HALFTONING_DISPLAY
  369. *DefaultOption: HT_PATSIZE_AUTO
  370. *Option: HT_PATSIZE_AUTO
  371. {
  372. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  373. }
  374. *Option: HT_PATSIZE_SUPERCELL_M
  375. {
  376. *rcNameID: =HT_SUPERCELL_DISPLAY
  377. }
  378. *Option: HT_PATSIZE_6x6_M
  379. {
  380. *rcNameID: =HT_DITHER6X6_DISPLAY
  381. }
  382. *Option: HT_PATSIZE_8x8_M
  383. {
  384. *rcNameID: =HT_DITHER8X8_DISPLAY
  385. }
  386. }
  387. *Feature: Memory
  388. {
  389. *rcNameID: =PRINTER_MEMORY_DISPLAY
  390. *DefaultOption: 1024KB
  391. *Option: 1024KB
  392. {
  393. *Name: "1MB"
  394. *MemoryConfigKB: PAIR(1024, 700)
  395. }
  396. *Option: 2048KB
  397. {
  398. *Name: "2MB"
  399. *MemoryConfigKB: PAIR(2048, 1645)
  400. }
  401. *Option: 3072KB
  402. {
  403. *Name: "3MB"
  404. *MemoryConfigKB: PAIR(3072, 2590)
  405. }
  406. *Option: 4096KB
  407. {
  408. *Name: "4MB"
  409. *MemoryConfigKB: PAIR(4096, 3535)
  410. }
  411. *Option: 5120KB
  412. {
  413. *Name: "5MB"
  414. *MemoryConfigKB: PAIR(5120, 4480)
  415. }
  416. }
  417. *Feature: Duplex
  418. {
  419. *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  420. *DefaultOption: NONE
  421. *Option: NONE
  422. {
  423. *rcNameID: =NONE_DISPLAY
  424. *Command: CmdSelect
  425. {
  426. *Order: DOC_SETUP.5
  427. *Cmd: "<1B>&l0S"
  428. }
  429. }
  430. *Option: VERTICAL
  431. {
  432. *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  433. *Command: CmdSelect
  434. {
  435. *Order: DOC_SETUP.6
  436. *Cmd: "<1B>&l1S"
  437. }
  438. }
  439. *Option: HORIZONTAL
  440. {
  441. *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  442. *Command: CmdSelect
  443. {
  444. *Order: DOC_SETUP.6
  445. *Cmd: "<1B>&l2S"
  446. }
  447. }
  448. }
  449. *Command: CmdStartDoc
  450. {
  451. *Order: DOC_SETUP.2
  452. *Cmd: "<1B>&u600D"
  453. }
  454. *Command: CmdStartPage
  455. {
  456. *Order: PAGE_SETUP.1
  457. *Cmd: "<1B>*r0F<1B>*b0M<0D>"
  458. }
  459. *Command: CmdEndJob
  460. {
  461. *Order: JOB_FINISH.1
  462. *Cmd: "<1B>E"
  463. }
  464. *Command: CmdCopies
  465. {
  466. *Order: DOC_SETUP.3
  467. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  468. }
  469. *RotateCoordinate?: TRUE
  470. *RotateRaster?: TRUE
  471. *RotateFont?: TRUE
  472. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  473. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  474. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  475. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  476. *XMoveThreshold: 0
  477. *YMoveThreshold: 0
  478. *XMoveUnit: 600
  479. *YMoveUnit: 600
  480. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  481. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,4800]{max_repeat(DestXRel )}"X" }
  482. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,4800]{max_repeat(DestXRel )}"X" }
  483. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  484. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  485. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  486. *Command: CmdCR { *Cmd : "<0D>" }
  487. *Command: CmdLF { *Cmd : "<0A>" }
  488. *Command: CmdFF { *Cmd : "<0C>" }
  489. *Command: CmdBackSpace { *Cmd : "<08>" }
  490. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  491. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  492. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  493. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  494. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  495. *EjectPageWithFF?: TRUE
  496. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  497. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  498. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  499. *OutputDataFormat: H_BYTE
  500. *OptimizeLeftBound?: TRUE
  501. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  502. *CursorYAfterSendBlockData: AUTO_INCREMENT
  503. *DefaultFont: 136
  504. *DefaultCTT: 0
  505. *CharPosition: BASELINE
  506. *DeviceFonts: LIST(134,135,136,137,138,139,140,146,147,148,149,150,151,152,153)
  507. *FontCartridge: FC1
  508. {
  509. *rcCartridgeNameID: 322
  510. *Fonts: LIST(117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133)
  511. }
  512. *FontCartridge: FC2
  513. {
  514. *rcCartridgeNameID: 323
  515. *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  516. + 75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  517. + 91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  518. }
  519. *FontCartridge: FC3
  520. {
  521. *rcCartridgeNameID: 324
  522. *Fonts: LIST(31,32,33,34,35,36)
  523. }
  524. *FontCartridge: FC4
  525. {
  526. *rcCartridgeNameID: 325
  527. *Fonts: LIST(37,38,39,40,41,42,43)
  528. }
  529. *FontCartridge: FC5
  530. {
  531. *rcCartridgeNameID: 326
  532. *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  533. }
  534. *FontCartridge: FC6
  535. {
  536. *rcCartridgeNameID: 327
  537. *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  538. + 144,145)
  539. }
  540. *FontCartridge: FC7
  541. {
  542. *rcCartridgeNameID: 328
  543. *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64)
  544. }
  545. *FontCartridge: FC8
  546. {
  547. *rcCartridgeNameID: 329
  548. *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  549. }
  550. *FontCartridge: FC9
  551. {
  552. *rcCartridgeNameID: 330
  553. *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  554. }
  555. *FontCartridge: FC10
  556. {
  557. *rcCartridgeNameID: 331
  558. *Fonts: LIST(236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,
  559. + 252,253)
  560. }
  561. *FontCartridge: FC11
  562. {
  563. *rcCartridgeNameID: 332
  564. *Fonts: LIST(154,155,156,157,158,159,160,161,162,168,169,170,171,172,173,174,
  565. + 175,176,177,178,179,180,181,182,183,184,185,186,187)
  566. }
  567. *FontCartridge: FC12
  568. {
  569. *rcCartridgeNameID: 333
  570. *Fonts: LIST(188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,
  571. + 204,205,206,207,208,209,210,211,212,213)
  572. }
  573. *MinFontID: 16534
  574. *MaxFontID: 32768
  575. *FontFormat: HPPCL_RES
  576. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  577. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  578. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  579. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  580. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  581. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  582. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  583. *MinGrayFill: 1
  584. *MaxGrayFill: 100
  585. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  586. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  587. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  588. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }