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.

389 lines
10 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "JIB250K.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 949
  10. *ModelName: "�������� JP-B250"
  11. *MasterUnits: PAIR(300, 300)
  12. *ResourceDLL: "PCL3KRES.DLL"
  13. *PrinterType: PAGE
  14. *OutputOrderReversed?: TRUE
  15. *FontCartSlots: 2
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. }
  24. *Option: LANDSCAPE_CC270
  25. {
  26. *rcNameID: =LANDSCAPE_DISPLAY
  27. }
  28. }
  29. *Feature: InputBin
  30. {
  31. *rcNameID: =PAPER_SOURCE_DISPLAY
  32. *DefaultOption: AUTO
  33. *Option: AUTO
  34. {
  35. *rcNameID: =AUTO_DISPLAY
  36. *Command: CmdSelect
  37. {
  38. *Order: DOC_SETUP.3
  39. *Cmd: "<1B>&l1H"
  40. }
  41. }
  42. *Option: ENVMANUAL
  43. {
  44. *rcNameID: =ENV_MANUAL_DISPLAY
  45. *Command: CmdSelect
  46. {
  47. *Order: DOC_SETUP.3
  48. *Cmd: "<1B>&l3H"
  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. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  62. *SpotDiameter: 100
  63. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  64. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  65. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.6
  69. *Cmd: "<1B>*t300R"
  70. }
  71. }
  72. *Option: Option2
  73. {
  74. *Name: "150 x 150 dots per inch"
  75. *DPI: PAIR(150, 150)
  76. *TextDPI: PAIR(300, 300)
  77. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  78. *SpotDiameter: 100
  79. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  80. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  81. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  82. *Command: CmdSelect
  83. {
  84. *Order: DOC_SETUP.6
  85. *Cmd: "<1B>*t150R"
  86. }
  87. }
  88. *Option: Option3
  89. {
  90. *Name: "75 x 75 dots per inch"
  91. *DPI: PAIR(75, 75)
  92. *TextDPI: PAIR(300, 300)
  93. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  94. *SpotDiameter: 100
  95. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  96. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  97. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  98. *Command: CmdSelect
  99. {
  100. *Order: DOC_SETUP.6
  101. *Cmd: "<1B>*t75R"
  102. }
  103. }
  104. }
  105. *Feature: PaperSize
  106. {
  107. *rcNameID: =PAPER_SIZE_DISPLAY
  108. *DefaultOption: LETTER
  109. *Option: LETTER
  110. {
  111. *rcNameID: =LETTER_DISPLAY
  112. *PrintableArea: PAIR(2400, 3075)
  113. *PrintableOrigin: PAIR(75, 75)
  114. *switch: Resolution
  115. {
  116. *case: Option2
  117. {
  118. *PrintableArea: PAIR(2398, 3074)
  119. *PrintableOrigin: PAIR(76, 76)
  120. }
  121. *case: Option3
  122. {
  123. *PrintableArea: PAIR(2396, 3072)
  124. *PrintableOrigin: PAIR(76, 76)
  125. }
  126. }
  127. *CursorOrigin: PAIR(75, 45)
  128. *Command: CmdSelect
  129. {
  130. *Order: DOC_SETUP.5
  131. *Cmd: "<1B>&l2A"
  132. }
  133. }
  134. *Option: LEGAL
  135. {
  136. *rcNameID: =LEGAL_DISPLAY
  137. *PrintableArea: PAIR(2400, 3975)
  138. *PrintableOrigin: PAIR(75, 75)
  139. *switch: Resolution
  140. {
  141. *case: Option2
  142. {
  143. *PrintableArea: PAIR(2398, 3974)
  144. *PrintableOrigin: PAIR(76, 76)
  145. }
  146. *case: Option3
  147. {
  148. *PrintableArea: PAIR(2396, 3972)
  149. *PrintableOrigin: PAIR(76, 76)
  150. }
  151. }
  152. *CursorOrigin: PAIR(75, 45)
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.5
  156. *Cmd: "<1B>&l3A"
  157. }
  158. }
  159. *Option: A4
  160. {
  161. *rcNameID: =A4_DISPLAY
  162. *PrintableArea: PAIR(2400, 3282)
  163. *PrintableOrigin: PAIR(38, 75)
  164. *switch: Resolution
  165. {
  166. *case: Option2
  167. {
  168. *PrintableArea: PAIR(2400, 3280)
  169. *PrintableOrigin: PAIR(38, 76)
  170. }
  171. *case: Option3
  172. {
  173. *PrintableArea: PAIR(2396, 3280)
  174. *PrintableOrigin: PAIR(40, 76)
  175. }
  176. }
  177. *CursorOrigin: PAIR(38, 45)
  178. *Command: CmdSelect
  179. {
  180. *Order: DOC_SETUP.5
  181. *Cmd: "<1B>&l26A"
  182. }
  183. }
  184. *Option: ENV_10
  185. {
  186. *rcNameID: =ENV_10_DISPLAY
  187. *RotateSize? : TRUE
  188. *PrintableArea: PAIR(2400, 1039)
  189. *PrintableOrigin: PAIR(225, 30)
  190. *switch: Resolution
  191. {
  192. *case: Option2
  193. {
  194. *PrintableArea: PAIR(2398, 1038)
  195. *PrintableOrigin: PAIR(226, 30)
  196. }
  197. *case: Option3
  198. {
  199. *PrintableArea: PAIR(2396, 1036)
  200. *PrintableOrigin: PAIR(228, 32)
  201. }
  202. }
  203. *CursorOrigin: PAIR(225, 25)
  204. *Command: CmdSelect
  205. {
  206. *Order: DOC_SETUP.5
  207. *Cmd: "<1B>&l81A"
  208. }
  209. }
  210. *Option: ENV_DL
  211. {
  212. *rcNameID: =ENV_DL_DISPLAY
  213. *RotateSize? : TRUE
  214. *PrintableArea: PAIR(2148, 1099)
  215. *PrintableOrigin: PAIR(225, 30)
  216. *switch: Resolution
  217. {
  218. *case: Option2
  219. {
  220. *PrintableArea: PAIR(2146, 1098)
  221. *PrintableOrigin: PAIR(226, 30)
  222. }
  223. *case: Option3
  224. {
  225. *PrintableArea: PAIR(2144, 1096)
  226. *PrintableOrigin: PAIR(228, 32)
  227. }
  228. }
  229. *CursorOrigin: PAIR(225, 25)
  230. *Command: CmdSelect
  231. {
  232. *Order: DOC_SETUP.5
  233. *Cmd: "<1B>&l6d0e26P"
  234. }
  235. }
  236. *Option: ENV_C5
  237. {
  238. *rcNameID: =ENV_C5_DISPLAY
  239. *RotateSize? : TRUE
  240. *PrintableArea: PAIR(2256, 1814)
  241. *PrintableOrigin: PAIR(225, 30)
  242. *switch: Resolution
  243. {
  244. *case: Option2
  245. {
  246. *PrintableArea: PAIR(2254, 1814)
  247. *PrintableOrigin: PAIR(226, 30)
  248. }
  249. *case: Option3
  250. {
  251. *PrintableArea: PAIR(2252, 1812)
  252. *PrintableOrigin: PAIR(228, 32)
  253. }
  254. }
  255. *CursorOrigin: PAIR(225, 25)
  256. *Command: CmdSelect
  257. {
  258. *Order: DOC_SETUP.5
  259. *Cmd: "<1B>&l8d0e51P"
  260. }
  261. }
  262. *Option: CUSTOMSIZE
  263. {
  264. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  265. *MinSize: PAIR(300, 300)
  266. *MaxSize: PAIR(2550, 3900)
  267. *MaxPrintableWidth: 2400
  268. *MinLeftMargin: 0
  269. *CenterPrintable?: FALSE
  270. *Command: CmdSelect
  271. {
  272. *Order: DOC_SETUP.5
  273. *Cmd: "<1B>&l12d0e" %d{(PhysPaperLength / 25) }"P"
  274. }
  275. }
  276. }
  277. *Feature: PrintQuality
  278. {
  279. *rcNameID: =TEXT_QUALITY_DISPLAY
  280. *DefaultOption: Option1
  281. *Option: Option1
  282. {
  283. *rcNameID: 272
  284. *Command: CmdSelect
  285. {
  286. *Order: DOC_SETUP.4
  287. *Cmd: "<1B>(s2Q<1B>*r2Q"
  288. }
  289. }
  290. *Option: Option2
  291. {
  292. *rcNameID: 273
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.4
  296. *Cmd: "<1B>(s0Q<1B>*r0Q"
  297. }
  298. }
  299. }
  300. *Feature: Halftone
  301. {
  302. *rcNameID: =HALFTONING_DISPLAY
  303. *DefaultOption: HT_PATSIZE_AUTO
  304. *Option: HT_PATSIZE_AUTO
  305. {
  306. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  307. }
  308. *Option: HT_PATSIZE_SUPERCELL_M
  309. {
  310. *rcNameID: =HT_SUPERCELL_DISPLAY
  311. }
  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. *Command: CmdStartDoc
  322. {
  323. *Order: DOC_SETUP.1
  324. *Cmd: "<1B>E<1B>&l0O<1B>&l0L"
  325. }
  326. *Command: CmdStartPage
  327. {
  328. *Order: PAGE_SETUP.1
  329. *Cmd: "<0D>"
  330. }
  331. *Command: CmdEndJob
  332. {
  333. *Order: JOB_FINISH.1
  334. *Cmd: "<1B>E"
  335. }
  336. *Command: CmdEndPage
  337. {
  338. *Order: PAGE_FINISH.1
  339. *Cmd: "<0D>"
  340. }
  341. *RotateCoordinate?: FALSE
  342. *RotateRaster?: FALSE
  343. *RotateFont?: FALSE
  344. *switch: Orientation
  345. {
  346. *case: PORTRAIT
  347. {
  348. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  349. }
  350. *case: LANDSCAPE_CC270
  351. {
  352. *TextCaps: LIST()
  353. }
  354. }
  355. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  356. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  357. *XMoveThreshold: 0
  358. *YMoveThreshold: *
  359. *XMoveUnit: 300
  360. *YMoveUnit: 300
  361. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  362. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel }"X" }
  363. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  364. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY }"Y" }
  365. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{DestYRel}"Y" }
  366. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{DestYRel}"Y" }
  367. *Command: CmdCR { *Cmd : "<0D>" }
  368. *Command: CmdLF { *Cmd : "<0A>" }
  369. *Command: CmdFF { *Cmd : "<0C>" }
  370. *EjectPageWithFF?: TRUE
  371. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  372. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  373. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  374. *OutputDataFormat: H_BYTE
  375. *OptimizeLeftBound?: FALSE
  376. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  377. *CursorYAfterSendBlockData: AUTO_INCREMENT
  378. *LookAheadRegion: 180
  379. *DefaultFont: 1
  380. *DefaultCTT: 0
  381. *CharPosition: BASELINE
  382. *MinFontID: 1
  383. *MaxFontID: 99
  384. *FontFormat: HPPCL
  385. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  386. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  387. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  388. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  389. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }