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.

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