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.

419 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *Include: "StdNames.gpd"
  6. *MasterUnits: PAIR(300, 300)
  7. *ResourceDLL: "pcl4res.dll"
  8. *PrinterType: PAGE
  9. *MaxCopies: 99
  10. *Feature: Orientation
  11. {
  12. *rcNameID: =ORIENTATION_DISPLAY
  13. *DefaultOption: PORTRAIT
  14. *Option: PORTRAIT
  15. {
  16. *rcNameID: =PORTRAIT_DISPLAY
  17. *Command: CmdSelect
  18. {
  19. *Order: DOC_SETUP.4
  20. *Cmd: "<1B>&l0o1E"
  21. }
  22. }
  23. *Option: LANDSCAPE_CC90
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. *Command: CmdSelect
  27. {
  28. *Order: DOC_SETUP.4
  29. *Cmd: "<1B>&l1o6d1E"
  30. }
  31. }
  32. }
  33. *Feature: InputBin
  34. {
  35. *rcNameID: =PAPER_SOURCE_DISPLAY
  36. *DefaultOption: UPPER
  37. *Option: UPPER
  38. {
  39. *rcNameID: =UPPER_TRAY_DISPLAY
  40. *Command: CmdSelect
  41. {
  42. *Order: DOC_SETUP.2
  43. *Cmd: "<1B>&l1H"
  44. }
  45. }
  46. *Option: ENVMANUAL
  47. {
  48. *rcNameID: =ENV_MANUAL_DISPLAY
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.2
  52. *Cmd: "<1B>&l3H"
  53. }
  54. }
  55. *Option: MANUAL
  56. {
  57. *rcNameID: =MANUAL_FEED_DISPLAY
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.2
  61. *Cmd: "<1B>&l2H"
  62. }
  63. }
  64. *Option: LOWER
  65. {
  66. *rcNameID: =LOWER_TRAY_DISPLAY
  67. *Command: CmdSelect
  68. {
  69. *Order: DOC_SETUP.2
  70. *Cmd: "<1B>&l4H"
  71. }
  72. }
  73. }
  74. *Feature: Resolution
  75. {
  76. *rcNameID: =RESOLUTION_DISPLAY
  77. *DefaultOption: Option1
  78. *Option: Option1
  79. {
  80. *Name: "300 x 300 " =DOTS_PER_INCH
  81. *DPI: PAIR(300, 300)
  82. *TextDPI: PAIR(300, 300)
  83. *MinStripBlankPixels: 32
  84. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  85. *SpotDiameter: 100
  86. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  87. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  88. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  89. *Command: CmdSelect
  90. {
  91. *Order: DOC_SETUP.5
  92. *Cmd: "<1B>*t300R"
  93. }
  94. }
  95. *Option: Option2
  96. {
  97. *Name: "150 x 150 " =DOTS_PER_INCH
  98. *DPI: PAIR(150, 150)
  99. *TextDPI: PAIR(300, 300)
  100. *MinStripBlankPixels: 32
  101. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  102. *SpotDiameter: 100
  103. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  104. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  105. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.5
  109. *Cmd: "<1B>*t150R"
  110. }
  111. }
  112. }
  113. *Feature: PaperSize
  114. {
  115. *rcNameID: =PAPER_SIZE_DISPLAY
  116. *DefaultOption: LETTER
  117. *Option: LETTER
  118. {
  119. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  120. *switch: Orientation
  121. {
  122. *case: PORTRAIT
  123. {
  124. *PrintableArea: PAIR(2400, 3160)
  125. *PrintableOrigin: PAIR(60, 75)
  126. *switch: Resolution
  127. {
  128. *case: Option2
  129. {
  130. *PrintableArea: PAIR(2400, 3158)
  131. *PrintableOrigin: PAIR(60, 76)
  132. }
  133. }
  134. *CursorOrigin: PAIR(60, 75)
  135. *Command: CmdSelect
  136. {
  137. *Order: DOC_SETUP.3
  138. *Cmd: "<1B>&l2a4d1e42F"
  139. }
  140. }
  141. *case: LANDSCAPE_CC90
  142. {
  143. *PrintableArea: PAIR(2400, 3160)
  144. *PrintableOrigin: PAIR(60, 75)
  145. *switch: Resolution
  146. {
  147. *case: Option2
  148. {
  149. *PrintableArea: PAIR(2400, 3158)
  150. *PrintableOrigin: PAIR(60, 76)
  151. }
  152. }
  153. *CursorOrigin: PAIR(60, 3240)
  154. *Command: CmdSelect
  155. {
  156. *Order: DOC_SETUP.3
  157. *Cmd: "<1B>&l2a4d1e42F"
  158. }
  159. }
  160. }
  161. }
  162. *Option: LEGAL
  163. {
  164. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  165. *switch: Orientation
  166. {
  167. *case: PORTRAIT
  168. {
  169. *PrintableArea: PAIR(2400, 4060)
  170. *PrintableOrigin: PAIR(60, 75)
  171. *switch: Resolution
  172. {
  173. *case: Option2
  174. {
  175. *PrintableArea: PAIR(2400, 4058)
  176. *PrintableOrigin: PAIR(60, 76)
  177. }
  178. }
  179. *CursorOrigin: PAIR(60, 75)
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.3
  183. *Cmd: "<1B>&l3a4d1e54F"
  184. }
  185. }
  186. *case: LANDSCAPE_CC90
  187. {
  188. *PrintableArea: PAIR(2400, 4060)
  189. *PrintableOrigin: PAIR(60, 75)
  190. *switch: Resolution
  191. {
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(2400, 4058)
  195. *PrintableOrigin: PAIR(60, 76)
  196. }
  197. }
  198. *CursorOrigin: PAIR(60, 4140)
  199. *Command: CmdSelect
  200. {
  201. *Order: DOC_SETUP.3
  202. *Cmd: "<1B>&l3a4d1e54F"
  203. }
  204. }
  205. }
  206. }
  207. *Option: EXECUTIVE
  208. {
  209. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  210. *switch: Orientation
  211. {
  212. *case: PORTRAIT
  213. {
  214. *PrintableArea: PAIR(2025, 3010)
  215. *PrintableOrigin: PAIR(60, 75)
  216. *switch: Resolution
  217. {
  218. *case: Option2
  219. {
  220. *PrintableArea: PAIR(2024, 3008)
  221. *PrintableOrigin: PAIR(60, 76)
  222. }
  223. }
  224. *CursorOrigin: PAIR(60, 75)
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.3
  228. *Cmd: "<1B>&l1a4d1e40F"
  229. }
  230. }
  231. *case: LANDSCAPE_CC90
  232. {
  233. *PrintableArea: PAIR(2025, 3010)
  234. *PrintableOrigin: PAIR(60, 75)
  235. *switch: Resolution
  236. {
  237. *case: Option2
  238. {
  239. *PrintableArea: PAIR(2024, 3008)
  240. *PrintableOrigin: PAIR(60, 76)
  241. }
  242. }
  243. *CursorOrigin: PAIR(60, 3090)
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.3
  247. *Cmd: "<1B>&l1a4d1e40F"
  248. }
  249. }
  250. }
  251. }
  252. *Option: A4
  253. {
  254. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  255. *switch: Orientation
  256. {
  257. *case: PORTRAIT
  258. {
  259. *PrintableArea: PAIR(2331, 3367)
  260. *PrintableOrigin: PAIR(60, 75)
  261. *switch: Resolution
  262. {
  263. *case: Option2
  264. {
  265. *PrintableArea: PAIR(2330, 3366)
  266. *PrintableOrigin: PAIR(60, 76)
  267. }
  268. }
  269. *CursorOrigin: PAIR(55, 75)
  270. *Command: CmdSelect
  271. {
  272. *Order: DOC_SETUP.3
  273. *Cmd: "<1B>&l26a4d1e45F"
  274. }
  275. }
  276. *case: LANDSCAPE_CC90
  277. {
  278. *PrintableArea: PAIR(2331, 3367)
  279. *PrintableOrigin: PAIR(60, 75)
  280. *switch: Resolution
  281. {
  282. *case: Option2
  283. {
  284. *PrintableArea: PAIR(2330, 3366)
  285. *PrintableOrigin: PAIR(60, 76)
  286. }
  287. }
  288. *CursorOrigin: PAIR(60, 3447)
  289. *Command: CmdSelect
  290. {
  291. *Order: DOC_SETUP.3
  292. *Cmd: "<1B>&l26a4d1e45F"
  293. }
  294. }
  295. }
  296. }
  297. }
  298. *Feature: Halftone
  299. {
  300. *rcNameID: =HALFTONING_DISPLAY
  301. *DefaultOption: HT_PATSIZE_AUTO
  302. *Option: HT_PATSIZE_AUTO
  303. {
  304. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  305. }
  306. *Ifdef: WINNT_50
  307. *Option: HT_PATSIZE_SUPERCELL_M
  308. {
  309. *rcNameID: =HT_SUPERCELL_DISPLAY
  310. }
  311. *Endif:
  312. *Option: HT_PATSIZE_6x6_M
  313. {
  314. *rcNameID: =HT_DITHER6X6_DISPLAY
  315. }
  316. *Option: HT_PATSIZE_8x8_M
  317. {
  318. *rcNameID: =HT_DITHER8X8_DISPLAY
  319. }
  320. }
  321. *Feature: Memory
  322. {
  323. *rcNameID: =PRINTER_MEMORY_DISPLAY
  324. *DefaultOption: 1536KB
  325. *Option: 512KB
  326. {
  327. *Name: "512KB"
  328. *MemoryConfigKB: PAIR(512, 369)
  329. }
  330. *Option: 1536KB
  331. {
  332. *Name: "1536KB"
  333. *MemoryConfigKB: PAIR(1536, 1419)
  334. }
  335. *Option: 2560KB
  336. {
  337. *Name: "2560KB"
  338. *MemoryConfigKB: PAIR(2560, 2417)
  339. }
  340. }
  341. *Command: CmdStartDoc
  342. {
  343. *Order: DOC_SETUP.1
  344. *Cmd: "<1B>E<1B>&l0L"
  345. }
  346. *Command: CmdStartPage
  347. {
  348. *Order: PAGE_SETUP.1
  349. *Cmd: "<0D>"
  350. }
  351. *Command: CmdEndJob
  352. {
  353. *Order: JOB_FINISH.1
  354. *Cmd: "<1B>E"
  355. }
  356. *Command: CmdCopies
  357. {
  358. *Order: DOC_SETUP.6
  359. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  360. }
  361. *RotateCoordinate?: TRUE
  362. *RotateRaster?: FALSE
  363. *RotateFont?: FALSE
  364. *TextCaps: LIST(TC_UA_ABLE)
  365. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  366. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  367. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  368. *XMoveThreshold: 0
  369. *YMoveThreshold: 0
  370. *XMoveUnit: 300
  371. *YMoveUnit: 300
  372. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  373. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,2400]{max_repeat(DestXRel )}"X" }
  374. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,2400]{max_repeat(DestXRel )}"X" }
  375. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  376. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  377. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  378. *Command: CmdCR { *Cmd : "<0D>" }
  379. *Command: CmdLF { *Cmd : "<0A>" }
  380. *Command: CmdFF { *Cmd : "<0C>" }
  381. *Command: CmdBackSpace { *Cmd : "<08>" }
  382. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  383. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  384. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  385. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  386. *EjectPageWithFF?: TRUE
  387. *OutputDataFormat: H_BYTE
  388. *OptimizeLeftBound?: TRUE
  389. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  390. *CursorYAfterSendBlockData: AUTO_INCREMENT
  391. *DefaultFont: 207
  392. *DefaultCTT: 0
  393. *CharPosition: BASELINE
  394. *DLSymbolSet: ROMAN_8
  395. *switch: Orientation
  396. {
  397. *case: PORTRAIT
  398. {
  399. *DeviceFonts: LIST(205,206,207,211,282,289,290,291)
  400. }
  401. *case: LANDSCAPE_CC90
  402. {
  403. *DeviceFonts: LIST()
  404. }
  405. }
  406. *MinFontID: 1
  407. *MaxFontID: 99
  408. *MaxNumDownFonts: 32
  409. *FontFormat: HPPCL
  410. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  411. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  412. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  413. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  414. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  415. *MinGrayFill: 1
  416. *MaxGrayFill: 100
  417. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  418. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  419. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }