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.

319 lines
7.2 KiB

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