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.

316 lines
8.3 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "FUDX2200.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Fujitsu DX 2200"
  10. *MasterUnits: PAIR(240, 432)
  11. *ResourceDLL: "fu9res.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.7
  36. *Cmd: "<1B09>"
  37. }
  38. }
  39. }
  40. *Feature: Resolution
  41. {
  42. *rcNameID: =RESOLUTION_DISPLAY
  43. *DefaultOption: Option1
  44. *Option: Option1
  45. {
  46. *Name: "240 x 144 " =DOTS_PER_INCH
  47. *DPI: PAIR(240, 144)
  48. *TextDPI: PAIR(240, 144)
  49. *PinsPerLogPass: 16
  50. *PinsPerPhysPass: 8
  51. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  52. *SpotDiameter: 170
  53. *Command: CmdSendBlockData { *Cmd : "<1B>*<03>" %l[0,5100]{max_repeat(NumOfDataBytes )} }
  54. }
  55. *Option: Option2
  56. {
  57. *Name: "60 x 72 " =DOTS_PER_INCH
  58. *DPI: PAIR(60, 72)
  59. *TextDPI: PAIR(60, 72)
  60. *PinsPerLogPass: 8
  61. *PinsPerPhysPass: 8
  62. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  63. *SpotDiameter: 100
  64. *Command: CmdSendBlockData { *Cmd : "<1B>*<00>" %l[0,5100]{max_repeat(NumOfDataBytes )} }
  65. }
  66. *Option: Option3
  67. {
  68. *Name: "120 x 72 " =DOTS_PER_INCH
  69. *DPI: PAIR(120, 72)
  70. *TextDPI: PAIR(120, 72)
  71. *PinsPerLogPass: 8
  72. *PinsPerPhysPass: 8
  73. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  74. *SpotDiameter: 140
  75. *Command: CmdSendBlockData { *Cmd : "<1B>*<01>" %l[0,5100]{max_repeat(NumOfDataBytes )} }
  76. }
  77. }
  78. *Feature: PaperSize
  79. {
  80. *rcNameID: =PAPER_SIZE_DISPLAY
  81. *DefaultOption: LETTER
  82. *Option: LETTER
  83. {
  84. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  85. *PrintableArea: PAIR(1920, 4752)
  86. *PrintableOrigin: PAIR(60, 0)
  87. }
  88. *Option: LEGAL
  89. {
  90. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  91. *PrintableArea: PAIR(1920, 6048)
  92. *PrintableOrigin: PAIR(60, 0)
  93. }
  94. *Option: A4
  95. {
  96. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  97. *PrintableArea: PAIR(1925, 5050)
  98. *PrintableOrigin: PAIR(60, 0)
  99. *switch: Resolution
  100. {
  101. *case: Option1
  102. {
  103. *PrintableArea: PAIR(1925, 5049)
  104. }
  105. *case: Option2
  106. {
  107. *PrintableArea: PAIR(1924, 5046)
  108. }
  109. *case: Option3
  110. {
  111. *PrintableArea: PAIR(1924, 5046)
  112. }
  113. }
  114. }
  115. *Option: A3
  116. {
  117. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  118. *PrintableArea: PAIR(2746, 7145)
  119. *PrintableOrigin: PAIR(60, 0)
  120. *switch: Resolution
  121. {
  122. *case: Option1
  123. {
  124. *PrintableArea: PAIR(2746, 7143)
  125. }
  126. *case: Option2
  127. {
  128. *PrintableArea: PAIR(2744, 7140)
  129. }
  130. *case: Option3
  131. {
  132. *PrintableArea: PAIR(2746, 7140)
  133. }
  134. }
  135. }
  136. *Option: B5
  137. {
  138. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  139. *PrintableArea: PAIR(1661, 4372)
  140. *PrintableOrigin: PAIR(60, 0)
  141. *switch: Resolution
  142. {
  143. *case: Option1
  144. {
  145. *PrintableArea: PAIR(1661, 4371)
  146. }
  147. *case: Option2
  148. {
  149. *PrintableArea: PAIR(1660, 4368)
  150. }
  151. *case: Option3
  152. {
  153. *PrintableArea: PAIR(1660, 4368)
  154. }
  155. }
  156. }
  157. *Option: Option6
  158. {
  159. *rcNameID: 258
  160. *PageDimensions: PAIR(2040, 5184)
  161. *PrintableArea: PAIR(1980, 5184)
  162. *PrintableOrigin: PAIR(60, 0)
  163. }
  164. *Option: FANFOLD_US
  165. {
  166. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  167. *PrintableArea: PAIR(3264, 4752)
  168. *PrintableOrigin: PAIR(60, 0)
  169. }
  170. *Option: CUSTOMSIZE
  171. {
  172. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  173. *MinSize: PAIR(240, 432)
  174. *MaxSize: PAIR(3960, 32767)
  175. *MaxPrintableWidth: 3264
  176. *MinLeftMargin: 60
  177. *CenterPrintable?: FALSE
  178. }
  179. }
  180. *Feature: PrintQuality
  181. {
  182. *rcNameID: =TEXT_QUALITY_DISPLAY
  183. *DefaultOption: NEAR_LETTER_QUALITY
  184. *Option: NEAR_LETTER_QUALITY
  185. {
  186. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  187. *Command: CmdSelect
  188. {
  189. *Order: DOC_SETUP.6
  190. *Cmd: "<1B>x<01>"
  191. }
  192. }
  193. *Option: DRAFT_QUALITY
  194. {
  195. *rcNameID: =DRAFT_QUALITY_DISPLAY
  196. *Command: CmdSelect
  197. {
  198. *Order: DOC_SETUP.6
  199. *Cmd: "<1B>x<00>"
  200. }
  201. }
  202. }
  203. *Feature: ColorMode
  204. {
  205. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  206. *DefaultOption: Color
  207. *Option: Mono
  208. {
  209. *rcNameID: =MONO_DISPLAY
  210. *DevNumOfPlanes: 1
  211. *DevBPP: 1
  212. *Color? : FALSE
  213. }
  214. *Option: Color
  215. {
  216. *rcNameID: =COLOR_DISPLAY
  217. *DevNumOfPlanes: 4
  218. *DevBPP: 1
  219. *DrvBPP: 4
  220. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  221. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  222. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  223. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  224. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  225. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  226. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  227. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  228. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  229. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  230. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  231. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  232. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  233. }
  234. }
  235. *Feature: Halftone
  236. {
  237. *rcNameID: =HALFTONING_DISPLAY
  238. *DefaultOption: HT_PATSIZE_AUTO
  239. *Option: HT_PATSIZE_AUTO
  240. {
  241. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  242. }
  243. *Ifdef: WINNT_50
  244. *Option: HT_PATSIZE_SUPERCELL_M
  245. {
  246. *rcNameID: =HT_SUPERCELL_DISPLAY
  247. }
  248. *Endif:
  249. *Option: HT_PATSIZE_6x6_M
  250. {
  251. *rcNameID: =HT_DITHER6X6_DISPLAY
  252. }
  253. *Option: HT_PATSIZE_8x8_M
  254. {
  255. *rcNameID: =HT_DITHER8X8_DISPLAY
  256. }
  257. }
  258. *Command: CmdStartDoc
  259. {
  260. *Order: DOC_SETUP.1
  261. *Cmd: "<1B>@<1B>W0<1B>r<001B>x<01121B>P<1B>6"
  262. }
  263. *Command: CmdStartPage
  264. {
  265. *Order: PAGE_SETUP.1
  266. *Cmd: "<0D>"
  267. }
  268. *RotateCoordinate?: FALSE
  269. *RotateRaster?: FALSE
  270. *RotateFont?: FALSE
  271. *switch: Orientation
  272. {
  273. *case: PORTRAIT
  274. {
  275. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  276. }
  277. *case: LANDSCAPE_CC270
  278. {
  279. *TextCaps: LIST(TC_RA_ABLE)
  280. }
  281. }
  282. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  283. *YMoveAttributes: LIST(SEND_CR_FIRST)
  284. *YMoveThreshold: *
  285. *YMoveUnit: 216
  286. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  287. *Command: CmdCR { *Cmd : "<0D>" }
  288. *Command: CmdLF { *Cmd : "<0A>" }
  289. *Command: CmdFF { *Cmd : "<0C>" }
  290. *Command: CmdBackSpace { *Cmd : "<08>" }
  291. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  292. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  293. *EjectPageWithFF?: FALSE
  294. *OutputDataFormat: V_BYTE
  295. *OptimizeLeftBound?: TRUE
  296. *CursorXAfterSendBlockData: AT_GRXDATA_END
  297. *CursorYAfterSendBlockData: NO_MOVE
  298. *DefaultFont: 5
  299. *DefaultCTT: 2
  300. *switch: Orientation
  301. {
  302. *case: PORTRAIT
  303. {
  304. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10)
  305. }
  306. *case: LANDSCAPE_CC270
  307. {
  308. *DeviceFonts: LIST()
  309. }
  310. }
  311. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  312. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  313. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  314. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  315. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" }
  316. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }