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.

177 lines
4.1 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "TI850.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "TI 850/855"
  10. *MasterUnits: PAIR(120, 216)
  11. *ResourceDLL: "ti850res.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. }
  35. *Feature: Resolution
  36. {
  37. *rcNameID: =RESOLUTION_DISPLAY
  38. *DefaultOption: Option1
  39. *Option: Option1
  40. {
  41. *Name: "120 x 72 " =DOTS_PER_INCH
  42. *DPI: PAIR(120, 72)
  43. *TextDPI: PAIR(120, 72)
  44. *PinsPerLogPass: 8
  45. *PinsPerPhysPass: 8
  46. *MinStripBlankPixels: 4
  47. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  48. *SpotDiameter: 100
  49. *Command: CmdSendBlockData { *Cmd : "<1B>L" %l{NumOfDataBytes} }
  50. }
  51. *Option: Option2
  52. {
  53. *Name: "60 x 72 " =DOTS_PER_INCH
  54. *DPI: PAIR(60, 72)
  55. *TextDPI: PAIR(60, 72)
  56. *PinsPerLogPass: 8
  57. *PinsPerPhysPass: 8
  58. *MinStripBlankPixels: 4
  59. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,TRAILING)
  60. *SpotDiameter: 100
  61. *Command: CmdSendBlockData { *Cmd : "<1B>K" %l{NumOfDataBytes} }
  62. }
  63. }
  64. *Feature: PaperSize
  65. {
  66. *rcNameID: =PAPER_SIZE_DISPLAY
  67. *DefaultOption: LETTER
  68. *Option: LETTER
  69. {
  70. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  71. *PrintableArea: PAIR(1020, 2376)
  72. *PrintableOrigin: PAIR(0, 0)
  73. }
  74. *Option: LEGAL
  75. {
  76. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  77. *PrintableArea: PAIR(1020, 3024)
  78. *PrintableOrigin: PAIR(0, 0)
  79. }
  80. *Option: A4
  81. {
  82. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  83. *PrintableArea: PAIR(992, 2525)
  84. *PrintableOrigin: PAIR(0, 0)
  85. *switch: Resolution
  86. {
  87. *case: Option1
  88. {
  89. *PrintableArea: PAIR(992, 2523)
  90. }
  91. *case: Option2
  92. {
  93. *PrintableArea: PAIR(992, 2523)
  94. }
  95. }
  96. }
  97. }
  98. *Feature: Halftone
  99. {
  100. *rcNameID: =HALFTONING_DISPLAY
  101. *DefaultOption: HT_PATSIZE_AUTO
  102. *Option: HT_PATSIZE_AUTO
  103. {
  104. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  105. }
  106. *Ifdef: WINNT_50
  107. *Option: HT_PATSIZE_SUPERCELL_M
  108. {
  109. *rcNameID: =HT_SUPERCELL_DISPLAY
  110. }
  111. *Endif:
  112. *Option: HT_PATSIZE_6x6_M
  113. {
  114. *rcNameID: =HT_DITHER6X6_DISPLAY
  115. }
  116. *Option: HT_PATSIZE_8x8_M
  117. {
  118. *rcNameID: =HT_DITHER8X8_DISPLAY
  119. }
  120. }
  121. *Command: CmdStartDoc
  122. {
  123. *Order: DOC_SETUP.1
  124. *Cmd: "<1B>@<14121B>H<1B>T<1B>Q"
  125. }
  126. *Command: CmdStartPage
  127. {
  128. *Order: PAGE_SETUP.1
  129. *Cmd: "<0D>"
  130. }
  131. *Command: CmdEndPage
  132. {
  133. *Order: PAGE_FINISH.1
  134. *Cmd: "<0D>"
  135. }
  136. *RotateCoordinate?: FALSE
  137. *RotateRaster?: FALSE
  138. *RotateFont?: FALSE
  139. *switch: Orientation
  140. {
  141. *case: PORTRAIT
  142. {
  143. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_RA_ABLE)
  144. }
  145. *case: LANDSCAPE_CC270
  146. {
  147. *TextCaps: LIST(TC_RA_ABLE)
  148. }
  149. }
  150. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  151. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  152. *MaxLineSpacing: 254
  153. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[1,254]{LinefeedSpacing } }
  154. *Command: CmdCR { *Cmd : "<0D>" }
  155. *Command: CmdLF { *Cmd : "<0A>" }
  156. *Command: CmdFF { *Cmd : "<0C>" }
  157. *Command: CmdBackSpace { *Cmd : "<08>" }
  158. *EjectPageWithFF?: FALSE
  159. *OutputDataFormat: V_BYTE
  160. *OptimizeLeftBound?: FALSE
  161. *CursorXAfterSendBlockData: AT_GRXDATA_END
  162. *CursorYAfterSendBlockData: NO_MOVE
  163. *DefaultFont: 1
  164. *DefaultCTT: 0
  165. *switch: Orientation
  166. {
  167. *case: PORTRAIT
  168. {
  169. *DeviceFonts: LIST(1,2)
  170. }
  171. *case: LANDSCAPE_CC270
  172. {
  173. *DeviceFonts: LIST()
  174. }
  175. }
  176. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  177. *Command: CmdBoldOff { *Cmd : "<1B>H" }