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.

585 lines
15 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "LXEJ2C.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Lexmark ExecJet IIc"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "hpdjres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: DOC_SETUP.4
  36. *Cmd: "<1B>&l1H"
  37. }
  38. }
  39. *Option: ENVMANUAL
  40. {
  41. *rcNameID: =ENV_MANUAL_DISPLAY
  42. *Command: CmdSelect
  43. {
  44. *Order: DOC_SETUP.4
  45. *Cmd: "<1B>&l3H"
  46. }
  47. }
  48. }
  49. *Feature: Resolution
  50. {
  51. *rcNameID: =RESOLUTION_DISPLAY
  52. *DefaultOption: Option1
  53. *Option: Option1
  54. {
  55. *Name: "300 x 300 " =DOTS_PER_INCH
  56. *DPI: PAIR(300, 300)
  57. *TextDPI: PAIR(300, 300)
  58. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  59. *SpotDiameter: 160
  60. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  61. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  62. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  63. *Command: CmdSelect
  64. {
  65. *Order: DOC_SETUP.6
  66. *Cmd: "<1B>*t300R"
  67. }
  68. }
  69. *Option: Option2
  70. {
  71. *Name: "150 x 150 " =DOTS_PER_INCH
  72. *DPI: PAIR(150, 150)
  73. *TextDPI: PAIR(150, 150)
  74. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  75. *SpotDiameter: 140
  76. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  77. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  78. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.6
  82. *Cmd: "<1B>*t150R"
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "75 x 75 " =DOTS_PER_INCH
  88. *DPI: PAIR(75, 75)
  89. *TextDPI: PAIR(75, 75)
  90. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  91. *SpotDiameter: 120
  92. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  93. *Command: CmdEndRaster { *Cmd : "<1B>*rC" }
  94. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.6
  98. *Cmd: "<1B>*t75R"
  99. }
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: LETTER
  106. *Option: LETTER
  107. {
  108. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  109. *PrintableArea: PAIR(4800, 6050)
  110. *PrintableOrigin: PAIR(150, 150)
  111. *switch: Resolution
  112. {
  113. *case: Option2
  114. {
  115. *PrintableArea: PAIR(4796, 6048)
  116. *PrintableOrigin: PAIR(152, 152)
  117. }
  118. *case: Option3
  119. {
  120. *PrintableArea: PAIR(4792, 6048)
  121. *PrintableOrigin: PAIR(152, 152)
  122. }
  123. }
  124. *CursorOrigin: PAIR(150, 90)
  125. *Command: CmdSelect
  126. {
  127. *Order: DOC_SETUP.5
  128. *Cmd: "<1B>&l2A"
  129. }
  130. }
  131. *Option: LEGAL
  132. {
  133. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  134. *PrintableArea: PAIR(4800, 7850)
  135. *PrintableOrigin: PAIR(150, 150)
  136. *switch: Resolution
  137. {
  138. *case: Option2
  139. {
  140. *PrintableArea: PAIR(4796, 7848)
  141. *PrintableOrigin: PAIR(152, 152)
  142. }
  143. *case: Option3
  144. {
  145. *PrintableArea: PAIR(4792, 7848)
  146. *PrintableOrigin: PAIR(152, 152)
  147. }
  148. }
  149. *CursorOrigin: PAIR(150, 90)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.5
  153. *Cmd: "<1B>&l3A"
  154. }
  155. }
  156. *Option: A4
  157. {
  158. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  159. *PrintableArea: PAIR(4800, 6464)
  160. *PrintableOrigin: PAIR(76, 150)
  161. *switch: Resolution
  162. {
  163. *case: Option2
  164. {
  165. *PrintableArea: PAIR(4800, 6460)
  166. *PrintableOrigin: PAIR(76, 152)
  167. }
  168. *case: Option3
  169. {
  170. *PrintableArea: PAIR(4792, 6456)
  171. *PrintableOrigin: PAIR(80, 152)
  172. }
  173. }
  174. *CursorOrigin: PAIR(76, 90)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.5
  178. *Cmd: "<1B>&l26A"
  179. }
  180. }
  181. *Option: A5
  182. {
  183. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  184. *PrintableArea: PAIR(3178, 4412)
  185. *PrintableOrigin: PAIR(120, 150)
  186. *switch: Resolution
  187. {
  188. *case: Option2
  189. {
  190. *PrintableArea: PAIR(3176, 4408)
  191. *PrintableOrigin: PAIR(120, 152)
  192. }
  193. *case: Option3
  194. {
  195. *PrintableArea: PAIR(3176, 4408)
  196. *PrintableOrigin: PAIR(120, 152)
  197. }
  198. }
  199. *CursorOrigin: PAIR(76, 90)
  200. *Command: CmdSelect
  201. {
  202. *Order: DOC_SETUP.5
  203. *Cmd: "<1B>&l13A"
  204. }
  205. }
  206. *Option: B5
  207. {
  208. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  209. *PrintableArea: PAIR(3982, 5522)
  210. *PrintableOrigin: PAIR(120, 150)
  211. *switch: Resolution
  212. {
  213. *case: Option2
  214. {
  215. *PrintableArea: PAIR(3980, 5520)
  216. *PrintableOrigin: PAIR(120, 152)
  217. }
  218. *case: Option3
  219. {
  220. *PrintableArea: PAIR(3976, 5520)
  221. *PrintableOrigin: PAIR(120, 152)
  222. }
  223. }
  224. *CursorOrigin: PAIR(76, 90)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.5
  228. *Cmd: "<1B>&l12A"
  229. }
  230. }
  231. *Option: EXECUTIVE
  232. {
  233. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  234. *PrintableArea: PAIR(4050, 5750)
  235. *PrintableOrigin: PAIR(150, 150)
  236. *switch: Resolution
  237. {
  238. *case: Option2
  239. {
  240. *PrintableArea: PAIR(4048, 5748)
  241. *PrintableOrigin: PAIR(152, 152)
  242. }
  243. *case: Option3
  244. {
  245. *PrintableArea: PAIR(4048, 5744)
  246. *PrintableOrigin: PAIR(152, 152)
  247. }
  248. }
  249. *CursorOrigin: PAIR(76, 90)
  250. *Command: CmdSelect
  251. {
  252. *Order: DOC_SETUP.5
  253. *Cmd: "<1B>&l1A"
  254. }
  255. }
  256. *Option: ENV_10
  257. {
  258. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  259. *PrintableArea: PAIR(2178, 5150)
  260. *PrintableOrigin: PAIR(150, 150)
  261. *switch: Resolution
  262. {
  263. *case: Option2
  264. {
  265. *PrintableArea: PAIR(2176, 5148)
  266. *PrintableOrigin: PAIR(152, 152)
  267. }
  268. *case: Option3
  269. {
  270. *PrintableArea: PAIR(2176, 5144)
  271. *PrintableOrigin: PAIR(152, 152)
  272. }
  273. }
  274. *CursorOrigin: PAIR(450, 50)
  275. *Command: CmdSelect
  276. {
  277. *Order: DOC_SETUP.5
  278. *Cmd: "<1B>&l27A"
  279. }
  280. }
  281. *Option: ENV_9
  282. {
  283. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  284. *PrintableArea: PAIR(2028, 4778)
  285. *PrintableOrigin: PAIR(150, 150)
  286. *switch: Resolution
  287. {
  288. *case: Option2
  289. {
  290. *PrintableArea: PAIR(2024, 4776)
  291. *PrintableOrigin: PAIR(152, 152)
  292. }
  293. *case: Option3
  294. {
  295. *PrintableArea: PAIR(2024, 4776)
  296. *PrintableOrigin: PAIR(152, 152)
  297. }
  298. }
  299. *CursorOrigin: PAIR(80, 90)
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.5
  303. *Cmd: "<1B>&l27A"
  304. }
  305. }
  306. *Option: ENV_DL
  307. {
  308. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  309. *PrintableArea: PAIR(2298, 4736)
  310. *PrintableOrigin: PAIR(150, 60)
  311. *switch: Resolution
  312. {
  313. *case: Option2
  314. {
  315. *PrintableArea: PAIR(2296, 4736)
  316. *PrintableOrigin: PAIR(152, 60)
  317. }
  318. *case: Option3
  319. {
  320. *PrintableArea: PAIR(2296, 4728)
  321. *PrintableOrigin: PAIR(152, 64)
  322. }
  323. }
  324. *CursorOrigin: PAIR(450, 50)
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.5
  328. *Cmd: "<1B>&l6d0e26P"
  329. }
  330. }
  331. *Option: ENV_C5
  332. {
  333. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  334. *PrintableArea: PAIR(3628, 4912)
  335. *PrintableOrigin: PAIR(100, 100)
  336. *switch: Resolution
  337. {
  338. *case: Option3
  339. {
  340. *PrintableArea: PAIR(3624, 4904)
  341. *PrintableOrigin: PAIR(104, 104)
  342. }
  343. }
  344. *CursorOrigin: PAIR(450, 50)
  345. *Command: CmdSelect
  346. {
  347. *Order: DOC_SETUP.5
  348. *Cmd: "<1B>&l8d0e51P"
  349. }
  350. }
  351. *Option: CUSTOMSIZE
  352. {
  353. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  354. *MinSize: PAIR(600, 600)
  355. *MaxSize: PAIR(5100, 7800)
  356. *MaxPrintableWidth: 4800
  357. *MinLeftMargin: 0
  358. *CenterPrintable?: FALSE
  359. *TopMargin: 0
  360. *BottomMargin: 400
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.5
  364. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  365. }
  366. }
  367. }
  368. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  369. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  370. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  371. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  372. *Feature: MediaType
  373. {
  374. *rcNameID: =MEDIA_TYPE_DISPLAY
  375. *DefaultOption: STANDARD
  376. *Option: STANDARD
  377. {
  378. *rcNameID: =PLAIN_PAPER_DISPLAY
  379. *Command: CmdSelect
  380. {
  381. *Order: PAGE_SETUP.8
  382. *Cmd: "<1B>&b10T"
  383. }
  384. }
  385. *Option: TRANSPARENCY
  386. {
  387. *rcNameID: =TRANSPARENCY_DISPLAY
  388. *Command: CmdSelect
  389. {
  390. *Order: PAGE_SETUP.8
  391. *Cmd: "<1B>&k3W<1B>*o2Q"
  392. }
  393. }
  394. *Option: Option3
  395. {
  396. *rcNameID: 265
  397. *Command: CmdSelect
  398. {
  399. *Order: PAGE_SETUP.8
  400. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  401. }
  402. }
  403. *Option: GLOSSY
  404. {
  405. *rcNameID: =GLOSSY_PAPER_DISPLAY
  406. *Command: CmdSelect
  407. {
  408. *Order: PAGE_SETUP.8
  409. *Cmd: "<1B>&k3W<1B>*o2Q"
  410. }
  411. }
  412. *Option: Option5
  413. {
  414. *rcNameID: 266
  415. *Command: CmdSelect
  416. {
  417. *Order: PAGE_SETUP.8
  418. *Cmd: "<1B>&b240T<1B>&k3W<1B>*o2Q"
  419. }
  420. }
  421. *Option: Option6
  422. {
  423. *rcNameID: 267
  424. *Command: CmdSelect
  425. {
  426. *Order: PAGE_SETUP.8
  427. *Cmd: "<1B>&b10T"
  428. }
  429. }
  430. }
  431. *Feature: PrintQuality
  432. {
  433. *rcNameID: =TEXT_QUALITY_DISPLAY
  434. *DefaultOption: Option1
  435. *Option: Option1
  436. {
  437. *rcNameID: 272
  438. *Command: CmdSelect
  439. {
  440. *Order: DOC_SETUP.3
  441. *Cmd: "<1B>(s2Q<1B>*r2Q"
  442. }
  443. }
  444. *Option: Option2
  445. {
  446. *rcNameID: 273
  447. *Command: CmdSelect
  448. {
  449. *Order: DOC_SETUP.3
  450. *Cmd: "<1B>(s0Q<1B>*r0Q"
  451. }
  452. }
  453. *Option: Option3
  454. {
  455. *rcNameID: 274
  456. *Command: CmdSelect
  457. {
  458. *Order: DOC_SETUP.3
  459. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  460. }
  461. }
  462. }
  463. *Feature: ColorMode
  464. {
  465. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  466. *DefaultOption: Color
  467. *Option: Mono
  468. {
  469. *rcNameID: =MONO_DISPLAY
  470. *DevNumOfPlanes: 1
  471. *DevBPP: 1
  472. *Color? : FALSE
  473. }
  474. *Option: Color
  475. {
  476. *rcNameID: =COLOR_DISPLAY
  477. *DevNumOfPlanes: 3
  478. *DevBPP: 1
  479. *DrvBPP: 4
  480. EXTERN_GLOBAL: *RasterSendAllData? : TRUE
  481. *ColorPlaneOrder: LIST(CYAN, MAGENTA, YELLOW)
  482. *Command: CmdSendCyanData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  483. *Command: CmdSendMagentaData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"V" }
  484. *Command: CmdSendYellowData { *Cmd : "<1B>*b" %d{NumOfDataBytes }"W" }
  485. *Command: CmdSelectBlackColor { *Cmd : "<1B>*v7S" }
  486. *Command: CmdSelectRedColor { *Cmd : "<1B>*v6S" }
  487. *Command: CmdSelectGreenColor { *Cmd : "<1B>*v5S" }
  488. *Command: CmdSelectYellowColor { *Cmd : "<1B>*v4S" }
  489. *Command: CmdSelectBlueColor { *Cmd : "<1B>*v3S" }
  490. *Command: CmdSelectMagentaColor { *Cmd : "<1B>*v2S" }
  491. *Command: CmdSelectCyanColor { *Cmd : "<1B>*v1S" }
  492. *Command: CmdSelectWhiteColor { *Cmd : "<1B>*v0S" }
  493. *Command: CmdSelect
  494. {
  495. *Order: PAGE_SETUP.9
  496. *Cmd: "<1B>*r-3U"
  497. }
  498. }
  499. }
  500. *Feature: Halftone
  501. {
  502. *rcNameID: =HALFTONING_DISPLAY
  503. *DefaultOption: HT_PATSIZE_AUTO
  504. *Option: HT_PATSIZE_AUTO
  505. {
  506. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  507. }
  508. *Ifdef: WINNT_50
  509. *Option: HT_PATSIZE_SUPERCELL_M
  510. {
  511. *rcNameID: =HT_SUPERCELL_DISPLAY
  512. }
  513. *Endif:
  514. *Option: HT_PATSIZE_6x6_M
  515. {
  516. *rcNameID: =HT_DITHER6X6_DISPLAY
  517. }
  518. *Option: HT_PATSIZE_8x8_M
  519. {
  520. *rcNameID: =HT_DITHER8X8_DISPLAY
  521. }
  522. }
  523. *Command: CmdStartDoc
  524. {
  525. *Order: DOC_SETUP.1
  526. *Cmd: "<1B>E<1B>&l0O<1B>&l0L<1B>*r1U"
  527. }
  528. *Command: CmdStartPage
  529. {
  530. *Order: PAGE_SETUP.1
  531. *Cmd: "<0D>"
  532. }
  533. *Command: CmdEndJob
  534. {
  535. *Order: JOB_FINISH.1
  536. *Cmd: "<1B>E"
  537. }
  538. *Command: CmdEndPage
  539. {
  540. *Order: PAGE_FINISH.1
  541. *Cmd: "<0D>"
  542. }
  543. *RotateCoordinate?: FALSE
  544. *RotateRaster?: FALSE
  545. *RotateFont?: FALSE
  546. *switch: Orientation
  547. {
  548. *case: PORTRAIT
  549. {
  550. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  551. }
  552. *case: LANDSCAPE_CC270
  553. {
  554. *TextCaps: LIST()
  555. }
  556. }
  557. *ChangeColorModeOnDoc?: FALSE
  558. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  559. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  560. *XMoveThreshold: 0
  561. *YMoveThreshold: *
  562. *XMoveUnit: 300
  563. *YMoveUnit: 300
  564. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  565. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  566. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  567. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  568. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  569. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  570. *Command: CmdCR { *Cmd : "<0D>" }
  571. *Command: CmdLF { *Cmd : "<0A>" }
  572. *Command: CmdFF { *Cmd : "<0C>" }
  573. *EjectPageWithFF?: TRUE
  574. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  575. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  576. *OutputDataFormat: H_BYTE
  577. *OptimizeLeftBound?: FALSE
  578. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  579. *CursorYAfterSendBlockData: AUTO_INCREMENT
  580. *LookAheadRegion: 360
  581. *DefaultFont: 1
  582. *DefaultCTT: 0
  583. *CharPosition: BASELINE
  584. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  585. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }