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.

258 lines
6.6 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "KXXP11KK.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 949
  10. *ModelName: "�ڸ��� ���Ͻ� XP-11 (KS)"
  11. *MasterUnits: PAIR(360, 360)
  12. *ResourceDLL: "kskres.dll"
  13. *PrinterType: SERIAL
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: UPPER
  31. *Option: MANUAL
  32. {
  33. *rcNameID: =MANUAL_FEED_DISPLAY
  34. *% Warning: this input bin has PSRC_MAN_PROMPT set in GPC, which is ignored by GPD.
  35. }
  36. *Option: UPPER
  37. {
  38. *rcNameID: =UPPER_TRAY_DISPLAY
  39. }
  40. }
  41. *Feature: Resolution
  42. {
  43. *rcNameID: =RESOLUTION_DISPLAY
  44. *DefaultOption: Option1
  45. *Option: Option1
  46. {
  47. *Name: "180 x 180 dots per inch"
  48. *DPI: PAIR(180, 180)
  49. *TextDPI: PAIR(180, 180)
  50. *PinsPerLogPass: 24
  51. *PinsPerPhysPass: 24
  52. *MinStripBlankPixels: 180
  53. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  54. *SpotDiameter: 120
  55. *Command: CmdSendBlockData { *Cmd : "<1B>n" %l{(NumOfDataBytes / 3) } }
  56. }
  57. }
  58. *Feature: PaperSize
  59. {
  60. *rcNameID: =PAPER_SIZE_DISPLAY
  61. *DefaultOption: LETTER
  62. *Option: LETTER
  63. {
  64. *rcNameID: =LETTER_DISPLAY
  65. *PrintableArea: PAIR(2880, 3615)
  66. *PrintableOrigin: PAIR(90, 120)
  67. *switch: Resolution
  68. {
  69. *case: Option1
  70. {
  71. *% Warning: the following printable length is adjusted (3615->3614) so it is divisible by the resolution Y scale.
  72. *PrintableArea: PAIR(2880, 3614)
  73. }
  74. }
  75. *Command: CmdSelect
  76. {
  77. *Order: DOC_SETUP.4
  78. *Cmd: "<1B>2<1B>CB"
  79. }
  80. }
  81. *Option: LEGAL
  82. {
  83. *rcNameID: =LEGAL_DISPLAY
  84. *PrintableArea: PAIR(2880, 4695)
  85. *PrintableOrigin: PAIR(90, 120)
  86. *switch: Resolution
  87. {
  88. *case: Option1
  89. {
  90. *% Warning: the following printable length is adjusted (4695->4694) so it is divisible by the resolution Y scale.
  91. *PrintableArea: PAIR(2880, 4694)
  92. }
  93. }
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.4
  97. *Cmd: "<1B>2<1B>CT"
  98. }
  99. }
  100. *Option: A4
  101. {
  102. *rcNameID: =A4_DISPLAY
  103. *PrintableArea: PAIR(2837, 3863)
  104. *PrintableOrigin: PAIR(90, 120)
  105. *switch: Resolution
  106. {
  107. *case: Option1
  108. {
  109. *% Warning: the following printable width is adjusted (2837->2836) so it is divisible by the resolution X scale.
  110. *% Warning: the following printable length is adjusted (3863->3862) so it is divisible by the resolution Y scale.
  111. *PrintableArea: PAIR(2836, 3862)
  112. }
  113. }
  114. *Command: CmdSelect
  115. {
  116. *Order: DOC_SETUP.4
  117. *Cmd: "<1B>2<1B>CF"
  118. }
  119. }
  120. *Option: A5
  121. {
  122. *rcNameID: =A5_DISPLAY
  123. *PrintableArea: PAIR(1959, 2632)
  124. *PrintableOrigin: PAIR(90, 120)
  125. *switch: Resolution
  126. {
  127. *case: Option1
  128. {
  129. *% Warning: the following printable width is adjusted (1959->1958) so it is divisible by the resolution X scale.
  130. *PrintableArea: PAIR(1958, 2632)
  131. }
  132. }
  133. *Command: CmdSelect
  134. {
  135. *Order: DOC_SETUP.4
  136. *Cmd: "<1B>2<1B>C2"
  137. }
  138. }
  139. *Option: B5
  140. {
  141. *rcNameID: =B5_DISPLAY
  142. *PrintableArea: PAIR(2441, 3298)
  143. *PrintableOrigin: PAIR(90, 120)
  144. *switch: Resolution
  145. {
  146. *case: Option1
  147. {
  148. *% Warning: the following printable width is adjusted (2441->2440) so it is divisible by the resolution X scale.
  149. *PrintableArea: PAIR(2440, 3298)
  150. }
  151. }
  152. *Command: CmdSelect
  153. {
  154. *Order: DOC_SETUP.4
  155. *Cmd: "<1B>2<1B>C="
  156. }
  157. }
  158. *Option: CUSTOMSIZE
  159. {
  160. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  161. *MinSize: PAIR(360, 360)
  162. *MaxSize: PAIR(4140, 32767)
  163. *MaxPrintableWidth: 2880
  164. *MinLeftMargin: 90
  165. *CenterPrintable?: FALSE
  166. *TopMargin: 120
  167. *BottomMargin: 225
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.4
  171. *Cmd: "<1B>2<1B>C" %c[0,127]{(PhysPaperLength / 60) }
  172. }
  173. }
  174. }
  175. *Feature: PrintQuality
  176. {
  177. *rcNameID: =TEXT_QUALITY_DISPLAY
  178. *DefaultOption: LETTER_QUALITY
  179. *Option: LETTER_QUALITY
  180. {
  181. *rcNameID: =LETTER_QUALITY_DISPLAY
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.2
  185. *Cmd: "<1B>x<01>"
  186. }
  187. }
  188. *Option: DRAFT_QUALITY
  189. {
  190. *rcNameID: =DRAFT_QUALITY_DISPLAY
  191. *Command: CmdSelect
  192. {
  193. *Order: DOC_SETUP.2
  194. *Cmd: "<1B>x<00>"
  195. }
  196. }
  197. }
  198. *Feature: Halftone
  199. {
  200. *rcNameID: =HALFTONING_DISPLAY
  201. *DefaultOption: HT_PATSIZE_AUTO
  202. *Option: HT_PATSIZE_AUTO
  203. {
  204. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  205. }
  206. *Option: HT_PATSIZE_SUPERCELL_M
  207. {
  208. *rcNameID: =HT_SUPERCELL_DISPLAY
  209. }
  210. *Option: HT_PATSIZE_6x6_M
  211. {
  212. *rcNameID: =HT_DITHER6X6_DISPLAY
  213. }
  214. *Option: HT_PATSIZE_8x8_M
  215. {
  216. *rcNameID: =HT_DITHER8X8_DISPLAY
  217. }
  218. }
  219. *Command: CmdStartDoc
  220. {
  221. *Order: DOC_SETUP.1
  222. *Cmd: "<18>"
  223. }
  224. *Command: CmdEndJob
  225. {
  226. *Order: JOB_FINISH.1
  227. *Cmd: "<18>"
  228. }
  229. *RotateCoordinate?: FALSE
  230. *RotateRaster?: FALSE
  231. *RotateFont?: FALSE
  232. *switch: Orientation
  233. {
  234. *case: PORTRAIT
  235. {
  236. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  237. }
  238. *case: LANDSCAPE_CC270
  239. {
  240. *TextCaps: LIST(TC_RA_ABLE)
  241. }
  242. }
  243. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  244. *YMoveAttributes: LIST(SEND_CR_FIRST)
  245. *YMoveThreshold: *
  246. *YMoveUnit: 180
  247. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  248. *Command: CmdCR { *Cmd : "<0D>" }
  249. *Command: CmdLF { *Cmd : "<0A>" }
  250. *Command: CmdFF { *Cmd : "<0C>" }
  251. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  252. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  253. *EjectPageWithFF?: TRUE
  254. *OutputDataFormat: V_BYTE
  255. *OptimizeLeftBound?: FALSE
  256. *CursorXAfterSendBlockData: AT_GRXDATA_END
  257. *CursorYAfterSendBlockData: NO_MOVE
  258. *DefaultCTT: 0