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.

605 lines
16 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "FX41082J.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Fuji Xerox 4108II"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "FXARTRES.DLL"
  13. *PrinterType: PAGE
  14. *PrintRate: 15
  15. *PrintRateUnit: PPM
  16. *MaxCopies: 99
  17. *%========== Orientation ==========
  18. *Feature: Orientation
  19. {
  20. *rcNameID: =ORIENTATION_DISPLAY
  21. *DefaultOption: PORTRAIT
  22. *Option: PORTRAIT
  23. {
  24. *rcNameID: =PORTRAIT_DISPLAY
  25. *Command: CmdSelect
  26. {
  27. *Order: DOC_SETUP.4
  28. *CallbackID: 17
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.4
  37. *CallbackID: 18
  38. }
  39. }
  40. }
  41. *%========== InputBin ==========
  42. *Feature: InputBin
  43. {
  44. *rcNameID: =PAPER_SOURCE_DISPLAY
  45. *DefaultOption: AUTO
  46. *Option: AUTO
  47. {
  48. *rcNameID: =AUTO_DISPLAY
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.7
  52. *Cmd: "it -1<0D0A>"
  53. }
  54. }
  55. *Option: MANUAL
  56. {
  57. *rcNameID: =MANUAL_FEED_DISPLAY
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.7
  61. *Cmd: "it 0<0D0A>"
  62. }
  63. }
  64. *Option: Option3
  65. {
  66. *rcNameID: 258
  67. *Command: CmdSelect
  68. {
  69. *Order: DOC_SETUP.7
  70. *Cmd: "it 1<0D0A>"
  71. }
  72. }
  73. *Option: Option4
  74. {
  75. *rcNameID: 259
  76. *Command: CmdSelect
  77. {
  78. *Order: DOC_SETUP.7
  79. *Cmd: "it 2<0D0A>"
  80. }
  81. }
  82. }
  83. *%========== Resolution ==========
  84. *Feature: Resolution
  85. {
  86. *rcNameID: =RESOLUTION_DISPLAY
  87. *DefaultOption: Option1
  88. *Option: Option1
  89. {
  90. *Name: "240 x 240 dots per inch"
  91. *DPI: PAIR(240, 240)
  92. *TextDPI: PAIR(240, 240)
  93. *MinStripBlankPixels: 24
  94. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  95. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  96. *SpotDiameter: 100
  97. *Command: CmdSendBlockData
  98. {
  99. *CallbackID: 26
  100. *Params: LIST(NumOfDataBytes, RasterDataHeightInPixels, RasterDataWidthInBytes)
  101. }
  102. *Command: CmdEndBlockData { *Cmd : "]<0A>" }
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.1
  106. *CallbackID: 27
  107. }
  108. }
  109. }
  110. *%========== PaperSize ==========
  111. *Feature: PaperSize
  112. {
  113. *rcNameID: =PAPER_SIZE_DISPLAY
  114. *DefaultOption: A4
  115. *Option: A3
  116. {
  117. *rcNameID: =A3_DISPLAY
  118. *switch: Orientation
  119. {
  120. *case: PORTRAIT
  121. {
  122. *PrintableArea: PAIR(13608, 19418)
  123. *PrintableOrigin: PAIR(210, 210)
  124. *switch: Resolution
  125. {
  126. *case: Option1
  127. {
  128. *PrintableArea: PAIR(13605, 19415)
  129. }
  130. }
  131. *CursorOrigin: PAIR(210, 210)
  132. *Command: CmdSelect
  133. {
  134. *Order: DOC_SETUP.8
  135. *CallbackID: 30
  136. }
  137. }
  138. *case: LANDSCAPE_CC90
  139. {
  140. *PrintableArea: PAIR(13608, 19418)
  141. *PrintableOrigin: PAIR(210, 220)
  142. *switch: Resolution
  143. {
  144. *case: Option1
  145. {
  146. *PrintableArea: PAIR(13605, 19415)
  147. }
  148. }
  149. *CursorOrigin: PAIR(210, 19638)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.8
  153. *CallbackID: 30
  154. }
  155. }
  156. }
  157. }
  158. *Option: A4
  159. {
  160. *rcNameID: =A4_DISPLAY
  161. *switch: Orientation
  162. {
  163. *case: PORTRAIT
  164. {
  165. *PrintableArea: PAIR(9501, 13608)
  166. *PrintableOrigin: PAIR(211, 210)
  167. *switch: Resolution
  168. {
  169. *case: Option1
  170. {
  171. *PrintableArea: PAIR(9495, 13605)
  172. *PrintableOrigin: PAIR(215, 210)
  173. }
  174. }
  175. *CursorOrigin: PAIR(211, 210)
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.8
  179. *CallbackID: 31
  180. }
  181. }
  182. *case: LANDSCAPE_CC90
  183. {
  184. *PrintableArea: PAIR(9501, 13606)
  185. *PrintableOrigin: PAIR(213, 212)
  186. *switch: Resolution
  187. {
  188. *case: Option1
  189. {
  190. *PrintableArea: PAIR(9495, 13600)
  191. *PrintableOrigin: PAIR(215, 215)
  192. }
  193. }
  194. *CursorOrigin: PAIR(213, 13818)
  195. *Command: CmdSelect
  196. {
  197. *Order: DOC_SETUP.8
  198. *CallbackID: 31
  199. }
  200. }
  201. }
  202. }
  203. *Option: A5
  204. {
  205. *rcNameID: =A5_DISPLAY
  206. *switch: Orientation
  207. {
  208. *case: PORTRAIT
  209. {
  210. *PrintableArea: PAIR(6571, 9499)
  211. *PrintableOrigin: PAIR(210, 210)
  212. *switch: Resolution
  213. {
  214. *case: Option1
  215. {
  216. *PrintableArea: PAIR(6570, 9495)
  217. }
  218. }
  219. *CursorOrigin: PAIR(210, 210)
  220. *Command: CmdSelect
  221. {
  222. *Order: DOC_SETUP.8
  223. *CallbackID: 32
  224. }
  225. }
  226. *case: LANDSCAPE_CC90
  227. {
  228. *PrintableArea: PAIR(6571, 9499)
  229. *PrintableOrigin: PAIR(210, 215)
  230. *switch: Resolution
  231. {
  232. *case: Option1
  233. {
  234. *PrintableArea: PAIR(6570, 9495)
  235. }
  236. }
  237. *CursorOrigin: PAIR(210, 9714)
  238. *Command: CmdSelect
  239. {
  240. *Order: DOC_SETUP.8
  241. *CallbackID: 32
  242. }
  243. }
  244. }
  245. }
  246. *Option: B4
  247. {
  248. *rcNameID: =B4_DISPLAY
  249. *switch: Orientation
  250. {
  251. *case: PORTRAIT
  252. {
  253. *PrintableArea: PAIR(11719, 16776)
  254. *PrintableOrigin: PAIR(210, 210)
  255. *switch: Resolution
  256. {
  257. *case: Option1
  258. {
  259. *PrintableArea: PAIR(11715, 16775)
  260. }
  261. }
  262. *CursorOrigin: PAIR(210, 210)
  263. *Command: CmdSelect
  264. {
  265. *Order: DOC_SETUP.8
  266. *CallbackID: 33
  267. }
  268. }
  269. *case: LANDSCAPE_CC90
  270. {
  271. *PrintableArea: PAIR(11719, 16776)
  272. *PrintableOrigin: PAIR(210, 210)
  273. *switch: Resolution
  274. {
  275. *case: Option1
  276. {
  277. *PrintableArea: PAIR(11715, 16775)
  278. }
  279. }
  280. *CursorOrigin: PAIR(210, 16986)
  281. *Command: CmdSelect
  282. {
  283. *Order: DOC_SETUP.8
  284. *CallbackID: 33
  285. }
  286. }
  287. }
  288. }
  289. *Option: B5
  290. {
  291. *rcNameID: =B5_DISPLAY
  292. *switch: Orientation
  293. {
  294. *case: PORTRAIT
  295. {
  296. *PrintableArea: PAIR(8179, 11719)
  297. *PrintableOrigin: PAIR(210, 210)
  298. *switch: Resolution
  299. {
  300. *case: Option1
  301. {
  302. *PrintableArea: PAIR(8175, 11715)
  303. }
  304. }
  305. *CursorOrigin: PAIR(210, 210)
  306. *Command: CmdSelect
  307. {
  308. *Order: DOC_SETUP.8
  309. *CallbackID: 34
  310. }
  311. }
  312. *case: LANDSCAPE_CC90
  313. {
  314. *PrintableArea: PAIR(8179, 11719)
  315. *PrintableOrigin: PAIR(210, 215)
  316. *switch: Resolution
  317. {
  318. *case: Option1
  319. {
  320. *PrintableArea: PAIR(8175, 11715)
  321. }
  322. }
  323. *CursorOrigin: PAIR(210, 11934)
  324. *Command: CmdSelect
  325. {
  326. *Order: DOC_SETUP.8
  327. *CallbackID: 34
  328. }
  329. }
  330. }
  331. }
  332. *Option: JAPANESE_POSTCARD
  333. {
  334. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  335. *switch: Orientation
  336. {
  337. *case: PORTRAIT
  338. {
  339. *PrintableArea: PAIR(4304, 6572)
  340. *PrintableOrigin: PAIR(210, 210)
  341. *switch: Resolution
  342. {
  343. *case: Option1
  344. {
  345. *PrintableArea: PAIR(4300, 6570)
  346. }
  347. }
  348. *CursorOrigin: PAIR(210, 210)
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.8
  352. *CallbackID: 35
  353. }
  354. }
  355. *case: LANDSCAPE_CC90
  356. {
  357. *PrintableArea: PAIR(4304, 6572)
  358. *PrintableOrigin: PAIR(210, 210)
  359. *switch: Resolution
  360. {
  361. *case: Option1
  362. {
  363. *PrintableArea: PAIR(4300, 6570)
  364. }
  365. }
  366. *CursorOrigin: PAIR(210, 6780)
  367. *Command: CmdSelect
  368. {
  369. *Order: DOC_SETUP.8
  370. *CallbackID: 35
  371. }
  372. }
  373. }
  374. }
  375. *Option: TABLOID
  376. {
  377. *rcNameID: =TABLOID_DISPLAY
  378. *switch: Orientation
  379. {
  380. *case: PORTRAIT
  381. {
  382. *PrintableArea: PAIR(12780, 19980)
  383. *PrintableOrigin: PAIR(210, 210)
  384. *CursorOrigin: PAIR(210, 210)
  385. *Command: CmdSelect
  386. {
  387. *Order: DOC_SETUP.8
  388. *CallbackID: 36
  389. }
  390. }
  391. *case: LANDSCAPE_CC90
  392. {
  393. *PrintableArea: PAIR(12780, 19980)
  394. *PrintableOrigin: PAIR(210, 210)
  395. *CursorOrigin: PAIR(210, 20190)
  396. *Command: CmdSelect
  397. {
  398. *Order: DOC_SETUP.8
  399. *CallbackID: 36
  400. }
  401. }
  402. }
  403. }
  404. *Option: LETTER
  405. {
  406. *rcNameID: =LETTER_DISPLAY
  407. *switch: Orientation
  408. {
  409. *case: PORTRAIT
  410. {
  411. *PrintableArea: PAIR(9780, 12780)
  412. *PrintableOrigin: PAIR(210, 210)
  413. *CursorOrigin: PAIR(210, 210)
  414. *Command: CmdSelect
  415. {
  416. *Order: DOC_SETUP.8
  417. *CallbackID: 37
  418. }
  419. }
  420. *case: LANDSCAPE_CC90
  421. {
  422. *PrintableArea: PAIR(9780, 12780)
  423. *PrintableOrigin: PAIR(210, 210)
  424. *CursorOrigin: PAIR(210, 12990)
  425. *Command: CmdSelect
  426. {
  427. *Order: DOC_SETUP.8
  428. *CallbackID: 37
  429. }
  430. }
  431. }
  432. }
  433. *Option: FOLIO
  434. {
  435. *rcNameID: =FOLIO_DISPLAY
  436. *switch: Orientation
  437. {
  438. *case: PORTRAIT
  439. {
  440. *PrintableArea: PAIR(9780, 15180)
  441. *PrintableOrigin: PAIR(210, 210)
  442. *CursorOrigin: PAIR(210, 210)
  443. *Command: CmdSelect
  444. {
  445. *Order: DOC_SETUP.8
  446. *CallbackID: 38
  447. }
  448. }
  449. *case: LANDSCAPE_CC90
  450. {
  451. *PrintableArea: PAIR(9780, 15180)
  452. *PrintableOrigin: PAIR(210, 210)
  453. *CursorOrigin: PAIR(210, 15390)
  454. *Command: CmdSelect
  455. {
  456. *Order: DOC_SETUP.8
  457. *CallbackID: 38
  458. }
  459. }
  460. }
  461. }
  462. *Option: LEGAL
  463. {
  464. *rcNameID: =LEGAL_DISPLAY
  465. *switch: Orientation
  466. {
  467. *case: PORTRAIT
  468. {
  469. *PrintableArea: PAIR(9780, 16380)
  470. *PrintableOrigin: PAIR(210, 210)
  471. *CursorOrigin: PAIR(210, 210)
  472. *Command: CmdSelect
  473. {
  474. *Order: DOC_SETUP.8
  475. *CallbackID: 39
  476. }
  477. }
  478. *case: LANDSCAPE_CC90
  479. {
  480. *PrintableArea: PAIR(9780, 16380)
  481. *PrintableOrigin: PAIR(210, 210)
  482. *CursorOrigin: PAIR(210, 16590)
  483. *Command: CmdSelect
  484. {
  485. *Order: DOC_SETUP.8
  486. *CallbackID: 39
  487. }
  488. }
  489. }
  490. }
  491. }
  492. *%========== OutputBin ==========
  493. *Feature: OutputBin
  494. {
  495. *rcNameID: =OUTPUTBIN_DISPLAY
  496. *DefaultOption: Option1
  497. *Option: Option1
  498. {
  499. *rcNameID: 262
  500. *Command: CmdSelect
  501. {
  502. *Cmd: "setp<20>outtray<20>1<0A>"
  503. *Order: DOC_SETUP.9
  504. }
  505. }
  506. }
  507. *%========== Halftone ==========
  508. *Feature: Halftone
  509. {
  510. *rcNameID: =HALFTONING_DISPLAY
  511. *DefaultOption: HT_PATSIZE_AUTO
  512. *Option: HT_PATSIZE_AUTO
  513. {
  514. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  515. }
  516. *Option: HT_PATSIZE_SUPERCELL_M
  517. {
  518. *rcNameID: =HT_SUPERCELL_DISPLAY
  519. }
  520. *Option: HT_PATSIZE_6x6_M
  521. {
  522. *rcNameID: =HT_DITHER6X6_DISPLAY
  523. }
  524. *Option: HT_PATSIZE_8x8_M
  525. {
  526. *rcNameID: =HT_DITHER8X8_DISPLAY
  527. }
  528. }
  529. *%========== Job Control Command ==========
  530. *Command: CmdStartDoc
  531. {
  532. *Order: DOC_SETUP.2
  533. *CallbackID: 11
  534. }
  535. *Command: CmdStartPage
  536. {
  537. *Order: PAGE_SETUP.1
  538. *Params: LIST(TextXRes, TextYRes)
  539. *CallbackID: 14
  540. }
  541. *Command: CmdEndJob
  542. {
  543. *Order: JOB_FINISH.1
  544. *CallbackID: 70
  545. }
  546. *Command: CmdEndPage
  547. {
  548. *Order: PAGE_FINISH.1
  549. *CallbackID: 15
  550. }
  551. *Command: CmdCopies
  552. {
  553. *Order: DOC_SETUP.3
  554. *CallbackID: 16
  555. *Params: LIST(NumOfCopies)
  556. }
  557. *%========== Printer Capabilities ==========
  558. *RotateCoordinate?: TRUE
  559. *RotateRaster?: TRUE
  560. *RotateFont?: FALSE
  561. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_RA_ABLE)
  562. *%========== Cursor Move ==========
  563. *XMoveUnit: 1200
  564. *YMoveUnit: 1200
  565. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  566. *XMoveThreshold: 0
  567. *YMoveThreshold: 0
  568. *Command: CmdXMoveAbsolute
  569. {
  570. *CallbackID: 1
  571. *Params: LIST(DestX)
  572. }
  573. *Command: CmdYMoveAbsolute
  574. {
  575. *CallbackID: 2
  576. *Params: LIST(DestY)
  577. }
  578. *Command: CmdCR { *CallbackID: 7 }
  579. *Command: CmdFF { *CallbackID: 8 }
  580. *Command: CmdLF { *CallbackID: 9 }
  581. *EjectPageWithFF?: TRUE
  582. *%========== Raster Data Emission ==========
  583. *OutputDataFormat: H_BYTE
  584. *OptimizeLeftBound?: TRUE
  585. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  586. *CursorYAfterSendBlockData: NO_MOVE
  587. *DefaultCTT: -1
  588. *%========== Font Simulation ==========
  589. *Command: CmdBoldOn { *CallbackID: 51 }
  590. *Command: CmdBoldOff { *CallbackID: 52 }
  591. *Command: CmdItalicOn { *CallbackID: 53 }
  592. *Command: CmdItalicOff { *CallbackID: 54 }
  593. *Command: CmdSelectSingleByteMode { *CallbackID: 55 }
  594. *Command: CmdSelectDoubleByteMode { *CallbackID: 56 }