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.

372 lines
9.4 KiB

  1. *%
  2. *% Copyright (c) 1997 - 2000 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *CodePage: 1252
  9. *GPDFileName: "ssmj13gk.gpd"
  10. *ModelName: "Samsung MJC-1300G"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "pcl3kres.Dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: AUTO
  31. *Option: AUTO
  32. {
  33. *rcNameID: =AUTO_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.4
  37. *Cmd: "<1B>&l1H"
  38. }
  39. }
  40. *Option: ENVMANUAL
  41. {
  42. *rcNameID: =ENV_MANUAL_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.4
  46. *Cmd: "<1B>&l3H"
  47. }
  48. }
  49. }
  50. *Feature: Resolution
  51. {
  52. *rcNameID: =RESOLUTION_DISPLAY
  53. *DefaultOption: Option1
  54. *Option: Option1
  55. {
  56. *Name: "300 x 300 " =DOTS_PER_INCH
  57. *DPI: PAIR(300, 300)
  58. *TextDPI: PAIR(300, 300)
  59. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  60. *SpotDiameter: 160
  61. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  62. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  63. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.6
  67. *Cmd: "<1B>*t300R"
  68. }
  69. }
  70. }
  71. *Feature: PaperSize
  72. {
  73. *rcNameID: =PAPER_SIZE_DISPLAY
  74. *DefaultOption: LETTER
  75. *Option: LETTER
  76. {
  77. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  78. *PrintableArea: PAIR(2374, 3075)
  79. *PrintableOrigin: PAIR(75, 75)
  80. *CursorOrigin: PAIR(75, 15)
  81. *Command: CmdSelect
  82. {
  83. *Order: DOC_SETUP.5
  84. *Cmd: "<1B>&l2A"
  85. }
  86. }
  87. *Option: LEGAL
  88. {
  89. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  90. *PrintableArea: PAIR(2400, 3925)
  91. *PrintableOrigin: PAIR(75, 75)
  92. *CursorOrigin: PAIR(75, 45)
  93. *Command: CmdSelect
  94. {
  95. *Order: DOC_SETUP.5
  96. *Cmd: "<1B>&l3A"
  97. }
  98. }
  99. *Option: A4
  100. {
  101. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  102. *PrintableArea: PAIR(2374, 3290)
  103. *PrintableOrigin: PAIR(38, 75)
  104. *CursorOrigin: PAIR(38, 10)
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.5
  108. *Cmd: "<1B>&l26A"
  109. }
  110. }
  111. *Option: ENV_10
  112. {
  113. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  114. *RotateSize? : TRUE
  115. *PrintableArea: PAIR(2400, 1009)
  116. *PrintableOrigin: PAIR(225, 30)
  117. *CursorOrigin: PAIR(225, 25)
  118. *Command: CmdSelect
  119. {
  120. *Order: DOC_SETUP.5
  121. *Cmd: "<1B>&l81A"
  122. }
  123. }
  124. *Option: ENV_DL
  125. {
  126. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  127. *RotateSize? : TRUE
  128. *PrintableArea: PAIR(2148, 1069)
  129. *PrintableOrigin: PAIR(225, 30)
  130. *CursorOrigin: PAIR(225, 25)
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.5
  134. *Cmd: "<1B>&l6d0e26P"
  135. }
  136. }
  137. *Option: ENV_C5
  138. {
  139. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  140. *RotateSize? : TRUE
  141. *PrintableArea: PAIR(2256, 1684)
  142. *PrintableOrigin: PAIR(225, 30)
  143. *CursorOrigin: PAIR(225, 25)
  144. *Command: CmdSelect
  145. {
  146. *Order: DOC_SETUP.5
  147. *Cmd: "<1B>&l8d0e51P"
  148. }
  149. }
  150. *Option: CUSTOMSIZE
  151. {
  152. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  153. *MinSize: PAIR(300, 300)
  154. *MaxSize: PAIR(2550, 3900)
  155. *MaxPrintableWidth: 2400
  156. *MinLeftMargin: 0
  157. *CenterPrintable?: FALSE
  158. *TopMargin: 0
  159. *BottomMargin: 200
  160. *Command: CmdSelect
  161. {
  162. *Order: DOC_SETUP.5
  163. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  164. }
  165. }
  166. }
  167. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  168. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  169. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  170. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  171. *Feature: MediaType
  172. {
  173. *rcNameID: =MEDIA_TYPE_DISPLAY
  174. *DefaultOption: STANDARD
  175. *Option: STANDARD
  176. {
  177. *rcNameID: =PLAIN_PAPER_DISPLAY
  178. *Command: CmdSelect
  179. {
  180. *Order: PAGE_SETUP.8
  181. *Cmd: "<1B>&b10T"
  182. }
  183. }
  184. *Option: TRANSPARENCY
  185. {
  186. *rcNameID: =TRANSPARENCY_DISPLAY
  187. *Command: CmdSelect
  188. {
  189. *Order: PAGE_SETUP.8
  190. *Cmd: "<1B>&k3W<1B>*o2Q"
  191. }
  192. }
  193. *Option: Option3
  194. {
  195. *rcNameID: 265
  196. *OptionID: 258
  197. *Command: CmdSelect
  198. {
  199. *Order: PAGE_SETUP.8
  200. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  201. }
  202. }
  203. *Option: GLOSSY
  204. {
  205. *rcNameID: =GLOSSY_PAPER_DISPLAY
  206. *Command: CmdSelect
  207. {
  208. *Order: PAGE_SETUP.8
  209. *Cmd: "<1B>&k3W<1B>*o2Q"
  210. }
  211. }
  212. *Option: Option5
  213. {
  214. *rcNameID: 266
  215. *OptionID: 259
  216. *Command: CmdSelect
  217. {
  218. *Order: PAGE_SETUP.8
  219. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  220. }
  221. }
  222. }
  223. *Feature: PrintQuality
  224. {
  225. *rcNameID: =TEXT_QUALITY_DISPLAY
  226. *DefaultOption: Option1
  227. *Option: Option1
  228. {
  229. *rcNameID: 272
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.3
  233. *Cmd: "<1B>(s2Q<1B>*r2Q"
  234. }
  235. }
  236. *Option: Option2
  237. {
  238. *rcNameID: 273
  239. *Command: CmdSelect
  240. {
  241. *Order: DOC_SETUP.3
  242. *Cmd: "<1B>(s1Q<1B>*r1Q"
  243. }
  244. }
  245. *Option: Option3
  246. {
  247. *rcNameID: 274
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.3
  251. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  252. }
  253. }
  254. }
  255. *Feature: ColorMode
  256. {
  257. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  258. *DefaultOption: Color
  259. *Option: Mono
  260. {
  261. *rcNameID: =MONO_DISPLAY
  262. *DevNumOfPlanes: 1
  263. *DevBPP: 1
  264. *Color? : FALSE
  265. }
  266. *Option: Color
  267. {
  268. *rcNameID: =COLOR_DISPLAY
  269. *DevNumOfPlanes: 4
  270. *DevBPP: 1
  271. *DrvBPP: 4
  272. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  273. *ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
  274. *Command: CmdSendBlackData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  275. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  276. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  277. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  278. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v15S" }
  279. *Command: CmdSelectRedColor { *Cmd : "<1B>*v12S" }
  280. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v10S" }
  281. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v8S" }
  282. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v6S" }
  283. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v4S" }
  284. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v2S" }
  285. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  286. *Command: CmdSelect
  287. {
  288. *Order: PAGE_SETUP.9
  289. *Cmd: "<1B>*r-4U"
  290. }
  291. }
  292. }
  293. *Feature: Halftone
  294. {
  295. *rcNameID: =HALFTONING_DISPLAY
  296. *DefaultOption: HT_PATSIZE_AUTO
  297. *Option: HT_PATSIZE_AUTO
  298. {
  299. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  300. }
  301. *Option: HT_PATSIZE_SUPERCELL_M
  302. {
  303. *rcNameID: =HT_SUPERCELL_DISPLAY
  304. }
  305. *Option: HT_PATSIZE_6x6_M
  306. {
  307. *rcNameID: =HT_DITHER6X6_DISPLAY
  308. }
  309. *Option: HT_PATSIZE_8x8_M
  310. {
  311. *rcNameID: =HT_DITHER8X8_DISPLAY
  312. }
  313. }
  314. *Command: CmdStartDoc
  315. {
  316. *Order: DOC_SETUP.1
  317. *Cmd: "<1B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  318. }
  319. *Command: CmdStartPage
  320. {
  321. *Order: PAGE_SETUP.1
  322. *Cmd: "<0D>"
  323. }
  324. *Command: CmdEndJob
  325. {
  326. *Order: JOB_FINISH.1
  327. *Cmd: "<1B>E"
  328. }
  329. *Command: CmdEndPage
  330. {
  331. *Order: PAGE_FINISH.1
  332. *Cmd: "<0D>"
  333. }
  334. *RotateCoordinate?: FALSE
  335. *RotateRaster?: FALSE
  336. *RotateFont?: FALSE
  337. *switch: Orientation
  338. {
  339. *case: PORTRAIT
  340. {
  341. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  342. }
  343. *case: LANDSCAPE_CC270
  344. {
  345. *TextCaps: LIST()
  346. }
  347. }
  348. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  349. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  350. *XMoveThreshold: 0
  351. *YMoveThreshold: *
  352. *XMoveUnit: 300
  353. *YMoveUnit: 300
  354. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  355. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  356. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  357. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  358. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  359. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  360. *Command: CmdCR { *Cmd : "<0D>" }
  361. *Command: CmdLF { *Cmd : "<0A>" }
  362. *Command: CmdFF { *Cmd : "<0C>" }
  363. *EjectPageWithFF?: TRUE
  364. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  365. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  366. *OutputDataFormat: H_BYTE
  367. *OptimizeLeftBound?: FALSE
  368. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  369. *CursorYAfterSendBlockData: AUTO_INCREMENT
  370. *LookAheadRegion: 180
  371. *DefaultCTT: 0
  372. *CharPosition: BASELINE