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.

396 lines
10 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: 949
  9. *GPDFileName: "ssmj15wk.gpd"
  10. *ModelName: "�Z MJC-1500W"
  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: A3
  112. {
  113. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  114. *PrintableArea: PAIR(3432, 4687)
  115. *PrintableOrigin: PAIR(38, 75)
  116. *CursorOrigin: PAIR(38, 45)
  117. *Command: CmdSelect
  118. {
  119. *Order: DOC_SETUP.5
  120. *Cmd: "<1B>&l27A"
  121. }
  122. }
  123. *Option: B4
  124. {
  125. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  126. *PrintableArea: PAIR(2961, 4024)
  127. *PrintableOrigin: PAIR(38, 75)
  128. *CursorOrigin: PAIR(38, 45)
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.5
  132. *Cmd: "<1B>&l25A"
  133. }
  134. }
  135. *Option: ENV_10
  136. {
  137. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  138. *RotateSize? : TRUE
  139. *PrintableArea: PAIR(2400, 1009)
  140. *PrintableOrigin: PAIR(225, 30)
  141. *CursorOrigin: PAIR(225, 25)
  142. *Command: CmdSelect
  143. {
  144. *Order: DOC_SETUP.5
  145. *Cmd: "<1B>&l81A"
  146. }
  147. }
  148. *Option: ENV_DL
  149. {
  150. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  151. *RotateSize? : TRUE
  152. *PrintableArea: PAIR(2148, 1069)
  153. *PrintableOrigin: PAIR(225, 30)
  154. *CursorOrigin: PAIR(225, 25)
  155. *Command: CmdSelect
  156. {
  157. *Order: DOC_SETUP.5
  158. *Cmd: "<1B>&l6d0e26P"
  159. }
  160. }
  161. *Option: ENV_C5
  162. {
  163. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  164. *RotateSize? : TRUE
  165. *PrintableArea: PAIR(2256, 1684)
  166. *PrintableOrigin: PAIR(225, 30)
  167. *CursorOrigin: PAIR(225, 25)
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.5
  171. *Cmd: "<1B>&l8d0e51P"
  172. }
  173. }
  174. *Option: CUSTOMSIZE
  175. {
  176. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  177. *MinSize: PAIR(300, 300)
  178. *MaxSize: PAIR(3700, 5200)
  179. *MaxPrintableWidth: 3550
  180. *MinLeftMargin: 0
  181. *CenterPrintable?: FALSE
  182. *TopMargin: 0
  183. *BottomMargin: 200
  184. *Command: CmdSelect
  185. {
  186. *Order: DOC_SETUP.5
  187. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  188. }
  189. }
  190. }
  191. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  192. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  193. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  194. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  195. *Feature: MediaType
  196. {
  197. *rcNameID: =MEDIA_TYPE_DISPLAY
  198. *DefaultOption: STANDARD
  199. *Option: STANDARD
  200. {
  201. *rcNameID: =PLAIN_PAPER_DISPLAY
  202. *Command: CmdSelect
  203. {
  204. *Order: PAGE_SETUP.8
  205. *Cmd: "<1B>&b10T"
  206. }
  207. }
  208. *Option: TRANSPARENCY
  209. {
  210. *rcNameID: =TRANSPARENCY_DISPLAY
  211. *Command: CmdSelect
  212. {
  213. *Order: PAGE_SETUP.8
  214. *Cmd: "<1B>&k3W<1B>*o2Q"
  215. }
  216. }
  217. *Option: Option3
  218. {
  219. *rcNameID: 265
  220. *OptionID: 258
  221. *Command: CmdSelect
  222. {
  223. *Order: PAGE_SETUP.8
  224. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  225. }
  226. }
  227. *Option: GLOSSY
  228. {
  229. *rcNameID: =GLOSSY_PAPER_DISPLAY
  230. *Command: CmdSelect
  231. {
  232. *Order: PAGE_SETUP.8
  233. *Cmd: "<1B>&k3W<1B>*o2Q"
  234. }
  235. }
  236. *Option: Option5
  237. {
  238. *rcNameID: 266
  239. *OptionID: 259
  240. *Command: CmdSelect
  241. {
  242. *Order: PAGE_SETUP.8
  243. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  244. }
  245. }
  246. }
  247. *Feature: PrintQuality
  248. {
  249. *rcNameID: =TEXT_QUALITY_DISPLAY
  250. *DefaultOption: Option1
  251. *Option: Option1
  252. {
  253. *rcNameID: 272
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.3
  257. *Cmd: "<1B>(s2Q<1B>*r2Q"
  258. }
  259. }
  260. *Option: Option2
  261. {
  262. *rcNameID: 273
  263. *Command: CmdSelect
  264. {
  265. *Order: DOC_SETUP.3
  266. *Cmd: "<1B>(s1Q<1B>*r1Q"
  267. }
  268. }
  269. *Option: Option3
  270. {
  271. *rcNameID: 274
  272. *Command: CmdSelect
  273. {
  274. *Order: DOC_SETUP.3
  275. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  276. }
  277. }
  278. }
  279. *Feature: ColorMode
  280. {
  281. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  282. *DefaultOption: Color
  283. *Option: Mono
  284. {
  285. *rcNameID: =MONO_DISPLAY
  286. *DevNumOfPlanes: 1
  287. *DevBPP: 1
  288. *Color? : FALSE
  289. }
  290. *Option: Color
  291. {
  292. *rcNameID: =COLOR_DISPLAY
  293. *DevNumOfPlanes: 4
  294. *DevBPP: 1
  295. *DrvBPP: 4
  296. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  297. *ColorPlaneOrder: LIST(BLACK, CYAN, MAGENTA, YELLOW)
  298. *Command: CmdSendBlackData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  299. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  300. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  301. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  302. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v15S" }
  303. *Command: CmdSelectRedColor { *Cmd : "<1B>*v12S" }
  304. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v10S" }
  305. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v8S" }
  306. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v6S" }
  307. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v4S" }
  308. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v2S" }
  309. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  310. *Command: CmdSelect
  311. {
  312. *Order: PAGE_SETUP.9
  313. *Cmd: "<1B>*r-4U"
  314. }
  315. }
  316. }
  317. *Feature: Halftone
  318. {
  319. *rcNameID: =HALFTONING_DISPLAY
  320. *DefaultOption: HT_PATSIZE_AUTO
  321. *Option: HT_PATSIZE_AUTO
  322. {
  323. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  324. }
  325. *Option: HT_PATSIZE_SUPERCELL_M
  326. {
  327. *rcNameID: =HT_SUPERCELL_DISPLAY
  328. }
  329. *Option: HT_PATSIZE_6x6_M
  330. {
  331. *rcNameID: =HT_DITHER6X6_DISPLAY
  332. }
  333. *Option: HT_PATSIZE_8x8_M
  334. {
  335. *rcNameID: =HT_DITHER8X8_DISPLAY
  336. }
  337. }
  338. *Command: CmdStartDoc
  339. {
  340. *Order: DOC_SETUP.1
  341. *Cmd: "<1B>[K<030005BA021B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  342. }
  343. *Command: CmdStartPage
  344. {
  345. *Order: PAGE_SETUP.1
  346. *Cmd: "<0D>"
  347. }
  348. *Command: CmdEndJob
  349. {
  350. *Order: JOB_FINISH.1
  351. *Cmd: "<1B>E"
  352. }
  353. *Command: CmdEndPage
  354. {
  355. *Order: PAGE_FINISH.1
  356. *Cmd: "<0D>"
  357. }
  358. *RotateCoordinate?: FALSE
  359. *RotateRaster?: FALSE
  360. *RotateFont?: FALSE
  361. *switch: Orientation
  362. {
  363. *case: PORTRAIT
  364. {
  365. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  366. }
  367. *case: LANDSCAPE_CC270
  368. {
  369. *TextCaps: LIST()
  370. }
  371. }
  372. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  373. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  374. *XMoveThreshold: 0
  375. *YMoveThreshold: *
  376. *XMoveUnit: 300
  377. *YMoveUnit: 300
  378. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  379. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  380. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  381. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  382. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  383. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  384. *Command: CmdCR { *Cmd : "<0D>" }
  385. *Command: CmdLF { *Cmd : "<0A>" }
  386. *Command: CmdFF { *Cmd : "<0C>" }
  387. *EjectPageWithFF?: TRUE
  388. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  389. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  390. *OutputDataFormat: H_BYTE
  391. *OptimizeLeftBound?: FALSE
  392. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  393. *CursorYAfterSendBlockData: AUTO_INCREMENT
  394. *LookAheadRegion: 180
  395. *DefaultCTT: 0
  396. *CharPosition: BASELINE