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.

292 lines
6.7 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR750/150"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "NC70JRES.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *PrintRateUnit: LPM
  9. *PrintRate: 180
  10. *GPDFileName: "NC70015J.GPD"
  11. *Include: "STDNAMES.GPD"
  12. *GPDFileVersion: "1.000"
  13. *HelpFile: "nc75jres.hlp"
  14. *% *Macros: HelpIDs
  15. *% {
  16. *% KANJI CODE */
  17. *% POP_75_KANJICODE :7070
  18. *% }
  19. *%======== Orientation ========
  20. *Feature: Orientation
  21. {
  22. *rcNameID: =ORIENTATION_DISPLAY
  23. *DefaultOption: PORTRAIT
  24. *Option: PORTRAIT
  25. {
  26. *rcNameID: =PORTRAIT_DISPLAY
  27. }
  28. *Option: LANDSCAPE_CC270
  29. {
  30. *rcNameID: =LANDSCAPE_DISPLAY
  31. }
  32. }
  33. *%======== InputBin ========
  34. *Feature: InputBin
  35. {
  36. *rcNameID: =PAPER_SOURCE_DISPLAY
  37. *% TRACTOR FEEDER NO OUTPUT COMMAND
  38. *DefaultOption: Option1
  39. *Option: Option1
  40. {
  41. *rcNameID: 265
  42. }
  43. }
  44. *%======== Resolution ========
  45. *Feature: Resolution
  46. {
  47. *rcNameID: =RESOLUTION_DISPLAY
  48. *DefaultOption: Option1
  49. *Option: Option1
  50. {
  51. *Name: "160 x 160 dots per inch"
  52. *DPI: PAIR(160, 160)
  53. *TextDPI: PAIR(160, 160)
  54. *PinsPerLogPass: 24
  55. *PinsPerPhysPass: 24
  56. *MinStripBlankPixels: 120
  57. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  58. *SpotDiameter: 120
  59. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  60. }
  61. }
  62. *%======== PaperSize ========
  63. *Feature: PaperSize
  64. {
  65. *rcNameID: =PAPER_SIZE_DISPLAY
  66. *DefaultOption: 15X11
  67. *Option: 10X11
  68. {
  69. *rcNameID: =10X11_DISPLAY
  70. *PrintableArea: PAIR(4320, 5046)
  71. *PrintableOrigin: PAIR(240, 117)
  72. *Command: CmdSelect
  73. {
  74. *Order: DOC_SETUP.3
  75. *Cmd: "<1C>05v" %4d[0,2560]{(PhysPaperLength / 4) }
  76. }
  77. }
  78. *Option: 15X11
  79. {
  80. *rcNameID: =15X11_DISPLAY
  81. *PrintableArea: PAIR(6528, 5046)
  82. *PrintableOrigin: PAIR(336, 117)
  83. *Command: CmdSelect
  84. {
  85. *Order: DOC_SETUP.3
  86. *Cmd: %v{(PhysPaperLength / 80) }
  87. }
  88. }
  89. *Option: CUSTOMSIZE
  90. {
  91. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  92. *MinSize: PAIR(960, 480)
  93. *MaxSize: PAIR(7920, 10224)
  94. *MaxPrintableWidth: 6528
  95. *MinLeftMargin: 0
  96. *CenterPrintable?: FALSE
  97. *switch: InputBin
  98. {
  99. *case: Option1
  100. {
  101. *CustCursorOriginX: %d{0}
  102. *CustCursorOriginY: %d{0}
  103. *CustPrintableOriginX: %d{0}
  104. *CustPrintableOriginY: %d{0}
  105. *CustPrintableSizeX: %d{min(6528, PhysPaperWidth)}
  106. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  107. }
  108. }
  109. *Command: CmdSelect
  110. {
  111. *Order: DOC_SETUP.3
  112. *Cmd: "<1C>05v" %4d[0,2560]{(PhysPaperLength / 4) }
  113. }
  114. }
  115. }
  116. *%======== TextHalftoneThreshold ========
  117. *Feature: TextHalftoneThreshold
  118. {
  119. *rcNameID: =TEXTHALFTONE_DISPLAY
  120. *DefaultOption: Option1
  121. *HelpIndex: 7580
  122. *Option: NONE
  123. {
  124. *rcNameID: =NONE_DISPLAY
  125. }
  126. *Option: Option1
  127. {
  128. *Name: "160"
  129. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  130. }
  131. }
  132. *%======== Halftone ========
  133. *Feature: Halftone
  134. {
  135. *rcNameID: =HALFTONING_DISPLAY
  136. *DefaultOption: HT_PATSIZE_AUTO
  137. *Option: HT_PATSIZE_AUTO
  138. {
  139. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  140. }
  141. *Option: HT_PATSIZE_SUPERCELL_M
  142. {
  143. *rcNameID: =HT_SUPERCELL_DISPLAY
  144. }
  145. *Option: HT_PATSIZE_6x6_M
  146. {
  147. *rcNameID: =HT_DITHER6X6_DISPLAY
  148. }
  149. *Option: HT_PATSIZE_8x8_M
  150. {
  151. *rcNameID: =HT_DITHER8X8_DISPLAY
  152. }
  153. }
  154. *%======== JIS ON/OFF ========
  155. *Feature: JISONOFF
  156. {
  157. *rcNameID: 284
  158. *DefaultOption: JIS90
  159. *FeatureType: PRINTER_PROPERTY
  160. *HelpIndex: 7570
  161. *Option: JIS90
  162. {
  163. *rcNameID: 285
  164. *Command: CmdSelect
  165. {
  166. *Order: JOB_SETUP.2
  167. *Cmd: "<1C>05F2-02"
  168. }
  169. }
  170. *Option: JIS78
  171. {
  172. *rcNameID: 286
  173. *Command: CmdSelect
  174. {
  175. *Order: JOB_SETUP.2
  176. *Cmd: "<1C>05F2-00"
  177. }
  178. }
  179. }
  180. *%======== StartJob ========
  181. *Command: CmdStartJob
  182. {
  183. *Order: JOB_SETUP.1
  184. *Cmd : "<180F><1B>$<1B>M<1B>2<1B>/136<1C>A<1B>f<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>h0"
  185. }
  186. *%======== StartDoc ========
  187. *Command: CmdStartDoc
  188. {
  189. *Order: DOC_SETUP.1
  190. *Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A<1B>O0<1C>c,,0."
  191. }
  192. *%======== StartPage ========
  193. *Command: CmdStartPage
  194. {
  195. *Order: PAGE_SETUP.1
  196. *Cmd: "<0D>"
  197. }
  198. *%======== CmdEndJob ========
  199. *Command: CmdEndJob
  200. {
  201. *Order: JOB_FINISH.1
  202. *Cmd: "<1B>c8"
  203. }
  204. *%======== capabilities ========
  205. *RotateCoordinate?: FALSE
  206. *RotateRaster?: FALSE
  207. *RotateFont?: FALSE
  208. *switch: Orientation
  209. {
  210. *case: PORTRAIT
  211. {
  212. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  213. }
  214. *case: LANDSCAPE_CC270
  215. {
  216. *TextCaps: LIST(TC_RA_ABLE)
  217. }
  218. }
  219. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
  220. *%======== Cursor Control ========
  221. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  222. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  223. *MaxLineSpacing: 396
  224. *XMoveThreshold: 0
  225. *XMoveUnit: 160
  226. *AbsXMovesRightOnly?: TRUE
  227. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,2175]{max_repeat((DestX / 3) )} }
  228. *LineSpacingMoveUnit: 120
  229. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  230. *Command: CmdCR { *Cmd : "<0D>" }
  231. *Command: CmdLF { *Cmd : "<0A>" }
  232. *Command: CmdFF { *Cmd : "<0D0C>" }
  233. *Command: CmdBackSpace { *Cmd : "<08>" }
  234. *EjectPageWithFF?: TRUE
  235. *%======== Raster Data ========
  236. *OutputDataFormat: V_BYTE
  237. *OptimizeLeftBound?: FALSE
  238. *CursorXAfterSendBlockData: AT_GRXDATA_END
  239. *CursorYAfterSendBlockData: NO_MOVE
  240. *MirrorRasterByte?: TRUE
  241. *%======== Device Font ========
  242. *DefaultFont: 2
  243. *DefaultCTT: 1
  244. *switch: Orientation
  245. {
  246. *case: PORTRAIT
  247. {
  248. *DeviceFonts: LIST(2,4,5,13,21,22,23,24,25,26,27,28,29,30,31,32,
  249. + 33,34,35,36,37,38,39,40,41)
  250. }
  251. *case: LANDSCAPE_CC270
  252. {
  253. *DeviceFonts: LIST()
  254. }
  255. }
  256. *FontCartridge: FC1
  257. {
  258. *rcCartridgeNameID: 275
  259. *PortraitFonts: LIST(10,19)
  260. *LandscapeFonts: LIST()
  261. }
  262. *FontCartridge: FC2
  263. {
  264. *rcCartridgeNameID: 276
  265. *PortraitFonts: LIST(11,20)
  266. *LandscapeFonts: LIST()
  267. }
  268. *%======== Font Simulation ========
  269. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  270. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  271. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  272. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  273. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }