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.

272 lines
6.7 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "fue371ej.gpd"
  8. *Include: "STDNAMES.GPD"
  9. *ModelName: "FUJITSU FMLP-371E"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "fuepjres.dll"
  12. *PrinterType: SERIAL
  13. *PrintRate: 380
  14. *PrintRateUnit: LPM
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: Option1
  32. *Option: Option1
  33. {
  34. *rcNameID: 273
  35. *OptionID: 273
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.7
  39. *Cmd: "<1B>O"
  40. }
  41. }
  42. }
  43. *Feature: Resolution
  44. {
  45. *rcNameID: =RESOLUTION_DISPLAY
  46. *DefaultOption: Option1
  47. *Option: Option1
  48. {
  49. *Name: "180 x 180 " =DOTS_PER_INCH
  50. *DPI: PAIR(180, 180)
  51. *TextDPI: PAIR(180, 180)
  52. *PinsPerLogPass: 24
  53. *PinsPerPhysPass: 24
  54. *MinStripBlankPixels: 360
  55. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  56. *SpotDiameter: 140
  57. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  58. }
  59. *Option: Option2
  60. {
  61. *Name: "120 x 180 " =DOTS_PER_INCH
  62. *DPI: PAIR(120, 180)
  63. *TextDPI: PAIR(120, 180)
  64. *PinsPerLogPass: 24
  65. *PinsPerPhysPass: 24
  66. *MinStripBlankPixels: 240
  67. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  68. *SpotDiameter: 120
  69. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  70. }
  71. }
  72. *Feature: PaperSize
  73. {
  74. *rcNameID: =PAPER_SIZE_DISPLAY
  75. *DefaultOption: 10X11
  76. *Option: 10X11
  77. {
  78. *rcNameID: =10X11_DISPLAY
  79. *PrintableArea: PAIR(2880, 3960)
  80. *PrintableOrigin: PAIR(360, 0)
  81. *Command: CmdSelect
  82. {
  83. *Order: DOC_SETUP.8
  84. *Cmd: "<1B>C<000B>"
  85. }
  86. }
  87. *Option: 15X11
  88. {
  89. *rcNameID: =15X11_DISPLAY
  90. *PrintableArea: PAIR(4896, 3960)
  91. *PrintableOrigin: PAIR(252, 0)
  92. *Command: CmdSelect
  93. {
  94. *Order: DOC_SETUP.8
  95. *Cmd: "<1B>C<000B>"
  96. }
  97. }
  98. *Option: CUSTOMSIZE
  99. {
  100. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  101. *MinSize: PAIR(360, 360)
  102. *MaxSize: PAIR(5400, 7920)
  103. *MaxPrintableWidth: 4896
  104. *MinLeftMargin: 0
  105. *CenterPrintable?: FALSE
  106. }
  107. *Option: Option4
  108. {
  109. *rcNameID: 259
  110. *OptionID: 259
  111. *PageDimensions: PAIR(3600, 3600)
  112. *PrintableArea: PAIR(2880, 3600)
  113. *PrintableOrigin: PAIR(360, 0)
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.8
  117. *Cmd: "<1B>C<000A>"
  118. }
  119. }
  120. *Option: Option5
  121. {
  122. *rcNameID: 260
  123. *OptionID: 260
  124. *PageDimensions: PAIR(5400, 3600)
  125. *PrintableArea: PAIR(4896, 3600)
  126. *PrintableOrigin: PAIR(252, 0)
  127. *Command: CmdSelect
  128. {
  129. *Order: DOC_SETUP.8
  130. *Cmd: "<1B>C<000A>"
  131. }
  132. }
  133. *Option: Option6
  134. {
  135. *rcNameID: 261
  136. *OptionID: 261
  137. *PageDimensions: PAIR(3600, 4320)
  138. *PrintableArea: PAIR(2880, 4320)
  139. *PrintableOrigin: PAIR(360, 0)
  140. *Command: CmdSelect
  141. {
  142. *Order: DOC_SETUP.8
  143. *Cmd: "<1B>C<000C>"
  144. }
  145. }
  146. *Option: Option7
  147. {
  148. *rcNameID: 262
  149. *OptionID: 262
  150. *PageDimensions: PAIR(5400, 4320)
  151. *PrintableArea: PAIR(4896, 4320)
  152. *PrintableOrigin: PAIR(252, 0)
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.8
  156. *Cmd: "<1B>C<000C>"
  157. }
  158. }
  159. }
  160. *Feature: PrintQuality
  161. {
  162. *rcNameID: =TEXT_QUALITY_DISPLAY
  163. *DefaultOption: LETTER_QUALITY
  164. *Option: LETTER_QUALITY
  165. {
  166. *rcNameID: =LETTER_QUALITY_DISPLAY
  167. *Command: CmdSelect
  168. {
  169. *Order: DOC_SETUP.6
  170. *Cmd: "<1B>x<011C>x<00>"
  171. }
  172. }
  173. *Option: DRAFT_QUALITY
  174. {
  175. *rcNameID: =DRAFT_QUALITY_DISPLAY
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.6
  179. *Cmd: "<1B>x<001C>x<01>"
  180. }
  181. }
  182. }
  183. *Feature: Halftone
  184. {
  185. *rcNameID: =HALFTONING_DISPLAY
  186. *DefaultOption: HT_PATSIZE_AUTO
  187. *Option: HT_PATSIZE_AUTO
  188. {
  189. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  190. }
  191. *Option: HT_PATSIZE_SUPERCELL_M
  192. {
  193. *rcNameID: =HT_SUPERCELL_DISPLAY
  194. }
  195. *Option: HT_PATSIZE_6x6_M
  196. {
  197. *rcNameID: =HT_DITHER6X6_DISPLAY
  198. }
  199. *Option: HT_PATSIZE_8x8_M
  200. {
  201. *rcNameID: =HT_DITHER8X8_DISPLAY
  202. }
  203. }
  204. *Command: CmdStartDoc
  205. {
  206. *Order: DOC_SETUP.1
  207. *Cmd: "<1B>S<1B1B>S<1C1B>@<181B>t<011B>R<00>"
  208. }
  209. *Command: CmdStartPage
  210. {
  211. *Order: PAGE_SETUP.1
  212. *Cmd: "<0D>"
  213. }
  214. *Command: CmdEndJob
  215. {
  216. *Order: JOB_FINISH.1
  217. *Cmd: "<1B>S<1B1B>SK"
  218. }
  219. *RotateCoordinate?: FALSE
  220. *RotateRaster?: FALSE
  221. *RotateFont?: FALSE
  222. *switch: Orientation
  223. {
  224. *case: PORTRAIT
  225. {
  226. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_RA_ABLE)
  227. }
  228. *case: LANDSCAPE_CC270
  229. {
  230. *TextCaps: LIST(TC_RA_ABLE)
  231. }
  232. }
  233. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  234. *YMoveAttributes: LIST(SEND_CR_FIRST)
  235. *MaxLineSpacing: 255
  236. *XMoveThreshold: 0
  237. *YMoveThreshold: *
  238. *XMoveUnit: 60
  239. *YMoveUnit: 180
  240. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l[0,815]{max_repeat((DestX / 6) )} }
  241. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  242. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  243. *Command: CmdCR { *Cmd : "<0D>" }
  244. *Command: CmdLF { *Cmd : "<0A>" }
  245. *Command: CmdFF { *Cmd : "<0C>" }
  246. *Command: CmdBackSpace { *Cmd : "<08>" }
  247. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  248. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  249. *EjectPageWithFF?: FALSE
  250. *OutputDataFormat: V_BYTE
  251. *OptimizeLeftBound?: FALSE
  252. *CursorXAfterSendBlockData: AT_GRXDATA_END
  253. *CursorYAfterSendBlockData: NO_MOVE
  254. *DefaultFont: 1
  255. *DefaultCTT: -1
  256. *switch: Orientation
  257. {
  258. *case: PORTRAIT
  259. {
  260. *DeviceFonts: LIST(1,5,6,7,8,9,10,11,12)
  261. }
  262. *case: LANDSCAPE_CC270
  263. {
  264. *DeviceFonts: LIST()
  265. }
  266. }
  267. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  268. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  269. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  270. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  271. *Command: CmdSelectSingleByteMode { *Cmd : "<1C0F>" }
  272. *Command: CmdSelectDoubleByteMode { *Cmd : "<1C12>" }