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.

450 lines
12 KiB

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