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.

502 lines
12 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR101L"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc11jres.dll"
  6. *PrinterType: SERIAL
  7. *rcInstalledOptionNameID: 281
  8. *rcNotInstalledOptionNameID: 282
  9. *PrintRateUnit: CPS
  10. *PrintRate: 53
  11. *GPDFileName: "NC11LJ.GPD"
  12. *Include: "STDNAMES.GPD"
  13. *GPDFileVersion: "1.000"
  14. *HelpFile: "nc11jres.hlp"
  15. *% *Macros: HelpIDs
  16. *% {
  17. *% PAPER SETTING */
  18. *% POP_11_PAPSET :1150
  19. *% PRINT QUALITIES */
  20. *% POP_11_PQUALITIESNEW :1167
  21. *% }
  22. *%======== Orientation ========
  23. *Feature: Orientation
  24. {
  25. *rcNameID: =ORIENTATION_DISPLAY
  26. *DefaultOption: PORTRAIT
  27. *Option: PORTRAIT
  28. {
  29. *rcNameID: =PORTRAIT_DISPLAY
  30. }
  31. *Option: LANDSCAPE_CC270
  32. {
  33. *rcNameID: =LANDSCAPE_DISPLAY
  34. }
  35. }
  36. *%======== InputBin ========
  37. *Feature: InputBin
  38. {
  39. *rcNameID: =PAPER_SOURCE_DISPLAY
  40. *DefaultOption: SheetGuide
  41. *Option: SheetGuide
  42. {
  43. *rcNameID: 260
  44. *Constraints: PaperSize.10X11
  45. }
  46. *Option: TracterFeeder
  47. {
  48. *rcNameID: 264
  49. *Constraints: PaperSize.A4
  50. *Constraints: PaperSize.A5
  51. *Constraints: PaperSize.A5_ROTATED
  52. *Constraints: PaperSize.B4
  53. *Constraints: PaperSize.B5
  54. *Constraints: PaperSize.B5_JIS_ROTATED
  55. *Installable?: TRUE
  56. *rcInstallableFeatureNameID: 264
  57. }
  58. *Option: PinFeeder
  59. {
  60. *rcNameID: 265
  61. *Constraints: PaperSize.A4
  62. *Constraints: PaperSize.A5
  63. *Constraints: PaperSize.A5_ROTATED
  64. *Constraints: PaperSize.B4
  65. *Constraints: PaperSize.B5
  66. *Constraints: PaperSize.B5_JIS_ROTATED
  67. *Installable?: TRUE
  68. *rcInstallableFeatureNameID: 265
  69. }
  70. }
  71. *InvalidInstallableCombination: LIST(InputBin.PinFeeder, InputBin.TracterFeeder)
  72. *%======== Resolution ========
  73. *Feature: Resolution
  74. {
  75. *rcNameID: =RESOLUTION_DISPLAY
  76. *DefaultOption: Option1
  77. *Option: Option1
  78. {
  79. *Name: "160 x 160 dots per inch"
  80. *DPI: PAIR(160, 160)
  81. *TextDPI: PAIR(160, 160)
  82. *PinsPerLogPass: 24
  83. *PinsPerPhysPass: 24
  84. *MinStripBlankPixels: 120
  85. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  86. *SpotDiameter: 120
  87. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>%"<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  88. }
  89. }
  90. *%======== PaperSize ========
  91. *Feature: PaperSize
  92. {
  93. *rcNameID: =PAPER_SIZE_DISPLAY
  94. *DefaultOption: A4
  95. *Option: A4
  96. {
  97. *rcNameID: =A4_DISPLAY
  98. *PrintableArea: PAIR(3537, 4650)
  99. *PrintableOrigin: PAIR(216, 408)
  100. *switch: KyuusiIti
  101. {
  102. *case: Center
  103. {
  104. *Command: CmdSelect
  105. {
  106. *Order: DOC_SETUP.4
  107. *Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
  108. }
  109. }
  110. *case: Left
  111. {
  112. *Command: CmdSelect
  113. {
  114. *Order: DOC_SETUP.4
  115. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  116. }
  117. }
  118. }
  119. }
  120. *Option: A5
  121. {
  122. *rcNameID: =A5_DISPLAY
  123. *PrintableArea: PAIR(2364, 3009)
  124. *PrintableOrigin: PAIR(216, 408)
  125. *switch: KyuusiIti
  126. {
  127. *case: Center
  128. {
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.4
  132. *Cmd: "<1B>H<1B>L015" %v{(PhysPaperLength / 80) + 15}
  133. }
  134. }
  135. *case: Left
  136. {
  137. *Command: CmdSelect
  138. {
  139. *Order: DOC_SETUP.4
  140. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  141. }
  142. }
  143. }
  144. }
  145. *Option: A5_ROTATED
  146. {
  147. *rcNameID: =A5_ROTATED_DISPLAY
  148. *PrintableArea: PAIR(3537, 1836)
  149. *PrintableOrigin: PAIR(216, 408)
  150. *switch: KyuusiIti
  151. {
  152. *case: Center
  153. {
  154. *Command: CmdSelect
  155. {
  156. *Order: DOC_SETUP.4
  157. *Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
  158. }
  159. }
  160. *case: Left
  161. {
  162. *Command: CmdSelect
  163. {
  164. *Order: DOC_SETUP.4
  165. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  166. }
  167. }
  168. }
  169. }
  170. *Option: B4
  171. {
  172. *rcNameID: =B4_DISPLAY
  173. *PrintableArea: PAIR(3840, 5916)
  174. *PrintableOrigin: PAIR(507, 408)
  175. *Command: CmdSelect
  176. {
  177. *Order: DOC_SETUP.4
  178. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  179. }
  180. }
  181. *Option: B5
  182. {
  183. *rcNameID: =B5_DISPLAY
  184. *PrintableArea: PAIR(3009, 3897)
  185. *PrintableOrigin: PAIR(216, 408)
  186. *switch: KyuusiIti
  187. {
  188. *case: Center
  189. {
  190. *Command: CmdSelect
  191. {
  192. *Order: DOC_SETUP.4
  193. *Cmd: "<1B>H<1B>L008" %v{(PhysPaperLength / 80) + 15}
  194. }
  195. }
  196. *case: Left
  197. {
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.4
  201. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  202. }
  203. }
  204. }
  205. }
  206. *Option: B5_JIS_ROTATED
  207. {
  208. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  209. *PrintableArea: PAIR(3840, 2481)
  210. *PrintableOrigin: PAIR(507, 408)
  211. *Command: CmdSelect
  212. {
  213. *Order: DOC_SETUP.4
  214. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  215. }
  216. }
  217. *Option: 10X11
  218. {
  219. *rcNameID: =10X11_DISPLAY
  220. *PrintableArea: PAIR(3840, 4386)
  221. *PrintableOrigin: PAIR(480, 447)
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.4
  225. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  226. }
  227. }
  228. *Option: CUSTOMSIZE
  229. {
  230. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  231. *MinSize: PAIR(960, 960)
  232. *MaxSize: PAIR(4858, 10224)
  233. *MaxPrintableWidth: 3840
  234. *MinLeftMargin: 0
  235. *CenterPrintable?: FALSE
  236. *switch: InputBin
  237. {
  238. *case: SheetGuide
  239. {
  240. *CustCursorOriginX: %d{0}
  241. *CustCursorOriginY: %d{408}
  242. *CustPrintableOriginX: %d{0}
  243. *CustPrintableOriginY: %d{408}
  244. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  245. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  246. }
  247. *case: TracterFeeder
  248. {
  249. *CustCursorOriginX: %d{0}
  250. *CustCursorOriginY: %d{0}
  251. *CustPrintableOriginX: %d{0}
  252. *CustPrintableOriginY: %d{0}
  253. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  254. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  255. }
  256. *case: PinFeeder
  257. {
  258. *CustCursorOriginX: %d{0}
  259. *CustCursorOriginY: %d{0}
  260. *CustPrintableOriginX: %d{0}
  261. *CustPrintableOriginY: %d{0}
  262. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  263. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  264. }
  265. }
  266. *Command: CmdSelect
  267. {
  268. *Order: DOC_SETUP.4
  269. *Cmd: %v{(PhysPaperLength / 80) }
  270. }
  271. }
  272. }
  273. *%======== Paperfeed Pos ========
  274. *Feature: KyuusiIti
  275. {
  276. *rcNameID: 283
  277. *DefaultOption: Center
  278. *HelpIndex: 1150
  279. *Option: Center
  280. {
  281. *rcNameID: 258
  282. *Constraints: PaperSize.CUSTOMSIZE
  283. }
  284. *Option: Left
  285. {
  286. *rcNameID: 259
  287. }
  288. }
  289. *%======== PrintQuality ========
  290. *Feature: PrintQuality
  291. {
  292. *rcNameID: =TEXT_QUALITY_DISPLAY
  293. *DefaultOption: Option2
  294. *HelpIndex: 1167
  295. *Option: Option1
  296. {
  297. *rcNameID: 268
  298. *Command: CmdSelect
  299. {
  300. *Order: DOC_SETUP.2
  301. *Cmd: "<1B>d1<1B><3E>"
  302. }
  303. }
  304. *Option: Option2
  305. {
  306. *rcNameID: 269
  307. *Command: CmdSelect
  308. {
  309. *Order: DOC_SETUP.2
  310. *Cmd: "<1B>d1<1B>]"
  311. }
  312. }
  313. *Option: Option3
  314. {
  315. *rcNameID: 270
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.2
  319. *Cmd: "<1B>d0<1B><3E>"
  320. }
  321. }
  322. *Option: Option4
  323. {
  324. *rcNameID: 271
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.2
  328. *Cmd: "<1B>d0<1B>]"
  329. }
  330. }
  331. }
  332. *%======== TextHalftoneThreshold ========
  333. *Feature: TextHalftoneThreshold
  334. {
  335. *rcNameID: =TEXTHALFTONE_DISPLAY
  336. *DefaultOption: Option1
  337. *HelpIndex: 1180
  338. *Option: NONE
  339. {
  340. *rcNameID: =NONE_DISPLAY
  341. }
  342. *Option: Option1
  343. {
  344. *Name: "160"
  345. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  346. }
  347. }
  348. *%======== Halftone ========
  349. *Feature: Halftone
  350. {
  351. *rcNameID: =HALFTONING_DISPLAY
  352. *DefaultOption: HT_PATSIZE_AUTO
  353. *Option: HT_PATSIZE_AUTO
  354. {
  355. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  356. }
  357. *Option: HT_PATSIZE_SUPERCELL_M
  358. {
  359. *rcNameID: =HT_SUPERCELL_DISPLAY
  360. }
  361. *Option: HT_PATSIZE_6x6_M
  362. {
  363. *rcNameID: =HT_DITHER6X6_DISPLAY
  364. }
  365. *Option: HT_PATSIZE_8x8_M
  366. {
  367. *rcNameID: =HT_DITHER8X8_DISPLAY
  368. }
  369. }
  370. *%======== StartJob ========
  371. *Command: CmdStartJob
  372. {
  373. *Order: JOB_SETUP.1
  374. *Cmd: "<180F><1B>$<1B>s0<1B>l-<1B>M<1B>2"
  375. + "<1B>/080<1B>h0<1C>A<1B>f"
  376. }
  377. *%======== StartDoc ========
  378. *Command: CmdStartDoc
  379. {
  380. *Order: DOC_SETUP.1
  381. *Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A"
  382. }
  383. *%======== StartPage ========
  384. *switch: InputBin
  385. {
  386. *case: SheetGuide
  387. {
  388. *Command: CmdStartPage
  389. {
  390. *Order: PAGE_SETUP.1
  391. *Cmd: "<0D><1B>H<FF><0D>"
  392. }
  393. }
  394. *case: TracterFeeder
  395. {
  396. *Command: CmdStartPage
  397. {
  398. *Order: PAGE_SETUP.1
  399. *Cmd: "<0D>"
  400. }
  401. }
  402. *case: PinFeeder
  403. {
  404. *Command: CmdStartPage
  405. {
  406. *Order: PAGE_SETUP.1
  407. *Cmd: "<0D>"
  408. }
  409. }
  410. }
  411. *%======== EndPage ========
  412. *switch: InputBin
  413. {
  414. *case: SheetGuide
  415. {
  416. *EjectPageWithFF?: TRUE
  417. }
  418. *case: TracterFeeder
  419. {
  420. *EjectPageWithFF?: TRUE
  421. }
  422. *case: PinFeeder
  423. {
  424. *EjectPageWithFF?: TRUE
  425. }
  426. }
  427. *%======== capabilities ========
  428. *RotateCoordinate?: FALSE
  429. *RotateRaster?: FALSE
  430. *RotateFont?: FALSE
  431. *switch: Orientation
  432. {
  433. *case: PORTRAIT
  434. {
  435. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  436. }
  437. *case: LANDSCAPE_CC270
  438. {
  439. *TextCaps: LIST(TC_RA_ABLE)
  440. }
  441. }
  442. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
  443. *%======== Cursor Control ========
  444. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  445. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  446. *MaxLineSpacing: 396
  447. *XMoveThreshold: 0
  448. *XMoveUnit: 160
  449. *AbsXMovesRightOnly?: TRUE
  450. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,1280]{max_repeat((DestX / 3) )} }
  451. *LineSpacingMoveUnit: 120
  452. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  453. *Command: CmdCR { *Cmd : "<0D>" }
  454. *Command: CmdLF { *Cmd : "<0A>" }
  455. *Command: CmdFF { *Cmd : "<0D0C>" }
  456. *Command: CmdBackSpace { *Cmd : "<08>" }
  457. *%======== Raster Data ========
  458. *OutputDataFormat: V_BYTE
  459. *OptimizeLeftBound?: FALSE
  460. *CursorXAfterSendBlockData: AT_GRXDATA_END
  461. *CursorYAfterSendBlockData: NO_MOVE
  462. *MirrorRasterByte?: TRUE
  463. *%======== Device Font ========
  464. *DefaultFont: 4
  465. *DefaultCTT: 1
  466. *switch: Orientation
  467. {
  468. *case: PORTRAIT
  469. {
  470. *DeviceFonts: LIST(4,12,37,38,39,40,41,42,43)
  471. }
  472. *case: LANDSCAPE_CC270
  473. {
  474. *DeviceFonts: LIST()
  475. }
  476. }
  477. *%======== Font Simulation ========
  478. *Command: CmdBoldOn { *Cmd : "<1B>!" }
  479. *Command: CmdBoldOff { *Cmd : "<1B22>" }
  480. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  481. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }