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.

258 lines
6.3 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "CNLB46DJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Canon LBP-B406D LIPS2"
  11. *MasterUnits: PAIR(240, 240)
  12. *ResourceDLL: "cnl2jres.dll"
  13. *PrinterType: PAGE
  14. *PrintRate: 8
  15. *PrintRateUnit: PPM
  16. *MaxCopies: 255
  17. *Feature: Orientation
  18. {
  19. *rcNameID: =ORIENTATION_DISPLAY
  20. *DefaultOption: PORTRAIT
  21. *Option: PORTRAIT
  22. {
  23. *rcNameID: =PORTRAIT_DISPLAY
  24. *Command: CmdSelect
  25. {
  26. *Order: PAGE_SETUP.1
  27. *Cmd: "<1B>[0%%r<1B>[0;1;0x<1B>[1k"
  28. }
  29. }
  30. *Option: LANDSCAPE_CC270
  31. {
  32. *rcNameID: =LANDSCAPE_DISPLAY
  33. *Command: CmdSelect
  34. {
  35. *Order: PAGE_SETUP.1
  36. *Cmd: "<1B>[1%%r<1B>[0;3;0x<1B>[1k"
  37. }
  38. }
  39. }
  40. *Feature: InputBin
  41. {
  42. *rcNameID: =PAPER_SOURCE_DISPLAY
  43. *DefaultOption: Option1
  44. *Option: Option1
  45. {
  46. *rcNameID: 258
  47. *Command: CmdSelect
  48. {
  49. *Order: DOC_SETUP.2
  50. *Cmd: "<1B>[0q"
  51. }
  52. }
  53. *Option: Option2
  54. {
  55. *rcNameID: 259
  56. *Command: CmdSelect
  57. {
  58. *Order: DOC_SETUP.2
  59. *Cmd: "<1B>[1q"
  60. }
  61. }
  62. *Option: Option3
  63. {
  64. *rcNameID: 260
  65. *Command: CmdSelect
  66. {
  67. *Order: DOC_SETUP.2
  68. *Cmd: "<1B>[3q"
  69. }
  70. }
  71. *Option: Option4
  72. {
  73. *rcNameID: 261
  74. *Command: CmdSelect
  75. {
  76. *Order: DOC_SETUP.2
  77. *Cmd: "<1B>[2q"
  78. }
  79. }
  80. }
  81. *Feature: Resolution
  82. {
  83. *rcNameID: =RESOLUTION_DISPLAY
  84. *DefaultOption: Option1
  85. *Option: Option1
  86. {
  87. *Name: "240 x 240 dots per inch"
  88. *DPI: PAIR(240, 240)
  89. *TextDPI: PAIR(240, 240)
  90. *PinsPerLogPass: 16
  91. *PinsPerPhysPass: 16
  92. *MinStripBlankPixels: 24
  93. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  94. *SpotDiameter: 100
  95. *Command: CmdBeginRaster { *Cmd : "<1B>[1e" }
  96. *Command: CmdEndRaster { *Cmd : "<1B>[1k" }
  97. *Command: CmdSendBlockData { *Cmd : "<1B>[" %d{((NumOfDataBytes * 2) / 2) }";16;240.t" }
  98. }
  99. }
  100. *Feature: PaperSize
  101. {
  102. *rcNameID: =PAPER_SIZE_DISPLAY
  103. *DefaultOption: A4
  104. *Option: A4
  105. {
  106. *rcNameID: =A4_DISPLAY
  107. *PrintableArea: PAIR(1880, 2694)
  108. *PrintableOrigin: PAIR(48, 48)
  109. *Command: CmdSelect
  110. {
  111. *Order: DOC_SETUP.3
  112. *Cmd: "<1B>[14;;p"
  113. }
  114. }
  115. *Option: A5
  116. {
  117. *rcNameID: =A5_DISPLAY
  118. *PrintableArea: PAIR(1303, 1882)
  119. *PrintableOrigin: PAIR(48, 48)
  120. *Command: CmdSelect
  121. {
  122. *Order: DOC_SETUP.3
  123. *Cmd: "<1B>[16;;p"
  124. }
  125. }
  126. *Option: B4
  127. {
  128. *rcNameID: =B4_DISPLAY
  129. *PrintableArea: PAIR(2333, 3336)
  130. *PrintableOrigin: PAIR(48, 48)
  131. *Command: CmdSelect
  132. {
  133. *Order: DOC_SETUP.3
  134. *Cmd: "<1B>[24;;p"
  135. }
  136. }
  137. *Option: B5
  138. {
  139. *rcNameID: =B5_DISPLAY
  140. *PrintableArea: PAIR(1625, 2326)
  141. *PrintableOrigin: PAIR(48, 48)
  142. *Command: CmdSelect
  143. {
  144. *Order: DOC_SETUP.3
  145. *Cmd: "<1B>[26;;p"
  146. }
  147. }
  148. *Option: JAPANESE_POSTCARD
  149. {
  150. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  151. *PrintableArea: PAIR(850, 1296)
  152. *PrintableOrigin: PAIR(48, 48)
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.3
  156. *Cmd: "<1B>[18;;p"
  157. }
  158. }
  159. *Option: LETTER
  160. {
  161. *rcNameID: =LETTER_DISPLAY
  162. *PrintableArea: PAIR(1944, 2537)
  163. *PrintableOrigin: PAIR(48, 48)
  164. *Command: CmdSelect
  165. {
  166. *Order: DOC_SETUP.3
  167. *Cmd: "<1B>[30;;p"
  168. }
  169. }
  170. *Option: LEGAL
  171. {
  172. *rcNameID: =LEGAL_DISPLAY
  173. *PrintableArea: PAIR(1944, 3257)
  174. *PrintableOrigin: PAIR(48, 48)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.3
  178. *Cmd: "<1B>[32;;p"
  179. }
  180. }
  181. *Option: CUSTOMSIZE
  182. {
  183. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  184. *MinSize: PAIR(240, 240)
  185. *MaxSize: PAIR(2429, 3439)
  186. *MaxPrintableWidth: 2429
  187. *MinLeftMargin: 0
  188. *CenterPrintable?: TRUE
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.3
  192. *Cmd: "<1B>[0;;p"
  193. }
  194. }
  195. }
  196. *Feature: Halftone
  197. {
  198. *rcNameID: =HALFTONING_DISPLAY
  199. *DefaultOption: HT_PATSIZE_AUTO
  200. *Option: HT_PATSIZE_AUTO
  201. {
  202. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  203. }
  204. *Option: HT_PATSIZE_SUPERCELL_M
  205. {
  206. *rcNameID: =HT_SUPERCELL_DISPLAY
  207. }
  208. *Option: HT_PATSIZE_6x6_M
  209. {
  210. *rcNameID: =HT_DITHER6X6_DISPLAY
  211. }
  212. *Option: HT_PATSIZE_8x8_M
  213. {
  214. *rcNameID: =HT_DITHER8X8_DISPLAY
  215. }
  216. }
  217. *Command: CmdStartDoc
  218. {
  219. *Order: DOC_SETUP.1
  220. *Cmd: "<1B>%%@<1B>P21;240;J<1B>\<1B>%<<1B>[11h<1B>[7 I<1B>%%0"
  221. }
  222. *Command: CmdEndJob
  223. {
  224. *Order: JOB_FINISH.1
  225. *Cmd: "<1B>P0J<1B>\"
  226. }
  227. *Command: CmdCopies
  228. {
  229. *Order: DOC_SETUP.5
  230. *Cmd: "<1B>[" %d[1,255]{NumOfCopies}"v"
  231. }
  232. *RotateCoordinate?: FALSE
  233. *RotateRaster?: TRUE
  234. *RotateFont?: FALSE
  235. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_RA_ABLE)
  236. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  237. *XMoveThreshold: 0
  238. *YMoveThreshold: *
  239. *XMoveUnit: 240
  240. *YMoveUnit: 240
  241. *Command: CmdXMoveAbsolute { *Cmd : "<1B>[" %d{DestX}"`" }
  242. *Command: CmdXMoveRelRight { *Cmd : "<1B>[" %d{DestXRel}"a" }
  243. *Command: CmdXMoveRelLeft { *Cmd : "<1B>[" %d{DestXRel}"j" }
  244. *Command: CmdYMoveRelDown { *Cmd : "<1B>[" %d{DestYRel}"e" }
  245. *Command: CmdYMoveRelUp { *Cmd : "<1B>[" %d{DestYRel}"k" }
  246. *Command: CmdCR { *Cmd : "<0D>" }
  247. *Command: CmdLF { *Cmd : "<0A>" }
  248. *Command: CmdFF { *Cmd : "<0C>" }
  249. *Command: CmdBackSpace { *Cmd : "<08>" }
  250. *EjectPageWithFF?: TRUE
  251. *OutputDataFormat: V_BYTE
  252. *OptimizeLeftBound?: TRUE
  253. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  254. *CursorYAfterSendBlockData: NO_MOVE
  255. *DefaultCTT: -1
  256. *CharPosition: BASELINE
  257. *Command: CmdBoldOn { *Cmd : "<1B>n<1B>[?25h<1B>[1m<0E1B>[?25h<1B>[1m<0F1B>[?25h<1B>[1m" }
  258. *Command: CmdBoldOff { *Cmd : "<1B>n<1B>[?25l<0E1B>[?25l<0F1B>[?25l" }