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.

265 lines
6.8 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "LN4318SC.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Legend LJ4318S"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "PCL5ZRES.DLL"
  13. *PrinterType: PAGE
  14. *PrintRate: 18
  15. *PrintRateUnit: PPM
  16. *MaxCopies: 99
  17. *FontCartSlots: 2
  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. *Cmd: "<1B>&l0o1E"
  29. }
  30. }
  31. *Option: LANDSCAPE_CC90
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.4
  37. *Cmd: "<1B>&l1o1E"
  38. }
  39. }
  40. }
  41. *Feature: InputBin
  42. {
  43. *rcNameID: =PAPER_SOURCE_DISPLAY
  44. *DefaultOption: UPPER
  45. *Option: UPPER
  46. {
  47. *rcNameID: =UPPER_TRAY_DISPLAY
  48. *Command: CmdSelect
  49. {
  50. *Order: DOC_SETUP.2
  51. *Cmd: "<1B>&l1H"
  52. }
  53. }
  54. *Option: ENVMANUAL
  55. {
  56. *rcNameID: =ENV_MANUAL_DISPLAY
  57. *Command: CmdSelect
  58. {
  59. *Order: DOC_SETUP.2
  60. *Cmd: "<1B>&l3H"
  61. }
  62. }
  63. *Option: MANUAL
  64. {
  65. *rcNameID: =MANUAL_FEED_DISPLAY
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.2
  69. *Cmd: "<1B>&l2H"
  70. }
  71. }
  72. }
  73. *Feature: Resolution
  74. {
  75. *rcNameID: =RESOLUTION_DISPLAY
  76. *DefaultOption: Option1
  77. *Option: Option1
  78. {
  79. *Name: "600 x 600 dots per inch"
  80. *DPI: PAIR(600, 600)
  81. *TextDPI: PAIR(600, 600)
  82. *MinStripBlankPixels: 32
  83. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  84. *SpotDiameter: 100
  85. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  86. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  87. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.5
  91. *Cmd: "<1B>*t600R"
  92. }
  93. }
  94. *Option: Option2
  95. {
  96. *Name: "300 x 300 dots per inch"
  97. *DPI: PAIR(300, 300)
  98. *TextDPI: PAIR(600, 600)
  99. *MinStripBlankPixels: 32
  100. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  101. *SpotDiameter: 100
  102. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  103. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.5
  108. *Cmd: "<1B>*t300R"
  109. }
  110. }
  111. *Option: Option3
  112. {
  113. *Name: "150 x 150 dots per inch"
  114. *DPI: PAIR(150, 150)
  115. *TextDPI: PAIR(600, 600)
  116. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  117. *SpotDiameter: 100
  118. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  119. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  120. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  121. *Command: CmdSelect
  122. {
  123. *Order: DOC_SETUP.5
  124. *Cmd: "<1B>*t150R"
  125. }
  126. }
  127. }
  128. *Feature: PaperSize
  129. {
  130. *rcNameID: =PAPER_SIZE_DISPLAY
  131. *DefaultOption: A4
  132. *Option: A4
  133. {
  134. *rcNameID: =A4_DISPLAY
  135. *PrintableArea: PAIR(4362, 6414)
  136. *PrintableOrigin: PAIR(300, 300)
  137. *switch: Resolution
  138. {
  139. *case: Option3
  140. {
  141. *% Warning: the following printable width is adjusted (4362->4360) so it is divisible by the resolution X scale.
  142. *% Warning: the following printable length is adjusted (6414->6412) so it is divisible by the resolution Y scale.
  143. *PrintableArea: PAIR(4360, 6412)
  144. }
  145. }
  146. *CursorOrigin: PAIR(72, 300)
  147. *Command: CmdSelect
  148. {
  149. *Order: DOC_SETUP.3
  150. *Cmd: "<1B>&l26a4d1e45F"
  151. }
  152. }
  153. *Option: B5
  154. {
  155. *rcNameID: =B5_DISPLAY
  156. *PrintableArea: PAIR(3902, 5672)
  157. *PrintableOrigin: PAIR(200, 200)
  158. *switch: Resolution
  159. {
  160. *case: Option3
  161. {
  162. *% Warning: the following printable width is adjusted (3902->3900) so it is divisible by the resolution X scale.
  163. *PrintableArea: PAIR(3900, 5672)
  164. }
  165. }
  166. *CursorOrigin: PAIR(72, 300)
  167. *Command: CmdSelect
  168. {
  169. *Order: DOC_SETUP.3
  170. *Cmd: "<1B>&l100A"
  171. }
  172. }
  173. }
  174. *Feature: Halftone
  175. {
  176. *rcNameID: =HALFTONING_DISPLAY
  177. *DefaultOption: HT_PATSIZE_AUTO
  178. *Option: HT_PATSIZE_AUTO
  179. {
  180. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  181. }
  182. *Option: HT_PATSIZE_SUPERCELL_M
  183. {
  184. *rcNameID: =HT_SUPERCELL_DISPLAY
  185. }
  186. *Option: HT_PATSIZE_6x6_M
  187. {
  188. *rcNameID: =HT_DITHER6X6_DISPLAY
  189. }
  190. *Option: HT_PATSIZE_8x8_M
  191. {
  192. *rcNameID: =HT_DITHER8X8_DISPLAY
  193. }
  194. }
  195. *Feature: Memory
  196. {
  197. *rcNameID: =PRINTER_MEMORY_DISPLAY
  198. *DefaultOption: 5120KB
  199. *Option: 5120KB
  200. {
  201. *Name: "5MB"
  202. *MemoryConfigKB: PAIR(5120, 5003)
  203. }
  204. *Option: 1024KB
  205. {
  206. *Name: "1MB"
  207. *MemoryConfigKB: PAIR(1024, 907)
  208. }
  209. *Option: 2048KB
  210. {
  211. *Name: "2MB"
  212. *MemoryConfigKB: PAIR(2048, 1931)
  213. }
  214. }
  215. *Command: CmdStartDoc
  216. {
  217. *Order: DOC_SETUP.1
  218. *Cmd: "<1B>E<1B>&u600D<1B>&l1x0L"
  219. }
  220. *Command: CmdStartPage
  221. {
  222. *Order: PAGE_SETUP.1
  223. *Cmd: "<1B0C>"
  224. }
  225. *Command: CmdEndJob
  226. {
  227. *Order: JOB_FINISH.1
  228. *Cmd: "<1B>E"
  229. }
  230. *Command: CmdCopies
  231. {
  232. *Order: PAGE_SETUP.7
  233. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  234. }
  235. *RotateCoordinate?: TRUE
  236. *RotateRaster?: TRUE
  237. *RotateFont?: FALSE
  238. *TextCaps: LIST(TC_UA_ABLE)
  239. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  240. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  241. *XMoveThreshold: 0
  242. *XMoveUnit: 600
  243. *YMoveUnit: 600
  244. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  245. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  246. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  247. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  248. *EjectPageWithFF?: TRUE
  249. *OutputDataFormat: H_BYTE
  250. *OptimizeLeftBound?: TRUE
  251. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  252. *CursorYAfterSendBlockData: AUTO_INCREMENT
  253. *DefaultCTT: 0
  254. *MaxFontUsePerPage: 16
  255. *CharPosition: BASELINE
  256. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  257. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  258. *MinGrayFill: 1
  259. *MaxGrayFill: 100
  260. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  261. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  262. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  263. *Command: CmdCR { *Cmd : "<0D>" }
  264. *Command: CmdLF { *Cmd : "<0A>" }
  265. *Command: CmdFF { *Cmd : "<0C>" }