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.

304 lines
7.1 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "CNBJ23K.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "�Ե� ij�� BJ-230K"
  11. *MasterUnits: PAIR(720, 720)
  12. *ResourceDLL: "CNRSTRES.DLL"
  13. *PrinterType: SERIAL
  14. *OutputOrderReversed?: TRUE
  15. *%========== Orientation ==========
  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. *%========== InputBin ==========
  30. *Feature: InputBin
  31. {
  32. *rcNameID: =PAPER_SOURCE_DISPLAY
  33. *DefaultOption: AUTO
  34. *Option: AUTO
  35. {
  36. *rcNameID: =AUTO_DISPLAY
  37. *Command: CmdSelect
  38. {
  39. *Order: PAGE_SETUP.4
  40. *CallbackID: 40
  41. }
  42. }
  43. *Option: MANUAL
  44. {
  45. *rcNameID: =MANUAL_FEED_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: PAGE_SETUP.4
  49. *CallbackID: 41
  50. }
  51. }
  52. }
  53. *%========== Resolution ==========
  54. *Feature: Resolution
  55. {
  56. *rcNameID: =RESOLUTION_DISPLAY
  57. *DefaultOption: Option1
  58. *Option: Option1
  59. {
  60. *Name: "360 x 360 dots per inch"
  61. *DPI: PAIR(360, 360)
  62. *TextDPI: PAIR(360, 360)
  63. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  64. *SpotDiameter: 180
  65. *Command: CmdSendBlockData
  66. {
  67. *Cmd: "<1B28>A" %l{NumOfDataBytes + 1}"K"
  68. }
  69. *Command: CmdSelect
  70. {
  71. *Order: PAGE_SETUP.6
  72. *Cmd: "<1B>(d<040001>h<01>h"
  73. }
  74. }
  75. *Option: Option2
  76. {
  77. *Name: "180 x 180 dots per inch"
  78. *DPI: PAIR(180, 180)
  79. *TextDPI: PAIR(180, 180)
  80. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  81. *SpotDiameter: 130
  82. *Command: CmdSendBlockData
  83. {
  84. *Cmd: "<1B28>A" %l{NumOfDataBytes + 1}"K"
  85. }
  86. *Command: CmdSelect
  87. {
  88. *Order: PAGE_SETUP.6
  89. *Cmd: "<1B>(d<040000B400B4>"
  90. }
  91. }
  92. }
  93. *%========== PaperSize ==========
  94. *Feature: PaperSize
  95. {
  96. *rcNameID: =PAPER_SIZE_DISPLAY
  97. *DefaultOption: A4
  98. *Option: A4
  99. {
  100. *rcNameID: =A4_DISPLAY
  101. *PrintableArea: PAIR(5760, 8134)
  102. *PrintableOrigin: PAIR(96, 84)
  103. *Command: CmdSelect
  104. {
  105. *Order: PAGE_SETUP.3
  106. *Cmd: "<1B>(p<080002A6000801E80000>"
  107. }
  108. }
  109. *Option: A3
  110. {
  111. *rcNameID: =A3_DISPLAY
  112. *PrintableArea: PAIR(8208, 11622)
  113. *PrintableOrigin: PAIR(106, 86)
  114. *Command: CmdSelect
  115. {
  116. *Order: PAGE_SETUP.3
  117. *Cmd: "<1B>(p<080003C8000902B50000>"
  118. }
  119. }
  120. *Option: LETTER
  121. {
  122. *rcNameID: =LETTER_DISPLAY
  123. *PrintableArea: PAIR(5944, 7636)
  124. *PrintableOrigin: PAIR(84, 84)
  125. *Command: CmdSelect
  126. {
  127. *Order: PAGE_SETUP.3
  128. *Cmd: "<1B>(p<0800027C000701F60000>"
  129. }
  130. }
  131. *Option: LEGAL
  132. {
  133. *rcNameID: =LEGAL_DISPLAY
  134. *PrintableArea: PAIR(5756, 9794)
  135. *PrintableOrigin: PAIR(182, 86)
  136. *Command: CmdSelect
  137. {
  138. *Order: PAGE_SETUP.3
  139. *Cmd: "<1B>(p<08000330000F01EF0000>"
  140. }
  141. }
  142. *Option: A5
  143. {
  144. *rcNameID: =A5_DISPLAY
  145. *PrintableArea: PAIR(2766, 3908)
  146. *PrintableOrigin: PAIR(98, 86)
  147. *Command: CmdSelect
  148. {
  149. *Order: PAGE_SETUP.3
  150. *Cmd: "<1B>(p<080001460008014E0000>"
  151. }
  152. }
  153. *Option: B5
  154. {
  155. *rcNameID: =B5_DISPLAY
  156. *PrintableArea: PAIR(4966, 7002)
  157. *PrintableOrigin: PAIR(96, 84)
  158. *Command: CmdSelect
  159. {
  160. *Order: PAGE_SETUP.3
  161. *Cmd: "<1B>(p<08000247000802570000>"
  162. }
  163. }
  164. *Option: B4
  165. {
  166. *rcNameID: =B4_DISPLAY
  167. *PrintableArea: PAIR(7020, 9778)
  168. *PrintableOrigin: PAIR(114, 100)
  169. *Command: CmdSelect
  170. {
  171. *Order: PAGE_SETUP.3
  172. *Cmd: "<1B>(g<03008F01>d"
  173. }
  174. }
  175. *Option: JAPANESE_POSTCARD
  176. {
  177. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  178. *PrintableArea: PAIR(2638, 3908)
  179. *PrintableOrigin: PAIR(98, 86)
  180. *Command: CmdSelect
  181. {
  182. *Order: PAGE_SETUP.3
  183. *Cmd: "<1B>(p<0800 0146 0008 00E4 0000>"
  184. }
  185. }
  186. *Option: CUSTOMSIZE
  187. {
  188. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  189. *MinSize: PAIR(2834, 2834)
  190. *MaxSize: PAIR(11905, 16837)
  191. *MaxPrintableWidth: 11541
  192. *MinLeftMargin: 98
  193. *TopMargin: 85
  194. *BottomMargin: 198
  195. *CenterPrintable?: FALSE
  196. *Command: CmdSelect
  197. {
  198. *Order: PAGE_SETUP.3
  199. *Cmd: "<1B>(p<0800>" %m{PhysPaperLength / 12}"<0008>" %m{(PhysPaperWidth - 98) / 12}"<0000>"
  200. }
  201. }
  202. }
  203. *%========== MediaType ==========
  204. *Feature: MediaType
  205. {
  206. *rcNameID: =MEDIA_TYPE_DISPLAY
  207. *DefaultOption: Option1
  208. *Option: Option1
  209. {
  210. *rcNameID: 259
  211. *Command: CmdSelect
  212. {
  213. *Order: PAGE_SETUP.1
  214. *CallbackID: 20
  215. }
  216. }
  217. }
  218. *%========== PrintQuality ==========
  219. *Feature: PrintQuality
  220. {
  221. *rcNameID: =TEXT_QUALITY_DISPLAY
  222. *DefaultOption: Option1
  223. *Option: Option1
  224. {
  225. *rcNameID: 267
  226. *Command: CmdSelect
  227. {
  228. *Order: PAGE_SETUP.2
  229. *CallbackID: 30
  230. }
  231. }
  232. }
  233. *%========== Halftone ==========
  234. *Feature: Halftone
  235. {
  236. *rcNameID: =HALFTONING_DISPLAY
  237. *DefaultOption: HT_PATSIZE_AUTO
  238. *Option: HT_PATSIZE_AUTO
  239. {
  240. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  241. }
  242. *Option: HT_PATSIZE_SUPERCELL_M
  243. {
  244. *rcNameID: =HT_SUPERCELL_DISPLAY
  245. }
  246. *Option: HT_PATSIZE_6x6_M
  247. {
  248. *rcNameID: =HT_DITHER6X6_DISPLAY
  249. }
  250. *Option: HT_PATSIZE_8x8_M
  251. {
  252. *rcNameID: =HT_DITHER8X8_DISPLAY
  253. }
  254. }
  255. *%========== Job Control Command ==========
  256. *Command: CmdStartDoc
  257. {
  258. *Order: DOC_SETUP.1
  259. *Cmd: "<1B5B>K<0200000F1B28>a<0100001B>(b<010001>"
  260. }
  261. *Command: CmdStartPage
  262. {
  263. *Order: PAGE_SETUP.5
  264. *CallbackID: 1
  265. }
  266. *Command: CmdEndJob
  267. {
  268. *Order: JOB_FINISH.1
  269. *Cmd: "<1B>(b<0100001B40>"
  270. }
  271. *%========== Printer Capabilities ==========
  272. *RotateCoordinate?: FALSE
  273. *RotateRaster?: FALSE
  274. *RotateFont?: FALSE
  275. *%========== Cursor Move ==========
  276. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  277. *YMoveAttributes: LIST(SEND_CR_FIRST)
  278. *YMoveThreshold: 0
  279. *YMoveUnit: 360
  280. *Command: CmdYMoveRelDown { *Cmd : "<1B28>e<0200>" %m{DestYRel / 2 } }
  281. *Command: CmdCR { *Cmd : "<0D>" }
  282. *Command: CmdLF { *Cmd : "<0A>" }
  283. *Command: CmdFF { *Cmd : "<0C>" }
  284. *EjectPageWithFF?: TRUE
  285. *%========== Compression ==========
  286. *Command: CmdEnableTIFF4 { *Cmd : "" }
  287. *%========== Raster Data Emission ==========
  288. *OutputDataFormat: H_BYTE
  289. *OptimizeLeftBound?: FALSE
  290. *CursorXAfterSendBlockData: AT_GRXDATA_END
  291. *CursorYAfterSendBlockData: NO_MOVE
  292. *DefaultCTT: 0