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.

570 lines
14 KiB

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