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.

355 lines
8.7 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *Include: "StdNames.gpd"
  7. *GPDFileVersion: "1.0"
  8. *GPDFileName: "jil500gk.gpd"
  9. *ModelName: "FIRSTEC JP-L500G"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "pcl4kres.dll"
  12. *PrinterType: PAGE
  13. *MaxCopies: 99
  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>&l0O"
  25. }
  26. }
  27. *Option: LANDSCAPE_CC90
  28. {
  29. *rcNameID: =LANDSCAPE_DISPLAY
  30. *Command: CmdSelect
  31. {
  32. *Order: DOC_SETUP.2
  33. *Cmd: "<1B>&l1O"
  34. }
  35. }
  36. }
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: Option1
  41. *Option: Option1
  42. {
  43. *rcNameID: 400
  44. *OptionID: 400
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.6
  48. *Cmd: "<1B>&l1H"
  49. }
  50. }
  51. }
  52. *Feature: Resolution
  53. {
  54. *rcNameID: =RESOLUTION_DISPLAY
  55. *DefaultOption: Option1
  56. *Option: Option1
  57. {
  58. *Name: "300 x 300 " =DOTS_PER_INCH
  59. *DPI: PAIR(300, 300)
  60. *TextDPI: PAIR(300, 300)
  61. *MinStripBlankPixels: 32
  62. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  63. *SpotDiameter: 100
  64. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  65. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  66. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  67. *Command: CmdSelect
  68. {
  69. *Order: DOC_SETUP.8
  70. *Cmd: "<1B>*t300R"
  71. }
  72. }
  73. *Option: Option2
  74. {
  75. *Name: "600 x 600 " =DOTS_PER_INCH
  76. *DPI: PAIR(600, 600)
  77. *TextDPI: PAIR(600, 600)
  78. *MinStripBlankPixels: 32
  79. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  80. *SpotDiameter: 100
  81. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  82. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  83. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  84. *Command: CmdSelect
  85. {
  86. *Order: DOC_SETUP.8
  87. *Cmd: "<1B>*t600R"
  88. }
  89. }
  90. }
  91. *Feature: PaperSize
  92. {
  93. *rcNameID: =PAPER_SIZE_DISPLAY
  94. *DefaultOption: A4
  95. *Option: A4
  96. {
  97. *rcNameID: =A4_DISPLAY
  98. *PrintableArea: PAIR(4716, 6814)
  99. *PrintableOrigin: PAIR(130, 100)
  100. *Command: CmdSelect
  101. {
  102. *Order: DOC_SETUP.7
  103. *Cmd: "<1B>&l26A"
  104. }
  105. }
  106. *Option: LETTER
  107. {
  108. *rcNameID: =LETTER_DISPLAY
  109. *PrintableArea: PAIR(4800, 6342)
  110. *PrintableOrigin: PAIR(150, 108)
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.7
  114. *Cmd: "<1B>&l2A"
  115. }
  116. }
  117. *Option: LEGAL
  118. {
  119. *rcNameID: =LEGAL_DISPLAY
  120. *PrintableArea: PAIR(4800, 8200)
  121. *PrintableOrigin: PAIR(150, 100)
  122. *Command: CmdSelect
  123. {
  124. *Order: DOC_SETUP.7
  125. *Cmd: "<1B>&l3A"
  126. }
  127. }
  128. *Option: EXECUTIVE
  129. {
  130. *rcNameID: =EXECUTIVE_DISPLAY
  131. *PrintableArea: PAIR(4050, 6100)
  132. *PrintableOrigin: PAIR(150, 100)
  133. *Command: CmdSelect
  134. {
  135. *Order: DOC_SETUP.7
  136. *Cmd: "<1B>&l1A"
  137. }
  138. }
  139. *Option: B5
  140. {
  141. *rcNameID: =B5_DISPLAY
  142. *PrintableArea: PAIR(4127, 5872)
  143. *PrintableOrigin: PAIR(75, 100)
  144. *switch: Resolution
  145. {
  146. *case: Option1
  147. {
  148. *% Warning: the following printable width is adjusted (4127->4126) so it is divisible by the resolution X scale.
  149. *PrintableArea: PAIR(4126, 5872)
  150. *% Warning: the following printable origin X is adjusted (75->76) so it is divisible by the resolution X scale.
  151. *PrintableOrigin: PAIR(76, 100)
  152. }
  153. }
  154. *Command: CmdSelect
  155. {
  156. *Order: DOC_SETUP.7
  157. *Cmd: "<1B>&l45A"
  158. }
  159. }
  160. *Option: ENV_10
  161. {
  162. *rcNameID: =ENV_10_DISPLAY
  163. *PrintableArea: PAIR(2178, 5500)
  164. *PrintableOrigin: PAIR(150, 100)
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.7
  168. *Cmd: "<1B>&l81A"
  169. }
  170. }
  171. *Option: ENV_DL
  172. {
  173. *rcNameID: =ENV_DL_DISPLAY
  174. *PrintableArea: PAIR(2298, 4996)
  175. *PrintableOrigin: PAIR(150, 100)
  176. *Command: CmdSelect
  177. {
  178. *Order: DOC_SETUP.7
  179. *Cmd: "<1B>&l90A"
  180. }
  181. }
  182. *Option: ENV_C5
  183. {
  184. *rcNameID: =ENV_C5_DISPLAY
  185. *PrintableArea: PAIR(3528, 5212)
  186. *PrintableOrigin: PAIR(150, 100)
  187. *Command: CmdSelect
  188. {
  189. *Order: DOC_SETUP.7
  190. *Cmd: "<1B>&l91A"
  191. }
  192. }
  193. *Option: ENV_MONARCH
  194. {
  195. *rcNameID: =ENV_MONARCH_DISPLAY
  196. *PrintableArea: PAIR(2028, 4300)
  197. *PrintableOrigin: PAIR(150, 100)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.7
  201. *Cmd: "<1B>&l80A"
  202. }
  203. }
  204. }
  205. *Feature: Halftone
  206. {
  207. *rcNameID: =HALFTONING_DISPLAY
  208. *DefaultOption: HT_PATSIZE_AUTO
  209. *Option: HT_PATSIZE_AUTO
  210. {
  211. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  212. }
  213. *Option: HT_PATSIZE_SUPERCELL_M
  214. {
  215. *rcNameID: =HT_SUPERCELL_DISPLAY
  216. }
  217. *Option: HT_PATSIZE_6x6_M
  218. {
  219. *rcNameID: =HT_DITHER6X6_DISPLAY
  220. }
  221. *Option: HT_PATSIZE_8x8_M
  222. {
  223. *rcNameID: =HT_DITHER8X8_DISPLAY
  224. }
  225. }
  226. *Feature: Memory
  227. {
  228. *rcNameID: =PRINTER_MEMORY_DISPLAY
  229. *DefaultOption: 3072KB
  230. *Option: 3072KB
  231. {
  232. *Name: "3MB"
  233. *MemoryConfigKB: PAIR(3072, 2590)
  234. }
  235. *Option: 4096KB
  236. {
  237. *Name: "4MB"
  238. *MemoryConfigKB: PAIR(4096, 3535)
  239. }
  240. *Option: 5120KB
  241. {
  242. *Name: "5MB"
  243. *MemoryConfigKB: PAIR(5120, 4480)
  244. }
  245. *Option: 6144KB
  246. {
  247. *Name: "6MB"
  248. *MemoryConfigKB: PAIR(6144, 5425)
  249. }
  250. *Option: 7168KB
  251. {
  252. *Name: "7MB"
  253. *MemoryConfigKB: PAIR(7168, 6370)
  254. }
  255. *Option: 8192KB
  256. {
  257. *Name: "8MB"
  258. *MemoryConfigKB: PAIR(8192, 7315)
  259. }
  260. *Option: 9216KB
  261. {
  262. *Name: "9MB"
  263. *MemoryConfigKB: PAIR(9216, 8260)
  264. }
  265. *Option: 10240KB
  266. {
  267. *Name: "10MB"
  268. *MemoryConfigKB: PAIR(10240, 9205)
  269. }
  270. *Option: 11264KB
  271. {
  272. *Name: "11MB"
  273. *MemoryConfigKB: PAIR(11264, 10150)
  274. }
  275. *Option: 12288KB
  276. {
  277. *Name: "12MB"
  278. *MemoryConfigKB: PAIR(12288, 12171)
  279. }
  280. *Option: 13312KB
  281. {
  282. *Name: "13MB"
  283. *MemoryConfigKB: PAIR(13312, 12040)
  284. }
  285. *Option: 14336KB
  286. {
  287. *Name: "14MB"
  288. *MemoryConfigKB: PAIR(14336, 12985)
  289. }
  290. *Option: 15360KB
  291. {
  292. *Name: "15MB"
  293. *MemoryConfigKB: PAIR(15360, 15243)
  294. }
  295. *Option: 16384KB
  296. {
  297. *Name: "16MB"
  298. *MemoryConfigKB: PAIR(16384, 16267)
  299. }
  300. }
  301. *Command: CmdStartDoc
  302. {
  303. *Order: DOC_SETUP.1
  304. *Cmd: "<1B>?<1B>*r0F"
  305. }
  306. *Command: CmdStartPage
  307. {
  308. *Order: PAGE_SETUP.1
  309. *Cmd: "<1B>*b0M<0D>"
  310. }
  311. *Command: CmdEndJob
  312. {
  313. *Order: JOB_FINISH.1
  314. *Cmd: "<1B>E"
  315. }
  316. *Command: CmdCopies
  317. {
  318. *Order: DOC_SETUP.9
  319. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  320. }
  321. *RotateCoordinate?: TRUE
  322. *RotateRaster?: TRUE
  323. *RotateFont?: TRUE
  324. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  325. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  326. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  327. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  328. *XMoveThreshold: 0
  329. *YMoveThreshold: 0
  330. *XMoveUnit: 600
  331. *YMoveUnit: 300
  332. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  333. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  334. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  335. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  336. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  337. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  338. *Command: CmdFF { *Cmd : "<0C>" }
  339. *EjectPageWithFF?: TRUE
  340. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  341. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  342. *OutputDataFormat: H_BYTE
  343. *OptimizeLeftBound?: FALSE
  344. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  345. *CursorYAfterSendBlockData: AUTO_INCREMENT
  346. *DefaultCTT: 0
  347. *CharPosition: BASELINE
  348. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  349. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  350. *Command: CmdCR { *Cmd: "<0D>" }
  351. *Command: CmdLF { *Cmd: "<0A>" }
  352. *Command: CmdFF { *Cmd: "<0C>" }
  353. *Include: "ttfsub.gpd"
  354. *TTFSEnabled?: TRUE