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.

287 lines
6.5 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "CN220JCJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Canon BJ-220JC"
  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. }
  76. *%========== PaperSize ==========
  77. *Feature: PaperSize
  78. {
  79. *rcNameID: =PAPER_SIZE_DISPLAY
  80. *DefaultOption: A4
  81. *Option: A4
  82. {
  83. *rcNameID: =A4_DISPLAY
  84. *PrintableArea: PAIR(5760, 8134)
  85. *PrintableOrigin: PAIR(96, 84)
  86. *Command: CmdSelect
  87. {
  88. *Order: PAGE_SETUP.3
  89. *Cmd: "<1B>(g<0300>s<01>Q"
  90. }
  91. }
  92. *Option: A3
  93. {
  94. *rcNameID: =A3_DISPLAY
  95. *PrintableArea: PAIR(8208, 11622)
  96. *PrintableOrigin: PAIR(106, 86)
  97. *Command: CmdSelect
  98. {
  99. *Order: PAGE_SETUP.3
  100. *Cmd: "<1B>(g<0300A401>s"
  101. }
  102. }
  103. *Option: LETTER
  104. {
  105. *rcNameID: =LETTER_DISPLAY
  106. *PrintableArea: PAIR(5944, 7636)
  107. *PrintableOrigin: PAIR(84, 84)
  108. *Command: CmdSelect
  109. {
  110. *Order: PAGE_SETUP.3
  111. *Cmd: "<1B>(g<0300>l<01>S"
  112. }
  113. }
  114. *Option: LEGAL
  115. {
  116. *rcNameID: =LEGAL_DISPLAY
  117. *PrintableArea: PAIR(5756, 9794)
  118. *PrintableOrigin: PAIR(182, 86)
  119. *Command: CmdSelect
  120. {
  121. *Order: PAGE_SETUP.3
  122. *Cmd: "<1B>(g<03008A01>S"
  123. }
  124. }
  125. *Option: A5
  126. {
  127. *rcNameID: =A5_DISPLAY
  128. *PrintableArea: PAIR(4068, 5680)
  129. *PrintableOrigin: PAIR(98, 86)
  130. *Command: CmdSelect
  131. {
  132. *Order: PAGE_SETUP.3
  133. *Cmd: "<1B>(g<0300>Q<01>9"
  134. }
  135. }
  136. *Option: B5
  137. {
  138. *rcNameID: =B5_DISPLAY
  139. *PrintableArea: PAIR(4966, 7002)
  140. *PrintableOrigin: PAIR(96, 84)
  141. *Command: CmdSelect
  142. {
  143. *Order: PAGE_SETUP.3
  144. *Cmd: "<1B>(g<0300>d<01>F"
  145. }
  146. }
  147. *Option: B4
  148. {
  149. *rcNameID: =B4_DISPLAY
  150. *PrintableArea: PAIR(7020, 9778)
  151. *PrintableOrigin: PAIR(114, 100)
  152. *Command: CmdSelect
  153. {
  154. *Order: PAGE_SETUP.3
  155. *Cmd: "<1B>(g<03008F01>d"
  156. }
  157. }
  158. *Option: JAPANESE_POSTCARD
  159. {
  160. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  161. *PrintableArea: PAIR(2638, 3908)
  162. *PrintableOrigin: PAIR(98, 86)
  163. *Command: CmdSelect
  164. {
  165. *Order: PAGE_SETUP.3
  166. *Cmd: "<1B>(g<0300>9<01>&"
  167. }
  168. }
  169. *Option: CUSTOMSIZE
  170. {
  171. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  172. *MinSize: PAIR(2834, 2834)
  173. *MaxSize: PAIR(11905, 16837)
  174. *MaxPrintableWidth: 11541
  175. *MinLeftMargin: 98
  176. *TopMargin: 85
  177. *BottomMargin: 198
  178. *CenterPrintable?: FALSE
  179. *Command: CmdSelect
  180. {
  181. *Order: PAGE_SETUP.3
  182. *Cmd: "<1B>(g<0300>" %m{PhysPaperLength / 72}"<01>r"
  183. }
  184. }
  185. }
  186. *%========== MediaType ==========
  187. *Feature: MediaType
  188. {
  189. *rcNameID: =MEDIA_TYPE_DISPLAY
  190. *DefaultOption: Option1
  191. *Option: Option1
  192. {
  193. *rcNameID: 259
  194. *Command: CmdSelect
  195. {
  196. *Order: PAGE_SETUP.1
  197. *CallbackID: 20
  198. }
  199. }
  200. }
  201. *%========== PrintQuality ==========
  202. *Feature: PrintQuality
  203. {
  204. *rcNameID: =TEXT_QUALITY_DISPLAY
  205. *DefaultOption: Option1
  206. *Option: Option1
  207. {
  208. *rcNameID: 267
  209. *Command: CmdSelect
  210. {
  211. *Order: PAGE_SETUP.2
  212. *CallbackID: 30
  213. }
  214. }
  215. }
  216. *%========== Halftone ==========
  217. *Feature: Halftone
  218. {
  219. *rcNameID: =HALFTONING_DISPLAY
  220. *DefaultOption: HT_PATSIZE_AUTO
  221. *Option: HT_PATSIZE_AUTO
  222. {
  223. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  224. }
  225. *Option: HT_PATSIZE_SUPERCELL_M
  226. {
  227. *rcNameID: =HT_SUPERCELL_DISPLAY
  228. }
  229. *Option: HT_PATSIZE_6x6_M
  230. {
  231. *rcNameID: =HT_DITHER6X6_DISPLAY
  232. }
  233. *Option: HT_PATSIZE_8x8_M
  234. {
  235. *rcNameID: =HT_DITHER8X8_DISPLAY
  236. }
  237. }
  238. *%========== Job Control Command ==========
  239. *Command: CmdStartDoc
  240. {
  241. *Order: DOC_SETUP.1
  242. *Cmd: "<1B5B>K<0200000F1B28>a<0100001B>(b<010001>"
  243. }
  244. *Command: CmdStartPage
  245. {
  246. *Order: PAGE_SETUP.5
  247. *CallbackID: 1
  248. }
  249. *Command: CmdEndJob
  250. {
  251. *Order: JOB_FINISH.1
  252. *Cmd: "<1B>(b<0100001B40>"
  253. }
  254. *%========== Printer Capabilities ==========
  255. *RotateCoordinate?: FALSE
  256. *RotateRaster?: FALSE
  257. *RotateFont?: FALSE
  258. *%========== Cursor Move ==========
  259. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  260. *YMoveAttributes: LIST(SEND_CR_FIRST)
  261. *YMoveThreshold: 0
  262. *YMoveUnit: 360
  263. *Command: CmdYMoveRelDown { *Cmd : "<1B28>e<0200>" %m{DestYRel / 2 } }
  264. *Command: CmdCR { *Cmd : "<0D>" }
  265. *Command: CmdLF { *Cmd : "<0A>" }
  266. *Command: CmdFF { *Cmd : "<0C>" }
  267. *EjectPageWithFF?: TRUE
  268. *%========== Compression ==========
  269. *Command: CmdEnableTIFF4 { *Cmd : "" }
  270. *%========== Raster Data Emission ==========
  271. *OutputDataFormat: H_BYTE
  272. *OptimizeLeftBound?: FALSE
  273. *CursorXAfterSendBlockData: AT_GRXDATA_END
  274. *CursorYAfterSendBlockData: NO_MOVE
  275. *DefaultCTT: 0