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.

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