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.

170 lines
3.9 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.0"
  7. *GPDFileName: "CI8510.GPD"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "C-Itoh 8510"
  10. *MasterUnits: PAIR(288, 144)
  11. *ResourceDLL: "citohres.dll"
  12. *PrinterType: SERIAL
  13. *Feature: Orientation
  14. {
  15. *rcNameID: =ORIENTATION_DISPLAY
  16. *DefaultOption: PORTRAIT
  17. *Option: PORTRAIT
  18. {
  19. *rcNameID: =PORTRAIT_DISPLAY
  20. }
  21. *Option: LANDSCAPE_CC270
  22. {
  23. *rcNameID: =LANDSCAPE_DISPLAY
  24. }
  25. }
  26. *Feature: Resolution
  27. {
  28. *rcNameID: =RESOLUTION_DISPLAY
  29. *DefaultOption: Option1
  30. *Option: Option1
  31. {
  32. *Name: "96 x 72 " =DOTS_PER_INCH
  33. *DPI: PAIR(96, 72)
  34. *TextDPI: PAIR(96, 72)
  35. *PinsPerLogPass: 8
  36. *PinsPerPhysPass: 8
  37. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  38. *SpotDiameter: 100
  39. *Command: CmdSendBlockData { *Cmd : "<1B>E<1B>S" %4d{NumOfDataBytes} }
  40. }
  41. }
  42. *Feature: InputBin
  43. {
  44. *rcNameID: =PAPER_SOURCE_DISPLAY
  45. *DefaultOption: AUTO
  46. *Option: AUTO
  47. {
  48. *rcNameID: =AUTO_DISPLAY
  49. }
  50. }
  51. *Feature: PaperSize
  52. {
  53. *rcNameID: =PAPER_SIZE_DISPLAY
  54. *DefaultOption: LETTER
  55. *Option: LETTER
  56. {
  57. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  58. *PrintableArea: PAIR(2304, 1584)
  59. *PrintableOrigin: PAIR(72, 0)
  60. }
  61. *Option: A4
  62. {
  63. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  64. *PrintableArea: PAIR(2304, 1683)
  65. *PrintableOrigin: PAIR(72, 0)
  66. *switch: Resolution
  67. {
  68. *case: Option1
  69. {
  70. *PrintableArea: PAIR(2304, 1682)
  71. }
  72. }
  73. }
  74. *Option: Option3
  75. {
  76. *rcNameID: 258
  77. *PageDimensions: PAIR(3076, 2091)
  78. *PrintableArea: PAIR(2304, 2091)
  79. *PrintableOrigin: PAIR(72, 0)
  80. *switch: Resolution
  81. {
  82. *case: Option1
  83. {
  84. *PrintableArea: PAIR(2304, 2090)
  85. }
  86. }
  87. }
  88. }
  89. *Feature: Halftone
  90. {
  91. *rcNameID: =HALFTONING_DISPLAY
  92. *DefaultOption: HT_PATSIZE_AUTO
  93. *Option: HT_PATSIZE_AUTO
  94. {
  95. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  96. }
  97. *Option: HT_PATSIZE_SUPERCELL_M
  98. {
  99. *rcNameID: =HT_SUPERCELL_DISPLAY
  100. }
  101. *Option: HT_PATSIZE_6x6_M
  102. {
  103. *rcNameID: =HT_DITHER6X6_DISPLAY
  104. }
  105. *Option: HT_PATSIZE_8x8_M
  106. {
  107. *rcNameID: =HT_DITHER8X8_DISPLAY
  108. }
  109. }
  110. *Command: CmdStartDoc
  111. {
  112. *Order: DOC_SETUP.1
  113. *Cmd: "<1B>><1B>E<0D>"
  114. }
  115. *Command: CmdEndJob
  116. {
  117. *Order: JOB_FINISH.1
  118. *Cmd: "<0D1B>A"
  119. }
  120. *Command: CmdEndPage
  121. {
  122. *Order: PAGE_FINISH.1
  123. *Cmd: "<0D>"
  124. }
  125. *RotateCoordinate?: FALSE
  126. *RotateRaster?: FALSE
  127. *RotateFont?: FALSE
  128. *switch: Orientation
  129. {
  130. *case: PORTRAIT
  131. {
  132. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  133. }
  134. *case: LANDSCAPE_CC270
  135. {
  136. *TextCaps: LIST()
  137. }
  138. }
  139. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  140. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  141. *MaxLineSpacing: 99
  142. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[1,99]{LinefeedSpacing } }
  143. *Command: CmdCR { *Cmd : "<0D>" }
  144. *Command: CmdLF { *Cmd : "<0A>" }
  145. *Command: CmdFF { *Cmd : "<0C>" }
  146. *Command: CmdBackSpace { *Cmd : "<08>" }
  147. *EjectPageWithFF?: TRUE
  148. *OutputDataFormat: V_BYTE
  149. *OptimizeLeftBound?: TRUE
  150. *CursorXAfterSendBlockData: AT_GRXDATA_END
  151. *CursorYAfterSendBlockData: NO_MOVE
  152. *DefaultFont: 1
  153. *DefaultCTT: 0
  154. *switch: Orientation
  155. {
  156. *case: PORTRAIT
  157. {
  158. *DeviceFonts: LIST(1)
  159. }
  160. *case: LANDSCAPE_CC270
  161. {
  162. *DeviceFonts: LIST()
  163. }
  164. }
  165. *Command: CmdBoldOn { *Cmd : "<1B>!" }
  166. *Command: CmdBoldOff { *Cmd : "<1B>%"" }
  167. *Command: CmdItalicOn { *Cmd : "<1B>i1" }
  168. *Command: CmdItalicOff { *Cmd : "<1B>i0" }
  169. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  170. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }