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.

463 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "LXVW300.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *Include: "ttfsub.gpd"
  10. *ModelName: "Lexmark ValueWriter 300"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "ibppdres.dll"
  13. *PrinterType: PAGE
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. *Command: CmdSelect
  22. {
  23. *Order: DOC_SETUP.2
  24. *Cmd: "<1B>k"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC270
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.2
  33. *Cmd: "<1B>l"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: UPPER
  41. *Option: UPPER
  42. {
  43. *rcNameID: =UPPER_TRAY_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.7
  47. *Cmd: "<1B>[F<0300030101>"
  48. }
  49. }
  50. *Option: MANUAL
  51. {
  52. *rcNameID: =MANUAL_FEED_DISPLAY
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.7
  56. *Cmd: "<1B>[F<010001>"
  57. }
  58. }
  59. *Option: ENVFEED
  60. {
  61. *rcNameID: =ENV_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.7
  65. *Cmd: "<1B>[F<02000302>"
  66. }
  67. }
  68. *Option: LOWER
  69. {
  70. *rcNameID: =LOWER_TRAY_DISPLAY
  71. *Command: CmdSelect
  72. {
  73. *Order: DOC_SETUP.7
  74. *Cmd: "<1B>[F<0300030102>"
  75. }
  76. }
  77. }
  78. *Feature: Resolution
  79. {
  80. *rcNameID: =RESOLUTION_DISPLAY
  81. *DefaultOption: Option1
  82. *Option: Option1
  83. {
  84. *Name: "300 x 300 " =DOTS_PER_INCH
  85. *DPI: PAIR(300, 300)
  86. *TextDPI: PAIR(300, 300)
  87. *MinStripBlankPixels: 32
  88. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  89. *SpotDiameter: 100
  90. *Command: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0901>,<01>," %m{RasterDataWidthInBytes }"<0011>"
  91. + "<00>" }
  92. }
  93. *Option: Option2
  94. {
  95. *Name: "150 x 150 " =DOTS_PER_INCH
  96. *DPI: PAIR(150, 150)
  97. *TextDPI: PAIR(300, 300)
  98. *MinStripBlankPixels: 32
  99. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  100. *SpotDiameter: 100
  101. *Command: CmdSendBlockData { *Cmd : "<1B>[h" %l{NumOfDataBytes + 10}"<0900960096>" %m{RasterDataWidthInBytes }"<0011>"
  102. + "<00>" }
  103. }
  104. }
  105. *Feature: PaperSize
  106. {
  107. *rcNameID: =PAPER_SIZE_DISPLAY
  108. *DefaultOption: LETTER
  109. *Option: LETTER
  110. {
  111. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  112. *PrintableArea: PAIR(2400, 3200)
  113. *PrintableOrigin: PAIR(75, 50)
  114. *switch: Resolution
  115. {
  116. *case: Option2
  117. {
  118. *PrintableArea: PAIR(2398, 3200)
  119. *PrintableOrigin: PAIR(76, 50)
  120. }
  121. }
  122. *CursorOrigin: PAIR(75, 50)
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.8
  126. *Cmd: "<1B>[F<040000010001>"
  127. }
  128. }
  129. *Option: LEGAL
  130. {
  131. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  132. *PrintableArea: PAIR(2400, 4100)
  133. *PrintableOrigin: PAIR(75, 50)
  134. *switch: Resolution
  135. {
  136. *case: Option2
  137. {
  138. *PrintableArea: PAIR(2398, 4100)
  139. *PrintableOrigin: PAIR(76, 50)
  140. }
  141. }
  142. *CursorOrigin: PAIR(75, 50)
  143. *Command: CmdSelect
  144. {
  145. *Order: DOC_SETUP.8
  146. *Cmd: "<1B>[F<040000010002>"
  147. }
  148. }
  149. *Option: B5
  150. {
  151. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  152. *PrintableArea: PAIR(2001, 2926)
  153. *PrintableOrigin: PAIR(75, 50)
  154. *switch: Resolution
  155. {
  156. *case: Option2
  157. {
  158. *PrintableArea: PAIR(2000, 2926)
  159. *PrintableOrigin: PAIR(76, 50)
  160. }
  161. }
  162. *CursorOrigin: PAIR(75, 50)
  163. *Command: CmdSelect
  164. {
  165. *Order: DOC_SETUP.8
  166. *Cmd: "<1B>[F<040000010003>"
  167. }
  168. }
  169. *Option: A4
  170. {
  171. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  172. *PrintableArea: PAIR(2401, 3407)
  173. *PrintableOrigin: PAIR(40, 50)
  174. *switch: Resolution
  175. {
  176. *case: Option2
  177. {
  178. *PrintableArea: PAIR(2400, 3406)
  179. }
  180. }
  181. *CursorOrigin: PAIR(40, 50)
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.8
  185. *Cmd: "<1B>[F<040000010004>"
  186. }
  187. }
  188. *Option: EXECUTIVE
  189. {
  190. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  191. *PrintableArea: PAIR(2025, 3050)
  192. *PrintableOrigin: PAIR(75, 50)
  193. *switch: Resolution
  194. {
  195. *case: Option2
  196. {
  197. *PrintableArea: PAIR(2024, 3050)
  198. *PrintableOrigin: PAIR(76, 50)
  199. }
  200. }
  201. *CursorOrigin: PAIR(75, 50)
  202. *Command: CmdSelect
  203. {
  204. *Order: DOC_SETUP.8
  205. *Cmd: "<1B>[F<040000010005>"
  206. }
  207. }
  208. *Option: A5
  209. {
  210. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  211. *PrintableArea: PAIR(1599, 2381)
  212. *PrintableOrigin: PAIR(75, 50)
  213. *switch: Resolution
  214. {
  215. *case: Option2
  216. {
  217. *PrintableArea: PAIR(1598, 2380)
  218. *PrintableOrigin: PAIR(76, 50)
  219. }
  220. }
  221. *CursorOrigin: PAIR(75, 50)
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.8
  225. *Cmd: "<1B>[F<040000010006>"
  226. }
  227. }
  228. *Option: ENV_MONARCH
  229. {
  230. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  231. *PrintableArea: PAIR(1014, 2150)
  232. *PrintableOrigin: PAIR(75, 50)
  233. *switch: Resolution
  234. {
  235. *case: Option2
  236. {
  237. *PrintableArea: PAIR(1012, 2150)
  238. *PrintableOrigin: PAIR(76, 50)
  239. }
  240. }
  241. *CursorOrigin: PAIR(75, 50)
  242. *Command: CmdSelect
  243. {
  244. *Order: DOC_SETUP.8
  245. *Cmd: "<1B>[F<040000020001>"
  246. }
  247. }
  248. *Option: ENV_9
  249. {
  250. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  251. *PrintableArea: PAIR(1014, 2564)
  252. *PrintableOrigin: PAIR(75, 50)
  253. *switch: Resolution
  254. {
  255. *case: Option2
  256. {
  257. *PrintableArea: PAIR(1012, 2564)
  258. *PrintableOrigin: PAIR(76, 50)
  259. }
  260. }
  261. *CursorOrigin: PAIR(75, 50)
  262. *Command: CmdSelect
  263. {
  264. *Order: DOC_SETUP.8
  265. *Cmd: "<1B>[F<040000020002>"
  266. }
  267. }
  268. *Option: ENV_10
  269. {
  270. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  271. *PrintableArea: PAIR(1089, 2750)
  272. *PrintableOrigin: PAIR(75, 50)
  273. *switch: Resolution
  274. {
  275. *case: Option2
  276. {
  277. *PrintableArea: PAIR(1088, 2750)
  278. *PrintableOrigin: PAIR(76, 50)
  279. }
  280. }
  281. *CursorOrigin: PAIR(75, 50)
  282. *Command: CmdSelect
  283. {
  284. *Order: DOC_SETUP.8
  285. *Cmd: "<1B>[F<040000020003>"
  286. }
  287. }
  288. *Option: ENV_DL
  289. {
  290. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  291. *PrintableArea: PAIR(1149, 2498)
  292. *PrintableOrigin: PAIR(75, 50)
  293. *switch: Resolution
  294. {
  295. *case: Option2
  296. {
  297. *PrintableArea: PAIR(1148, 2498)
  298. *PrintableOrigin: PAIR(76, 50)
  299. }
  300. }
  301. *CursorOrigin: PAIR(75, 50)
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.8
  305. *Cmd: "<1B>[F<040000020004>"
  306. }
  307. }
  308. *Option: ENV_C5
  309. {
  310. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  311. *PrintableArea: PAIR(1764, 2606)
  312. *PrintableOrigin: PAIR(75, 50)
  313. *switch: Resolution
  314. {
  315. *case: Option2
  316. {
  317. *PrintableArea: PAIR(1762, 2606)
  318. *PrintableOrigin: PAIR(76, 50)
  319. }
  320. }
  321. *CursorOrigin: PAIR(75, 50)
  322. *Command: CmdSelect
  323. {
  324. *Order: DOC_SETUP.8
  325. *Cmd: "<1B>[F<040000020005>"
  326. }
  327. }
  328. *Option: ENV_B5
  329. {
  330. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  331. *PrintableArea: PAIR(1929, 2852)
  332. *PrintableOrigin: PAIR(75, 50)
  333. *switch: Resolution
  334. {
  335. *case: Option2
  336. {
  337. *PrintableArea: PAIR(1928, 2852)
  338. *PrintableOrigin: PAIR(76, 50)
  339. }
  340. }
  341. *CursorOrigin: PAIR(75, 50)
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.8
  345. *Cmd: "<1B>[F<040000020006>"
  346. }
  347. }
  348. }
  349. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  350. *InvalidCombination: LIST(InputBin.ENVFEED, PaperSize.ENV_10)
  351. *InvalidCombination: LIST(InputBin.UPPER, PaperSize.ENV_10)
  352. *InvalidCombination: LIST(InputBin.LOWER, PaperSize.ENV_10)
  353. *Feature: Halftone
  354. {
  355. *rcNameID: =HALFTONING_DISPLAY
  356. *DefaultOption: HT_PATSIZE_AUTO
  357. *Option: HT_PATSIZE_AUTO
  358. {
  359. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  360. }
  361. *Ifdef: WINNT_50
  362. *Option: HT_PATSIZE_SUPERCELL_M
  363. {
  364. *rcNameID: =HT_SUPERCELL_DISPLAY
  365. }
  366. *Endif:
  367. *Option: HT_PATSIZE_6x6_M
  368. {
  369. *rcNameID: =HT_DITHER6X6_DISPLAY
  370. }
  371. *Option: HT_PATSIZE_8x8_M
  372. {
  373. *rcNameID: =HT_DITHER8X8_DISPLAY
  374. }
  375. }
  376. *Feature: Memory
  377. {
  378. *rcNameID: =PRINTER_MEMORY_DISPLAY
  379. *DefaultOption: 512KB
  380. *Option: 512KB
  381. {
  382. *Name: "512KB"
  383. *MemoryConfigKB: PAIR(512, 407)
  384. }
  385. *Option: 1536KB
  386. {
  387. *Name: "1536KB"
  388. *MemoryConfigKB: PAIR(1536, 1419)
  389. }
  390. *Option: 2560KB
  391. {
  392. *Name: "2560KB"
  393. *MemoryConfigKB: PAIR(2560, 2417)
  394. }
  395. *Option: 4608KB
  396. {
  397. *Name: "4608KB"
  398. *MemoryConfigKB: PAIR(4608, 4491)
  399. }
  400. }
  401. *Command: CmdStartDoc
  402. {
  403. *Order: DOC_SETUP.1
  404. *Cmd: "<000000001B>[K<180000>1<01000000000000000000000000041B>[K<030000>1<01>"
  405. }
  406. *Command: CmdStartPage
  407. {
  408. *Order: PAGE_SETUP.1
  409. *Cmd: "<0D>"
  410. }
  411. *Command: CmdEndJob
  412. {
  413. *Order: JOB_FINISH.1
  414. *Cmd: "<1B>[K<030000>1<00>"
  415. }
  416. *RotateCoordinate?: FALSE
  417. *RotateRaster?: TRUE
  418. *RotateFont?: TRUE
  419. *switch: Orientation
  420. {
  421. *case: PORTRAIT
  422. {
  423. *TextCaps: LIST(TC_OP_CHARACTER,TC_SF_X_YINDEP,TC_SA_DOUBLE,TC_EA_DOUBLE,TC_UA_ABLE)
  424. }
  425. *case: LANDSCAPE_CC270
  426. {
  427. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE)
  428. }
  429. }
  430. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  431. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  432. *XMoveThreshold: 0
  433. *YMoveThreshold: 0
  434. *XMoveUnit: 300
  435. *YMoveUnit: 300
  436. *Command: CmdXMoveAbsolute { *Cmd : "<1B>[Q<04000A04>" %m{DestX } }
  437. *Command: CmdXMoveRelRight { *Cmd : "<1B>[Q<06000004>" %m{DestXRel }"<0000>" }
  438. *Command: CmdYMoveAbsolute { *Cmd : "<1B>[Q<04000B04>" %m{DestY } }
  439. *Command: CmdYMoveRelDown { *Cmd : "<1B>[Q<060000040000>" %m{DestYRel } }
  440. *Command: CmdCR { *Cmd : "<0D>" }
  441. *Command: CmdLF { *Cmd : "<0A>" }
  442. *Command: CmdFF { *Cmd : "<0C>" }
  443. *Command: CmdBackSpace { *Cmd : "<08>" }
  444. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  445. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  446. *Command: CmdPushCursor { *Cmd : "<1B>[j<010000>" }
  447. *Command: CmdPopCursor { *Cmd : "<1B>[j<010003>" }
  448. *EjectPageWithFF?: TRUE
  449. *Command: CmdEnableTIFF4 { *Cmd : "" }
  450. *OutputDataFormat: H_BYTE
  451. *OptimizeLeftBound?: TRUE
  452. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  453. *CursorYAfterSendBlockData: AUTO_INCREMENT
  454. *TTFSEnabled?: TRUE
  455. *DefaultFont: 7
  456. *DefaultCTT: -2
  457. *CharPosition: BASELINE
  458. *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,
  459. + 17,18,19,20,21)
  460. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  461. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  462. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  463. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }