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.

461 lines
12 KiB

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