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.

240 lines
6.0 KiB

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