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.

289 lines
7.6 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "FUDX2100.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Fujitsu DX 2100"
  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: B5
  116. {
  117. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  118. *PrintableArea: PAIR(1661, 4372)
  119. *PrintableOrigin: PAIR(60, 0)
  120. *switch: Resolution
  121. {
  122. *case: Option1
  123. {
  124. *PrintableArea: PAIR(1661, 4371)
  125. }
  126. *case: Option2
  127. {
  128. *PrintableArea: PAIR(1660, 4368)
  129. }
  130. *case: Option3
  131. {
  132. *PrintableArea: PAIR(1660, 4368)
  133. }
  134. }
  135. }
  136. *Option: Option5
  137. {
  138. *rcNameID: 258
  139. *PageDimensions: PAIR(2040, 5184)
  140. *PrintableArea: PAIR(1980, 5184)
  141. *PrintableOrigin: PAIR(60, 0)
  142. }
  143. *Option: CUSTOMSIZE
  144. {
  145. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  146. *MinSize: PAIR(240, 432)
  147. *MaxSize: PAIR(2040, 32767)
  148. *MaxPrintableWidth: 1980
  149. *MinLeftMargin: 60
  150. *CenterPrintable?: FALSE
  151. }
  152. }
  153. *Feature: PrintQuality
  154. {
  155. *rcNameID: =TEXT_QUALITY_DISPLAY
  156. *DefaultOption: NEAR_LETTER_QUALITY
  157. *Option: NEAR_LETTER_QUALITY
  158. {
  159. *rcNameID: =NEAR_LETTER_QUALITY_DISPLAY
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.6
  163. *Cmd: "<1B>x<01>"
  164. }
  165. }
  166. *Option: DRAFT_QUALITY
  167. {
  168. *rcNameID: =DRAFT_QUALITY_DISPLAY
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.6
  172. *Cmd: "<1B>x<00>"
  173. }
  174. }
  175. }
  176. *Feature: ColorMode
  177. {
  178. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  179. *DefaultOption: Color
  180. *Option: Mono
  181. {
  182. *rcNameID: =MONO_DISPLAY
  183. *DevNumOfPlanes: 1
  184. *DevBPP: 1
  185. *Color? : FALSE
  186. }
  187. *Option: Color
  188. {
  189. *rcNameID: =COLOR_DISPLAY
  190. *DevNumOfPlanes: 4
  191. *DevBPP: 1
  192. *DrvBPP: 4
  193. EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  194. *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  195. *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  196. *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  197. *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  198. *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  199. *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  200. *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  201. *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  202. *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  203. *Command: CmdSelectBlueColor { *Cmd : "<1B>r<03>" }
  204. *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  205. *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  206. }
  207. }
  208. *Feature: Halftone
  209. {
  210. *rcNameID: =HALFTONING_DISPLAY
  211. *DefaultOption: HT_PATSIZE_AUTO
  212. *Option: HT_PATSIZE_AUTO
  213. {
  214. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  215. }
  216. *Ifdef: WINNT_50
  217. *Option: HT_PATSIZE_SUPERCELL_M
  218. {
  219. *rcNameID: =HT_SUPERCELL_DISPLAY
  220. }
  221. *Endif:
  222. *Option: HT_PATSIZE_6x6_M
  223. {
  224. *rcNameID: =HT_DITHER6X6_DISPLAY
  225. }
  226. *Option: HT_PATSIZE_8x8_M
  227. {
  228. *rcNameID: =HT_DITHER8X8_DISPLAY
  229. }
  230. }
  231. *Command: CmdStartDoc
  232. {
  233. *Order: DOC_SETUP.1
  234. *Cmd: "<1B>@<1B>W0<1B>r<001B>x<01121B>P<1B>6"
  235. }
  236. *Command: CmdStartPage
  237. {
  238. *Order: PAGE_SETUP.1
  239. *Cmd: "<0D>"
  240. }
  241. *RotateCoordinate?: FALSE
  242. *RotateRaster?: FALSE
  243. *RotateFont?: FALSE
  244. *switch: Orientation
  245. {
  246. *case: PORTRAIT
  247. {
  248. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  249. }
  250. *case: LANDSCAPE_CC270
  251. {
  252. *TextCaps: LIST(TC_RA_ABLE)
  253. }
  254. }
  255. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  256. *YMoveAttributes: LIST(SEND_CR_FIRST)
  257. *YMoveThreshold: *
  258. *YMoveUnit: 216
  259. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  260. *Command: CmdCR { *Cmd : "<0D>" }
  261. *Command: CmdLF { *Cmd : "<0A>" }
  262. *Command: CmdFF { *Cmd : "<0C>" }
  263. *Command: CmdBackSpace { *Cmd : "<08>" }
  264. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  265. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  266. *EjectPageWithFF?: FALSE
  267. *OutputDataFormat: V_BYTE
  268. *OptimizeLeftBound?: TRUE
  269. *CursorXAfterSendBlockData: AT_GRXDATA_END
  270. *CursorYAfterSendBlockData: NO_MOVE
  271. *DefaultFont: 5
  272. *DefaultCTT: 2
  273. *switch: Orientation
  274. {
  275. *case: PORTRAIT
  276. {
  277. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10)
  278. }
  279. *case: LANDSCAPE_CC270
  280. {
  281. *DeviceFonts: LIST()
  282. }
  283. }
  284. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  285. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  286. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  287. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  288. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>p<01>" }
  289. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>p<00>" }