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.

312 lines
8.4 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "SKLT20.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Seikosha LT-20"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "sek24res.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: AUTO
  30. *Option: AUTO
  31. {
  32. *rcNameID: =AUTO_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: "360 x 360 " =DOTS_PER_INCH
  46. *DPI: PAIR(360, 360)
  47. *TextDPI: PAIR(360, 360)
  48. *PinsPerLogPass: 48
  49. *PinsPerPhysPass: 24
  50. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  51. *SpotDiameter: 283
  52. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  53. }
  54. *Option: Option2
  55. {
  56. *Name: "360 x 180 " =DOTS_PER_INCH
  57. *DPI: PAIR(360, 180)
  58. *TextDPI: PAIR(360, 180)
  59. *PinsPerLogPass: 24
  60. *PinsPerPhysPass: 24
  61. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  62. *SpotDiameter: 170
  63. *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  64. }
  65. *Option: Option3
  66. {
  67. *Name: "180 x 180 " =DOTS_PER_INCH
  68. *DPI: PAIR(180, 180)
  69. *TextDPI: PAIR(180, 180)
  70. *PinsPerLogPass: 24
  71. *PinsPerPhysPass: 24
  72. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  73. *SpotDiameter: 120
  74. *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  75. }
  76. *Option: Option4
  77. {
  78. *Name: "120 x 180 " =DOTS_PER_INCH
  79. *DPI: PAIR(120, 180)
  80. *TextDPI: PAIR(120, 180)
  81. *PinsPerLogPass: 24
  82. *PinsPerPhysPass: 24
  83. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  84. *SpotDiameter: 100
  85. *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  86. }
  87. }
  88. *Feature: PaperSize
  89. {
  90. *rcNameID: =PAPER_SIZE_DISPLAY
  91. *DefaultOption: A4
  92. *Option: A4
  93. {
  94. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.4
  98. *Cmd: "<1B>CF"
  99. }
  100. *switch: InputBin
  101. {
  102. *case: AUTO
  103. {
  104. *PrintableArea: PAIR(2707, 3908)
  105. *PrintableOrigin: PAIR(180, 120)
  106. *switch: Resolution
  107. {
  108. *case: Option3
  109. {
  110. *PrintableArea: PAIR(2706, 3908)
  111. }
  112. *case: Option4
  113. {
  114. *PrintableArea: PAIR(2706, 3908)
  115. }
  116. }
  117. }
  118. *case: MANUAL
  119. {
  120. *PrintableArea: PAIR(2707, 3748)
  121. *PrintableOrigin: PAIR(180, 180)
  122. *switch: Resolution
  123. {
  124. *case: Option3
  125. {
  126. *PrintableArea: PAIR(2706, 3748)
  127. }
  128. *case: Option4
  129. {
  130. *PrintableArea: PAIR(2706, 3748)
  131. }
  132. }
  133. }
  134. }
  135. }
  136. *Option: B5
  137. {
  138. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.4
  142. *Cmd: "<1B>C="
  143. }
  144. *switch: InputBin
  145. {
  146. *case: AUTO
  147. {
  148. *PrintableArea: PAIR(2311, 3343)
  149. *PrintableOrigin: PAIR(180, 120)
  150. *switch: Resolution
  151. {
  152. *case: Option2
  153. {
  154. *PrintableArea: PAIR(2311, 3342)
  155. }
  156. *case: Option3
  157. {
  158. *PrintableArea: PAIR(2310, 3342)
  159. }
  160. *case: Option4
  161. {
  162. *PrintableArea: PAIR(2310, 3342)
  163. }
  164. }
  165. }
  166. *case: MANUAL
  167. {
  168. *PrintableArea: PAIR(2311, 3183)
  169. *PrintableOrigin: PAIR(180, 180)
  170. *switch: Resolution
  171. {
  172. *case: Option2
  173. {
  174. *PrintableArea: PAIR(2311, 3182)
  175. }
  176. *case: Option3
  177. {
  178. *PrintableArea: PAIR(2310, 3182)
  179. }
  180. *case: Option4
  181. {
  182. *PrintableArea: PAIR(2310, 3182)
  183. }
  184. }
  185. }
  186. }
  187. }
  188. *Option: CUSTOMSIZE
  189. {
  190. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  191. *MinSize: PAIR(720, 720)
  192. *MaxSize: PAIR(3600, 7920)
  193. *MaxPrintableWidth: 3240
  194. *MinLeftMargin: 180
  195. *CenterPrintable?: FALSE
  196. *switch: InputBin
  197. {
  198. *case: AUTO
  199. {
  200. *TopMargin: 120
  201. *BottomMargin: 180
  202. }
  203. *case: MANUAL
  204. {
  205. *TopMargin: 180
  206. *BottomMargin: 280
  207. }
  208. }
  209. }
  210. }
  211. *Feature: Halftone
  212. {
  213. *rcNameID: =HALFTONING_DISPLAY
  214. *DefaultOption: HT_PATSIZE_AUTO
  215. *Option: HT_PATSIZE_AUTO
  216. {
  217. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  218. }
  219. *Ifdef: WINNT_50
  220. *Option: HT_PATSIZE_SUPERCELL_M
  221. {
  222. *rcNameID: =HT_SUPERCELL_DISPLAY
  223. }
  224. *Endif:
  225. *Option: HT_PATSIZE_6x6_M
  226. {
  227. *rcNameID: =HT_DITHER6X6_DISPLAY
  228. }
  229. *Option: HT_PATSIZE_8x8_M
  230. {
  231. *rcNameID: =HT_DITHER8X8_DISPLAY
  232. }
  233. }
  234. *Command: CmdStartDoc
  235. {
  236. *Order: DOC_SETUP.1
  237. *Cmd: "<1B>j<1B>6<1B>[\<04000000B4>"
  238. }
  239. *Command: CmdStartPage
  240. {
  241. *Order: PAGE_SETUP.1
  242. *Cmd: "<0D>"
  243. }
  244. *Command: CmdEndJob
  245. {
  246. *Order: JOB_FINISH.1
  247. *Cmd: "<0D>"
  248. }
  249. *RotateCoordinate?: FALSE
  250. *RotateRaster?: FALSE
  251. *RotateFont?: FALSE
  252. *switch: Orientation
  253. {
  254. *case: PORTRAIT
  255. {
  256. *TextCaps: LIST(TC_OP_CHARACTER,TC_EA_DOUBLE,TC_UA_ABLE,TC_RA_ABLE)
  257. }
  258. *case: LANDSCAPE_CC270
  259. {
  260. *TextCaps: LIST(TC_RA_ABLE)
  261. }
  262. }
  263. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  264. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  265. *MaxLineSpacing: 255
  266. *XMoveThreshold: *
  267. *YMoveThreshold: *
  268. *XMoveUnit: 120
  269. *YMoveUnit: 180
  270. *Command: CmdXMoveRelRight { *Cmd : "<1B>d" %l{(DestXRel / 3) } }
  271. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  272. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  273. *Command: CmdCR { *Cmd : "<0D>" }
  274. *Command: CmdLF { *Cmd : "<0A>" }
  275. *Command: CmdFF { *Cmd : "<0C>" }
  276. *Command: CmdBackSpace { *Cmd : "<08>" }
  277. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  278. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  279. *EjectPageWithFF?: TRUE
  280. *OutputDataFormat: V_BYTE
  281. *OptimizeLeftBound?: FALSE
  282. *CursorXAfterSendBlockData: AT_GRXDATA_END
  283. *CursorYAfterSendBlockData: NO_MOVE
  284. *DefaultFont: 51
  285. *DefaultCTT: -2
  286. *switch: Orientation
  287. {
  288. *case: PORTRAIT
  289. {
  290. *DeviceFonts: LIST(5,7,9,11,13,15,17,19,21,23,25,27,29,31,40,41,
  291. + 42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,
  292. + 58,72,74)
  293. }
  294. *case: LANDSCAPE_CC270
  295. {
  296. *DeviceFonts: LIST()
  297. }
  298. }
  299. *FontCartridge: FC1
  300. {
  301. *rcCartridgeNameID: 259
  302. *PortraitFonts: LIST(5,6,8,9,10,12,13,14,16,17,18,20,21,22,24,25,
  303. + 26,28,29,30,32,33,34,35,36,37,38,39,40,41,42,43,
  304. + 44,45,46,78,79,80,81,82)
  305. *LandscapeFonts: LIST()
  306. }
  307. *Command: CmdBoldOn { *Cmd : "<1B>G" }
  308. *Command: CmdBoldOff { *Cmd : "<1B>H" }
  309. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  310. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  311. *Command: CmdSelectSingleByteMode { *Cmd : "<1B>P<01>" }
  312. *Command: CmdSelectDoubleByteMode { *Cmd : "<1B>P<00>" }