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.

490 lines
16 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: "ssmj63hk.gpd"
  10. *ModelName: "�Z MJ-63H"
  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. *Option: Option2
  71. {
  72. *Name: "150 x 150 " =DOTS_PER_INCH
  73. *DPI: PAIR(150, 150)
  74. *TextDPI: PAIR(150, 150)
  75. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  76. *SpotDiameter: 140
  77. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  78. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  79. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  80. *Command: CmdSelect
  81. {
  82. *Order: DOC_SETUP.6
  83. *Cmd: "<1B>*t150R"
  84. }
  85. }
  86. *Option: Option3
  87. {
  88. *Name: "75 x 75 " =DOTS_PER_INCH
  89. *DPI: PAIR(75, 75)
  90. *TextDPI: PAIR(75, 75)
  91. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  92. *SpotDiameter: 120
  93. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  94. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  95. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  96. *Command: CmdSelect
  97. {
  98. *Order: DOC_SETUP.6
  99. *Cmd: "<1B>*t75R"
  100. }
  101. }
  102. }
  103. *Feature: PaperSize
  104. {
  105. *rcNameID: =PAPER_SIZE_DISPLAY
  106. *DefaultOption: LETTER
  107. *Option: LETTER
  108. {
  109. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  110. *PrintableArea: PAIR(2400, 3025)
  111. *PrintableOrigin: PAIR(75, 75)
  112. *switch: Resolution
  113. {
  114. *case: Option2
  115. {
  116. *% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
  117. *% Warning: the following printable length is adjusted (3025->3024) so it is divisible by the resolution Y scale.
  118. *PrintableArea: PAIR(2398, 3024)
  119. *% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
  120. *% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
  121. *PrintableOrigin: PAIR(76, 76)
  122. }
  123. *case: Option3
  124. {
  125. *% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
  126. *% Warning: the following printable length is adjusted (3025->3024) so it is divisible by the resolution Y scale.
  127. *PrintableArea: PAIR(2396, 3024)
  128. *% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
  129. *% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
  130. *PrintableOrigin: PAIR(76, 76)
  131. }
  132. }
  133. *CursorOrigin: PAIR(75, 45)
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.5
  137. *Cmd: "<1B>&l2A"
  138. }
  139. }
  140. *Option: A4
  141. {
  142. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  143. *PrintableArea: PAIR(2400, 3232)
  144. *PrintableOrigin: PAIR(38, 75)
  145. *switch: Resolution
  146. {
  147. *case: Option2
  148. {
  149. *% Warning: the following printable length is adjusted (3232->3230) so it is divisible by the resolution Y scale.
  150. *PrintableArea: PAIR(2400, 3230)
  151. *% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
  152. *PrintableOrigin: PAIR(38, 76)
  153. }
  154. *case: Option3
  155. {
  156. *% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
  157. *% Warning: the following printable length is adjusted (3232->3228) so it is divisible by the resolution Y scale.
  158. *PrintableArea: PAIR(2396, 3228)
  159. *% Warning: the following printable origin X is adjusted (38->40) so it is divisible by the resolution X scale.
  160. *% Warning: the following printable origin Y is adjusted (75->76) so it is divisible by the resolution Y scale.
  161. *PrintableOrigin: PAIR(40, 76)
  162. }
  163. }
  164. *CursorOrigin: PAIR(38, 45)
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.5
  168. *Cmd: "<1B>&l26A"
  169. }
  170. }
  171. *Option: ENV_10
  172. {
  173. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  174. *RotateSize? : TRUE
  175. *PrintableArea: PAIR(2400, 1009)
  176. *PrintableOrigin: PAIR(225, 30)
  177. *switch: Resolution
  178. {
  179. *case: Option2
  180. {
  181. *% Warning: the following printable width is adjusted (2400->2398) so it is divisible by the resolution X scale.
  182. *% Warning: the following printable length is adjusted (1009->1008) so it is divisible by the resolution Y scale.
  183. *PrintableArea: PAIR(2398, 1008)
  184. *% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
  185. *PrintableOrigin: PAIR(226, 30)
  186. }
  187. *case: Option3
  188. {
  189. *% Warning: the following printable width is adjusted (2400->2396) so it is divisible by the resolution X scale.
  190. *% Warning: the following printable length is adjusted (1009->1004) so it is divisible by the resolution Y scale.
  191. *PrintableArea: PAIR(2396, 1004)
  192. *% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
  193. *% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
  194. *PrintableOrigin: PAIR(228, 32)
  195. }
  196. }
  197. *CursorOrigin: PAIR(225, 25)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.5
  201. *Cmd: "<1B>&l81A"
  202. }
  203. }
  204. *Option: ENV_DL
  205. {
  206. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  207. *RotateSize? : TRUE
  208. *PrintableArea: PAIR(2148, 1069)
  209. *PrintableOrigin: PAIR(225, 30)
  210. *switch: Resolution
  211. {
  212. *case: Option2
  213. {
  214. *% Warning: the following printable width is adjusted (2148->2146) so it is divisible by the resolution X scale.
  215. *% Warning: the following printable length is adjusted (1069->1068) so it is divisible by the resolution Y scale.
  216. *PrintableArea: PAIR(2146, 1068)
  217. *% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
  218. *PrintableOrigin: PAIR(226, 30)
  219. }
  220. *case: Option3
  221. {
  222. *% Warning: the following printable width is adjusted (2148->2144) so it is divisible by the resolution X scale.
  223. *% Warning: the following printable length is adjusted (1069->1064) so it is divisible by the resolution Y scale.
  224. *PrintableArea: PAIR(2144, 1064)
  225. *% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
  226. *% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
  227. *PrintableOrigin: PAIR(228, 32)
  228. }
  229. }
  230. *CursorOrigin: PAIR(225, 25)
  231. *Command: CmdSelect
  232. {
  233. *Order: DOC_SETUP.5
  234. *Cmd: "<1B>&l6d0e26P"
  235. }
  236. }
  237. *Option: ENV_C5
  238. {
  239. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  240. *RotateSize? : TRUE
  241. *PrintableArea: PAIR(2256, 1684)
  242. *PrintableOrigin: PAIR(225, 30)
  243. *switch: Resolution
  244. {
  245. *case: Option2
  246. {
  247. *% Warning: the following printable width is adjusted (2256->2254) so it is divisible by the resolution X scale.
  248. *PrintableArea: PAIR(2254, 1684)
  249. *% Warning: the following printable origin X is adjusted (225->226) so it is divisible by the resolution X scale.
  250. *PrintableOrigin: PAIR(226, 30)
  251. }
  252. *case: Option3
  253. {
  254. *% Warning: the following printable width is adjusted (2256->2252) so it is divisible by the resolution X scale.
  255. *% Warning: the following printable length is adjusted (1684->1680) so it is divisible by the resolution Y scale.
  256. *PrintableArea: PAIR(2252, 1680)
  257. *% Warning: the following printable origin X is adjusted (225->228) so it is divisible by the resolution X scale.
  258. *% Warning: the following printable origin Y is adjusted (30->32) so it is divisible by the resolution Y scale.
  259. *PrintableOrigin: PAIR(228, 32)
  260. }
  261. }
  262. *CursorOrigin: PAIR(225, 25)
  263. *Command: CmdSelect
  264. {
  265. *Order: DOC_SETUP.5
  266. *Cmd: "<1B>&l8d0e51P"
  267. }
  268. }
  269. *Option: CUSTOMSIZE
  270. {
  271. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  272. *MinSize: PAIR(300, 300)
  273. *MaxSize: PAIR(2550, 3900)
  274. *MaxPrintableWidth: 2400
  275. *MinLeftMargin: 0
  276. *CenterPrintable?: FALSE
  277. *TopMargin: 0
  278. *BottomMargin: 200
  279. *Command: CmdSelect
  280. {
  281. *Order: DOC_SETUP.5
  282. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  283. }
  284. }
  285. }
  286. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  287. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  288. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  289. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  290. *Feature: MediaType
  291. {
  292. *rcNameID: =MEDIA_TYPE_DISPLAY
  293. *DefaultOption: STANDARD
  294. *Option: STANDARD
  295. {
  296. *rcNameID: =PLAIN_PAPER_DISPLAY
  297. *Command: CmdSelect
  298. {
  299. *Order: PAGE_SETUP.8
  300. *Cmd: "<1B>&b10T"
  301. }
  302. }
  303. *Option: TRANSPARENCY
  304. {
  305. *rcNameID: =TRANSPARENCY_DISPLAY
  306. *Command: CmdSelect
  307. {
  308. *Order: PAGE_SETUP.8
  309. *Cmd: "<1B>&k3W<1B>*o2Q"
  310. }
  311. }
  312. *Option: Option3
  313. {
  314. *rcNameID: 265
  315. *OptionID: 258
  316. *Command: CmdSelect
  317. {
  318. *Order: PAGE_SETUP.8
  319. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  320. }
  321. }
  322. *Option: GLOSSY
  323. {
  324. *rcNameID: =GLOSSY_PAPER_DISPLAY
  325. *Command: CmdSelect
  326. {
  327. *Order: PAGE_SETUP.8
  328. *Cmd: "<1B>&k3W<1B>*o2Q"
  329. }
  330. }
  331. *Option: Option5
  332. {
  333. *rcNameID: 266
  334. *OptionID: 259
  335. *Command: CmdSelect
  336. {
  337. *Order: PAGE_SETUP.8
  338. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  339. }
  340. }
  341. }
  342. *Feature: PrintQuality
  343. {
  344. *rcNameID: =TEXT_QUALITY_DISPLAY
  345. *DefaultOption: Option1
  346. *Option: Option1
  347. {
  348. *rcNameID: 272
  349. *Command: CmdSelect
  350. {
  351. *Order: DOC_SETUP.3
  352. *Cmd: "<1B>(s2Q<1B>*r2Q"
  353. }
  354. }
  355. *Option: Option2
  356. {
  357. *rcNameID: 273
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.3
  361. *Cmd: "<1B>(s1Q<1B>*r1Q"
  362. }
  363. }
  364. *Option: Option3
  365. {
  366. *rcNameID: 274
  367. *Command: CmdSelect
  368. {
  369. *Order: DOC_SETUP.3
  370. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  371. }
  372. }
  373. }
  374. *Feature: ColorMode
  375. {
  376. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  377. *DefaultOption: Color
  378. *Option: Mono
  379. {
  380. *rcNameID: =MONO_DISPLAY
  381. *DevNumOfPlanes: 1
  382. *DevBPP: 1
  383. *Color? : FALSE
  384. }
  385. *Option: Color
  386. {
  387. *rcNameID: =COLOR_DISPLAY
  388. *DevNumOfPlanes: 3
  389. *DevBPP: 1
  390. *DrvBPP: 4
  391. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  392. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  393. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  394. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  395. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  396. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  397. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  398. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  399. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  400. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  401. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  402. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  403. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  404. *Command: CmdSelect
  405. {
  406. *Order: PAGE_SETUP.9
  407. *Cmd: "<1B>*r-3U"
  408. }
  409. }
  410. }
  411. *Feature: Halftone
  412. {
  413. *rcNameID: =HALFTONING_DISPLAY
  414. *DefaultOption: HT_PATSIZE_AUTO
  415. *Option: HT_PATSIZE_AUTO
  416. {
  417. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  418. }
  419. *Option: HT_PATSIZE_SUPERCELL_M
  420. {
  421. *rcNameID: =HT_SUPERCELL_DISPLAY
  422. }
  423. *Option: HT_PATSIZE_6x6_M
  424. {
  425. *rcNameID: =HT_DITHER6X6_DISPLAY
  426. }
  427. *Option: HT_PATSIZE_8x8_M
  428. {
  429. *rcNameID: =HT_DITHER8X8_DISPLAY
  430. }
  431. }
  432. *Command: CmdStartDoc
  433. {
  434. *Order: DOC_SETUP.1
  435. *Cmd: "<1B>[K<030005BA021B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  436. }
  437. *Command: CmdStartPage
  438. {
  439. *Order: PAGE_SETUP.1
  440. *Cmd: "<0D>"
  441. }
  442. *Command: CmdEndJob
  443. {
  444. *Order: JOB_FINISH.1
  445. *Cmd: "<1B>E"
  446. }
  447. *Command: CmdEndPage
  448. {
  449. *Order: PAGE_FINISH.1
  450. *Cmd: "<0D>"
  451. }
  452. *RotateCoordinate?: FALSE
  453. *RotateRaster?: FALSE
  454. *RotateFont?: FALSE
  455. *switch: Orientation
  456. {
  457. *case: PORTRAIT
  458. {
  459. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  460. }
  461. *case: LANDSCAPE_CC270
  462. {
  463. *TextCaps: LIST()
  464. }
  465. }
  466. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  467. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  468. *XMoveThreshold: 0
  469. *YMoveThreshold: *
  470. *XMoveUnit: 300
  471. *YMoveUnit: 300
  472. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  473. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  474. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  475. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  476. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  477. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  478. *Command: CmdCR { *Cmd : "<0D>" }
  479. *Command: CmdLF { *Cmd : "<0A>" }
  480. *Command: CmdFF { *Cmd : "<0C>" }
  481. *EjectPageWithFF?: TRUE
  482. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  483. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  484. *OutputDataFormat: H_BYTE
  485. *OptimizeLeftBound?: FALSE
  486. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  487. *CursorYAfterSendBlockData: AUTO_INCREMENT
  488. *LookAheadRegion: 180
  489. *DefaultCTT: 0
  490. *CharPosition: BASELINE