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.

246 lines
5.8 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "AT473478.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "AT&T 473/478"
  10. *MasterUnits: PAIR(720, 216)
  11. *ResourceDLL: "ok9ibres.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: InputBin
  27. {
  28. *rcNameID: =PAPER_SOURCE_DISPLAY
  29. *DefaultOption: TRACTOR
  30. *Option: TRACTOR
  31. {
  32. *rcNameID: =TRACTOR_DISPLAY
  33. }
  34. *Option: MANUAL
  35. {
  36. *rcNameID: =MANUAL_FEED_DISPLAY
  37. }
  38. }
  39. *Feature: Resolution
  40. {
  41. *rcNameID: =RESOLUTION_DISPLAY
  42. *DefaultOption: Option1
  43. *Option: Option1
  44. {
  45. *Name: "120 x 72 " =DOTS_PER_INCH
  46. *DPI: PAIR(120, 72)
  47. *TextDPI: PAIR(120, 72)
  48. *PinsPerLogPass: 8
  49. *PinsPerPhysPass: 8
  50. *RequireUniDir?: TRUE
  51. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  52. EXTERN_GLOBAL: *TextYOffset: 14
  53. *SpotDiameter: 100
  54. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  55. }
  56. }
  57. *Feature: PaperSize
  58. {
  59. *rcNameID: =PAPER_SIZE_DISPLAY
  60. *DefaultOption: LETTER
  61. *Option: LETTER
  62. {
  63. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  64. *PrintableArea: PAIR(5760, 2376)
  65. *PrintableOrigin: PAIR(0, 0)
  66. *Command: CmdSelect
  67. {
  68. *Order: DOC_SETUP.8
  69. *Cmd: "<1B>C<000B>"
  70. }
  71. }
  72. *Option: LEGAL
  73. {
  74. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  75. *PrintableArea: PAIR(5760, 3024)
  76. *PrintableOrigin: PAIR(0, 0)
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.8
  80. *Cmd: "<1B>C<000E>"
  81. }
  82. }
  83. *Option: A4
  84. {
  85. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  86. *PrintableArea: PAIR(5760, 2525)
  87. *PrintableOrigin: PAIR(0, 0)
  88. *switch: Resolution
  89. {
  90. *case: Option1
  91. {
  92. *PrintableArea: PAIR(5760, 2523)
  93. }
  94. }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.8
  98. *Cmd: "<1B>2<1B>CF"
  99. }
  100. }
  101. *Option: B5
  102. {
  103. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  104. *PrintableArea: PAIR(5162, 2186)
  105. *PrintableOrigin: PAIR(0, 0)
  106. *switch: Resolution
  107. {
  108. *case: Option1
  109. {
  110. *PrintableArea: PAIR(5160, 2184)
  111. }
  112. }
  113. *Command: CmdSelect
  114. {
  115. *Order: DOC_SETUP.8
  116. *Cmd: "<1B>2<1B>C%<"
  117. }
  118. }
  119. *Option: Option5
  120. {
  121. *rcNameID: 259
  122. *PageDimensions: PAIR(6120, 2592)
  123. *PrintableArea: PAIR(5760, 2592)
  124. *PrintableOrigin: PAIR(0, 0)
  125. *Command: CmdSelect
  126. {
  127. *Order: DOC_SETUP.8
  128. *Cmd: "<1B>C<000C>"
  129. }
  130. }
  131. *Option: Option6
  132. {
  133. *rcNameID: 260
  134. *PageDimensions: PAIR(6120, 2592)
  135. *PrintableArea: PAIR(5760, 2592)
  136. *PrintableOrigin: PAIR(0, 0)
  137. *Command: CmdSelect
  138. {
  139. *Order: DOC_SETUP.8
  140. *Cmd: "<1B>C<000D>"
  141. }
  142. }
  143. *Option: Option7
  144. {
  145. *rcNameID: 261
  146. *PageDimensions: PAIR(6235, 935)
  147. *PrintableArea: PAIR(5760, 935)
  148. *PrintableOrigin: PAIR(0, 0)
  149. *switch: Resolution
  150. {
  151. *case: Option1
  152. {
  153. *PrintableArea: PAIR(5760, 933)
  154. }
  155. }
  156. *Command: CmdSelect
  157. {
  158. *Order: DOC_SETUP.8
  159. *Cmd: "<1B>2<1B>C<1A>"
  160. }
  161. }
  162. *Option: CUSTOMSIZE
  163. {
  164. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  165. *MinSize: PAIR(720, 216)
  166. *MaxSize: PAIR(6840, 32767)
  167. *MaxPrintableWidth: 5760
  168. *MinLeftMargin: 0
  169. *CenterPrintable?: FALSE
  170. }
  171. }
  172. *Feature: Halftone
  173. {
  174. *rcNameID: =HALFTONING_DISPLAY
  175. *DefaultOption: HT_PATSIZE_AUTO
  176. *Option: HT_PATSIZE_AUTO
  177. {
  178. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  179. }
  180. *Ifdef: WINNT_50
  181. *Option: HT_PATSIZE_SUPERCELL_M
  182. {
  183. *rcNameID: =HT_SUPERCELL_DISPLAY
  184. }
  185. *Endif:
  186. *Option: HT_PATSIZE_6x6_M
  187. {
  188. *rcNameID: =HT_DITHER6X6_DISPLAY
  189. }
  190. *Option: HT_PATSIZE_8x8_M
  191. {
  192. *rcNameID: =HT_DITHER8X8_DISPLAY
  193. }
  194. }
  195. *Command: CmdStartPage
  196. {
  197. *Order: PAGE_SETUP.1
  198. *Cmd: "<0D>"
  199. }
  200. *RotateCoordinate?: FALSE
  201. *RotateRaster?: FALSE
  202. *RotateFont?: FALSE
  203. *switch: Orientation
  204. {
  205. *case: PORTRAIT
  206. {
  207. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_RA_ABLE)
  208. }
  209. *case: LANDSCAPE_CC270
  210. {
  211. *TextCaps: LIST(TC_RA_ABLE)
  212. }
  213. }
  214. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  215. *YMoveAttributes: LIST(SEND_CR_FIRST)
  216. *MaxLineSpacing: 255
  217. *YMoveThreshold: *
  218. *YMoveUnit: 216
  219. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat(DestYRel )} }
  220. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{LinefeedSpacing } }
  221. *Command: CmdCR { *Cmd : "<0D>" }
  222. *Command: CmdLF { *Cmd : "<0A>" }
  223. *Command: CmdFF { *Cmd : "<0C>" }
  224. *Command: CmdBackSpace { *Cmd : "<08>" }
  225. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  226. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  227. *EjectPageWithFF?: TRUE
  228. *OutputDataFormat: V_BYTE
  229. *OptimizeLeftBound?: FALSE
  230. *CursorXAfterSendBlockData: AT_GRXDATA_END
  231. *CursorYAfterSendBlockData: NO_MOVE
  232. *DefaultFont: 123
  233. *DefaultCTT: -1
  234. *switch: Orientation
  235. {
  236. *case: PORTRAIT
  237. {
  238. *DeviceFonts: LIST(123,124,125,126)
  239. }
  240. *case: LANDSCAPE_CC270
  241. {
  242. *DeviceFonts: LIST()
  243. }
  244. }
  245. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  246. *Command: CmdBoldOff { *Cmd : "<1B>H" }