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.

692 lines
18 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR101G"
  4. *MasterUnits: PAIR(480, 480)
  5. *ResourceDLL: "nc11jres.dll"
  6. *PrinterType: SERIAL
  7. *FontCartSlots: 1
  8. *rcInstalledOptionNameID: 281
  9. *rcNotInstalledOptionNameID: 282
  10. *PrintRateUnit: CPS
  11. *PrintRate: 83
  12. *GPDFileName: "NC11GJ.GPD"
  13. *Include: "STDNAMES.GPD"
  14. *GPDFileVersion: "1.000"
  15. *HelpFile: "nc11jres.hlp"
  16. *% *Macros: HelpIDs
  17. *% {
  18. *% PAPER SETTING */
  19. *% POP_11_PAPSET :1150
  20. *% PRINT QUALITIES */
  21. *% POP_11_PQUALITIESNEW :1167
  22. *% }
  23. *%======== Orientation ========
  24. *Feature: Orientation
  25. {
  26. *rcNameID: =ORIENTATION_DISPLAY
  27. *DefaultOption: PORTRAIT
  28. *Option: PORTRAIT
  29. {
  30. *rcNameID: =PORTRAIT_DISPLAY
  31. }
  32. *Option: LANDSCAPE_CC270
  33. {
  34. *rcNameID: =LANDSCAPE_DISPLAY
  35. }
  36. }
  37. *%======== InputBin ========
  38. *Feature: InputBin
  39. {
  40. *rcNameID: =PAPER_SOURCE_DISPLAY
  41. *DefaultOption: SheetGuide
  42. *Option: SheetGuide
  43. {
  44. *rcNameID: 260
  45. *Constraints: PaperSize.10X11
  46. }
  47. *Option: SheetFeeder
  48. {
  49. *rcNameID: 263
  50. *Constraints: PaperSize.10X11
  51. *Constraints: PaperSize.B4
  52. *Constraints: PaperSize.B5_JIS_ROTATED
  53. *Constraints: PaperSize.JAPANESE_POSTCARD
  54. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  55. *Installable?: TRUE
  56. *rcInstallableFeatureNameID: 263
  57. *NotInstalledConstraints: InputBin.PostGuide *% Not Selectable HAGAKIGuide without S/F
  58. }
  59. *Option: TracterFeeder
  60. {
  61. *rcNameID: 264
  62. *Constraints: PaperSize.A4
  63. *Constraints: PaperSize.A5
  64. *Constraints: PaperSize.A5_ROTATED
  65. *Constraints: PaperSize.B4
  66. *Constraints: PaperSize.B5
  67. *Constraints: PaperSize.B5_JIS_ROTATED
  68. *Constraints: PaperSize.JAPANESE_POSTCARD
  69. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  70. *Installable?: TRUE
  71. *rcInstallableFeatureNameID: 264
  72. }
  73. *Option: PushTracter
  74. {
  75. *rcNameID: 266
  76. *Constraints: PaperSize.A4
  77. *Constraints: PaperSize.A5
  78. *Constraints: PaperSize.A5_ROTATED
  79. *Constraints: PaperSize.B4
  80. *Constraints: PaperSize.B5
  81. *Constraints: PaperSize.B5_JIS_ROTATED
  82. *Constraints: PaperSize.JAPANESE_POSTCARD
  83. *Constraints: PaperSize.JAPANESE_POSTCARD_ROTATED
  84. }
  85. *Option: PostGuide
  86. {
  87. *rcNameID: 267
  88. *Constraints: PaperSize.10X11
  89. *Constraints: PaperSize.A4
  90. *Constraints: PaperSize.A5
  91. *Constraints: PaperSize.A5_ROTATED
  92. *Constraints: PaperSize.B4
  93. *Constraints: PaperSize.B5
  94. *Constraints: PaperSize.B5_JIS_ROTATED
  95. *Constraints: PaperSize.CUSTOMSIZE
  96. *Installable?: TRUE
  97. *rcInstallableFeatureNameID: 267
  98. }
  99. }
  100. *InvalidInstallableCombination: LIST(InputBin.SheetFeeder, InputBin.TracterFeeder)
  101. *InvalidInstallableCombination: LIST(InputBin.PostGuide, InputBin.TracterFeeder)
  102. *%======== Resolution ========
  103. *Feature: Resolution
  104. {
  105. *rcNameID: =RESOLUTION_DISPLAY
  106. *DefaultOption: Option1
  107. *Option: Option1
  108. {
  109. *Name: "160 x 160 dots per inch"
  110. *DPI: PAIR(160, 160)
  111. *TextDPI: PAIR(160, 160)
  112. *PinsPerLogPass: 24
  113. *PinsPerPhysPass: 24
  114. *MinStripBlankPixels: 120
  115. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  116. *SpotDiameter: 120
  117. *Command: CmdSendBlockData { *Cmd : "<1B>H<1B>e11<1B>J" %4d{NumOfDataBytes / 3} }
  118. }
  119. }
  120. *%======== PaperSize ========
  121. *Feature: PaperSize
  122. {
  123. *rcNameID: =PAPER_SIZE_DISPLAY
  124. *DefaultOption: A4
  125. *Option: A4
  126. {
  127. *rcNameID: =A4_DISPLAY
  128. *switch: InputBin
  129. {
  130. *case: SheetGuide
  131. {
  132. *PrintableArea: PAIR(3537, 4650)
  133. *PrintableOrigin: PAIR(216, 408)
  134. }
  135. *case: SheetFeeder
  136. {
  137. *PrintableArea: PAIR(3537, 5304)
  138. *PrintableOrigin: PAIR(216, 117)
  139. }
  140. }
  141. *switch: KyuusiIti
  142. {
  143. *case: Center
  144. {
  145. *Command: CmdSelect
  146. {
  147. *Order: DOC_SETUP.4
  148. *Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
  149. }
  150. }
  151. *case: Left
  152. {
  153. *Command: CmdSelect
  154. {
  155. *Order: DOC_SETUP.4
  156. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  157. }
  158. }
  159. }
  160. }
  161. *Option: A5
  162. {
  163. *rcNameID: =A5_DISPLAY
  164. *switch: InputBin
  165. {
  166. *case: SheetGuide
  167. {
  168. *PrintableArea: PAIR(2364, 3009)
  169. *PrintableOrigin: PAIR(216, 408)
  170. }
  171. *case: SheetFeeder
  172. {
  173. *PrintableArea: PAIR(2364, 3663)
  174. *PrintableOrigin: PAIR(216, 117)
  175. }
  176. }
  177. *switch: KyuusiIti
  178. {
  179. *case: Center
  180. {
  181. *Command: CmdSelect
  182. {
  183. *Order: DOC_SETUP.4
  184. *Cmd: "<1B>H<1B>L015" %v{(PhysPaperLength / 80) + 15}
  185. }
  186. }
  187. *case: Left
  188. {
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.4
  192. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  193. }
  194. }
  195. }
  196. }
  197. *Option: A5_ROTATED
  198. {
  199. *rcNameID: =A5_ROTATED_DISPLAY
  200. *switch: InputBin
  201. {
  202. *case: SheetGuide
  203. {
  204. *PrintableArea: PAIR(3537, 1836)
  205. *PrintableOrigin: PAIR(216, 408)
  206. }
  207. *case: SheetFeeder
  208. {
  209. *PrintableArea: PAIR(3537, 2490)
  210. *PrintableOrigin: PAIR(216, 117)
  211. }
  212. }
  213. *switch: KyuusiIti
  214. {
  215. *case: Center
  216. {
  217. *Command: CmdSelect
  218. {
  219. *Order: DOC_SETUP.4
  220. *Cmd: "<1B>H<1B>L003" %v{(PhysPaperLength / 80) + 15}
  221. }
  222. }
  223. *case: Left
  224. {
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.4
  228. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  229. }
  230. }
  231. }
  232. }
  233. *Option: B4
  234. {
  235. *rcNameID: =B4_DISPLAY
  236. *PrintableArea: PAIR(3840, 5916)
  237. *PrintableOrigin: PAIR(507, 408)
  238. *Command: CmdSelect
  239. {
  240. *Order: DOC_SETUP.4
  241. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  242. }
  243. }
  244. *Option: B5
  245. {
  246. *rcNameID: =B5_DISPLAY
  247. *switch: InputBin
  248. {
  249. *case: SheetGuide
  250. {
  251. *PrintableArea: PAIR(3009, 3897)
  252. *PrintableOrigin: PAIR(216, 408)
  253. }
  254. *case: SheetFeeder
  255. {
  256. *PrintableArea: PAIR(3009, 4551)
  257. *PrintableOrigin: PAIR(216, 117)
  258. }
  259. }
  260. *switch: KyuusiIti
  261. {
  262. *case: Center
  263. {
  264. *Command: CmdSelect
  265. {
  266. *Order: DOC_SETUP.4
  267. *Cmd: "<1B>H<1B>L008" %v{(PhysPaperLength / 80) + 15}
  268. }
  269. }
  270. *case: Left
  271. {
  272. *Command: CmdSelect
  273. {
  274. *Order: DOC_SETUP.4
  275. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  276. }
  277. }
  278. }
  279. }
  280. *Option: B5_JIS_ROTATED
  281. {
  282. *rcNameID: =B5_JIS_ROTATED_DISPLAY
  283. *PrintableArea: PAIR(3840, 2481)
  284. *PrintableOrigin: PAIR(507, 408)
  285. *Command: CmdSelect
  286. {
  287. *Order: DOC_SETUP.4
  288. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  289. }
  290. }
  291. *Option: JAPANESE_POSTCARD
  292. {
  293. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  294. *PrintableArea: PAIR(1479, 2304)
  295. *PrintableOrigin: PAIR(216, 183)
  296. *switch: KyuusiIti
  297. {
  298. *case: Center
  299. {
  300. *Command: CmdSelect
  301. {
  302. *Order: DOC_SETUP.4
  303. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  304. }
  305. }
  306. *case: Left
  307. {
  308. *Command: CmdSelect
  309. {
  310. *Order: DOC_SETUP.4
  311. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  312. }
  313. }
  314. }
  315. }
  316. *Option: JAPANESE_POSTCARD_ROTATED
  317. {
  318. *rcNameID: =JAPANESE_POSTCARD_ROTATED_DISPLAY
  319. *PrintableArea: PAIR(2385, 1404)
  320. *PrintableOrigin: PAIR(216, 183)
  321. *switch: KyuusiIti
  322. {
  323. *case: Center
  324. {
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.4
  328. *Cmd: "<1B>H<1B>L022" %v{(PhysPaperLength / 80) + 15}
  329. }
  330. }
  331. *case: Left
  332. {
  333. *Command: CmdSelect
  334. {
  335. *Order: DOC_SETUP.4
  336. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) + 15}
  337. }
  338. }
  339. }
  340. }
  341. *Option: 10X11
  342. {
  343. *rcNameID: =10X11_DISPLAY
  344. *PrintableArea: PAIR(3840, 4386)
  345. *PrintableOrigin: PAIR(480, 447)
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.4
  349. *Cmd: "<1B>H<1B>L000" %v{(PhysPaperLength / 80) }
  350. }
  351. }
  352. *Option: CUSTOMSIZE
  353. {
  354. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  355. *MinSize: PAIR(960, 960)
  356. *MaxSize: PAIR(4857, 10224)
  357. *MaxPrintableWidth: 3840
  358. *MinLeftMargin: 0
  359. *CenterPrintable?: FALSE
  360. *switch: InputBin
  361. {
  362. *case: SheetGuide
  363. {
  364. *CustCursorOriginX: %d{0}
  365. *CustCursorOriginY: %d{408}
  366. *CustPrintableOriginX: %d{0}
  367. *CustPrintableOriginY: %d{408}
  368. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  369. *CustPrintableSizeY: %d{PhysPaperLength - (408+552)}
  370. }
  371. *case: SheetFeeder
  372. {
  373. *CustCursorOriginX: %d{0}
  374. *CustCursorOriginY: %d{117}
  375. *CustPrintableOriginX: %d{0}
  376. *CustPrintableOriginY: %d{117}
  377. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  378. *CustPrintableSizeY: %d{PhysPaperLength - (117+189)}
  379. }
  380. *case: TracterFeeder
  381. {
  382. *CustCursorOriginX: %d{0}
  383. *CustCursorOriginY: %d{0}
  384. *CustPrintableOriginX: %d{0}
  385. *CustPrintableOriginY: %d{0}
  386. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  387. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  388. }
  389. *case: PushTracter
  390. {
  391. *CustCursorOriginX: %d{0}
  392. *CustCursorOriginY: %d{0}
  393. *CustPrintableOriginX: %d{0}
  394. *CustPrintableOriginY: %d{0}
  395. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  396. *CustPrintableSizeY: %d{PhysPaperLength - (0+0)}
  397. }
  398. *case: PostGuide
  399. {
  400. *CustCursorOriginX: %d{0}
  401. *CustCursorOriginY: %d{183}
  402. *CustPrintableOriginX: %d{0}
  403. *CustPrintableOriginY: %d{183}
  404. *CustPrintableSizeX: %d{min(3840, PhysPaperWidth)}
  405. *CustPrintableSizeY: %d{PhysPaperLength - (183+303)}
  406. }
  407. }
  408. *Command: CmdSelect
  409. {
  410. *Order: DOC_SETUP.4
  411. *Cmd: %v{(PhysPaperLength / 80) }
  412. }
  413. }
  414. }
  415. *%======== Paperfeed Pos ========
  416. *Feature: KyuusiIti
  417. {
  418. *rcNameID: 283
  419. *DefaultOption: Center
  420. *HelpIndex: 1150
  421. *Option: Center
  422. {
  423. *rcNameID: 258
  424. *Constraints: PaperSize.CUSTOMSIZE
  425. }
  426. *Option: Left
  427. {
  428. *rcNameID: 259
  429. }
  430. }
  431. *%======== PrintQuality ========
  432. *Feature: PrintQuality
  433. {
  434. *rcNameID: =TEXT_QUALITY_DISPLAY
  435. *DefaultOption: Option2
  436. *HelpIndex: 1167
  437. *Option: Option1
  438. {
  439. *rcNameID: 268
  440. *Command: CmdSelect
  441. {
  442. *Order: DOC_SETUP.2
  443. *Cmd: "<1B>d1<1B><3E>"
  444. }
  445. }
  446. *Option: Option2
  447. {
  448. *rcNameID: 269
  449. *Command: CmdSelect
  450. {
  451. *Order: DOC_SETUP.2
  452. *Cmd: "<1B>d1<1B>]"
  453. }
  454. }
  455. *Option: Option3
  456. {
  457. *rcNameID: 270
  458. *Command: CmdSelect
  459. {
  460. *Order: DOC_SETUP.2
  461. *Cmd: "<1B>d0<1B><3E>"
  462. }
  463. }
  464. *Option: Option4
  465. {
  466. *rcNameID: 271
  467. *Command: CmdSelect
  468. {
  469. *Order: DOC_SETUP.2
  470. *Cmd: "<1B>d0<1B>]"
  471. }
  472. }
  473. }
  474. *%======== TextHalftoneThreshold ========
  475. *Feature: TextHalftoneThreshold
  476. {
  477. *rcNameID: =TEXTHALFTONE_DISPLAY
  478. *DefaultOption: Option1
  479. *HelpIndex: 1180
  480. *Option: NONE
  481. {
  482. *rcNameID: =NONE_DISPLAY
  483. }
  484. *Option: Option1
  485. {
  486. *Name: "160"
  487. EXTERN_GLOBAL: *TextHalftoneThreshold: 160
  488. }
  489. }
  490. *%======== Halftone ========
  491. *Feature: Halftone
  492. {
  493. *rcNameID: =HALFTONING_DISPLAY
  494. *DefaultOption: HT_PATSIZE_AUTO
  495. *Option: HT_PATSIZE_AUTO
  496. {
  497. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  498. }
  499. *Option: HT_PATSIZE_SUPERCELL_M
  500. {
  501. *rcNameID: =HT_SUPERCELL_DISPLAY
  502. }
  503. *Option: HT_PATSIZE_6x6_M
  504. {
  505. *rcNameID: =HT_DITHER6X6_DISPLAY
  506. }
  507. *Option: HT_PATSIZE_8x8_M
  508. {
  509. *rcNameID: =HT_DITHER8X8_DISPLAY
  510. }
  511. }
  512. *%======== StartJob ========
  513. *Command: CmdStartJob
  514. {
  515. *Order: JOB_SETUP.1
  516. *Cmd: "<180F><1B>$<1B>s0<1B>l-<1B>_1<1C>04LS12<1C>w0,0.<1B>M<1B>2"
  517. + "<1B>/080<1B>h0<1C>A<1B>f"
  518. }
  519. *%======== StartDoc ========
  520. *Command: CmdStartDoc
  521. {
  522. *Order: DOC_SETUP.1
  523. *Cmd: "<1B>H<1B>e11<1B221B>Y<1B>L000<1B>A<1B>O0<1C>c,,0."
  524. }
  525. *%======== StartPage ========
  526. *switch: InputBin
  527. {
  528. *case: SheetGuide
  529. {
  530. *Command: CmdStartPage
  531. {
  532. *Order: PAGE_SETUP.1
  533. *Cmd: "<0D><1B>H<FF><0D>"
  534. }
  535. }
  536. *case: SheetFeeder
  537. {
  538. *Command: CmdStartPage
  539. {
  540. *Order: PAGE_SETUP.1
  541. *Cmd: "<0D><1B>a"
  542. }
  543. }
  544. *case: TracterFeeder
  545. {
  546. *Command: CmdStartPage
  547. {
  548. *Order: PAGE_SETUP.1
  549. *Cmd: "<0D>"
  550. }
  551. }
  552. *case: PushTracter
  553. {
  554. *Command: CmdStartPage
  555. {
  556. *Order: PAGE_SETUP.1
  557. *Cmd: "<0D>"
  558. }
  559. }
  560. *case: PostGuide
  561. {
  562. *Command: CmdStartPage
  563. {
  564. *Order: PAGE_SETUP.1
  565. *Cmd: "<0D><1B>a"
  566. }
  567. }
  568. }
  569. *%======== EndPage ========
  570. *switch: InputBin
  571. {
  572. *case: SheetGuide
  573. {
  574. *EjectPageWithFF?: TRUE
  575. }
  576. *case: SheetFeeder
  577. {
  578. *EjectPageWithFF?: FALSE
  579. *Command: CmdEndPage
  580. {
  581. *Order: PAGE_FINISH.1
  582. *Cmd: "<1B>b"
  583. }
  584. }
  585. *case: TracterFeeder
  586. {
  587. *EjectPageWithFF?: TRUE
  588. }
  589. *case: PushTracter
  590. {
  591. *EjectPageWithFF?: TRUE
  592. }
  593. *case: PostGuide
  594. {
  595. *EjectPageWithFF?: FALSE
  596. *Command: CmdEndPage
  597. {
  598. *Order: PAGE_FINISH.1
  599. *Cmd: "<1B>b"
  600. }
  601. }
  602. }
  603. *%======== capabilities ========
  604. *RotateCoordinate?: FALSE
  605. *RotateRaster?: FALSE
  606. *RotateFont?: FALSE
  607. *switch: Orientation
  608. {
  609. *case: PORTRAIT
  610. {
  611. *TextCaps: LIST(TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  612. }
  613. *case: LANDSCAPE_CC270
  614. {
  615. *TextCaps: LIST(TC_RA_ABLE)
  616. }
  617. }
  618. *ReselectFont: LIST(AFTER_GRXDATA, AFTER_XMOVE)
  619. *%======== Cursor Control ========
  620. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  621. *YMoveAttributes: LIST(SEND_CR_FIRST,FAVOR_LF)
  622. *MaxLineSpacing: 396
  623. *XMoveThreshold: 0
  624. *XMoveUnit: 160
  625. *AbsXMovesRightOnly?: TRUE
  626. *Command: CmdXMoveAbsolute { *Cmd : "<1B>H<1B>e11<1B>F" %4d[0,1280]{max_repeat((DestX / 3) )} }
  627. *LineSpacingMoveUnit: 120
  628. *Command: CmdSetLineSpacing { *Cmd : "<1B>T" %2d[0,99]{(LinefeedSpacing / 4) } }
  629. *Command: CmdCR { *Cmd : "<0D>" }
  630. *Command: CmdLF { *Cmd : "<0A>" }
  631. *Command: CmdFF { *Cmd : "<0D0C>" }
  632. *Command: CmdBackSpace { *Cmd : "<08>" }
  633. *%======== Raster Data ========
  634. *OutputDataFormat: V_BYTE
  635. *OptimizeLeftBound?: FALSE
  636. *CursorXAfterSendBlockData: AT_GRXDATA_END
  637. *CursorYAfterSendBlockData: NO_MOVE
  638. *MirrorRasterByte?: TRUE
  639. *%======== Device Font ========
  640. *DefaultFont: 1
  641. *DefaultCTT: 1
  642. *switch: Orientation
  643. {
  644. *case: PORTRAIT
  645. {
  646. *DeviceFonts: LIST(1,9,17,18,19,20,21,22,23,24,25,26,27,28,29,30,
  647. + 31,32,33,34,35,36)
  648. }
  649. *case: LANDSCAPE_CC270
  650. {
  651. *DeviceFonts: LIST()
  652. }
  653. }
  654. *FontCartridge: FC1
  655. {
  656. *rcCartridgeNameID: 274
  657. *PortraitFonts: LIST(5,13)
  658. *LandscapeFonts: LIST()
  659. }
  660. *FontCartridge: FC2
  661. {
  662. *rcCartridgeNameID: 275
  663. *PortraitFonts: LIST(6,14)
  664. *LandscapeFonts: LIST()
  665. }
  666. *%======== Font Simulation ========
  667. *Command: CmdBoldOn { *Cmd : "<1C>c,,1." }
  668. *Command: CmdItalicOn { *Cmd : "<1C>c,,2." }
  669. *Command: CmdClearAllFontAttribs { *Cmd : "<1C>c,,0." }
  670. *Command: CmdUnderlineOn { *Cmd : "<1B>X" }
  671. *Command: CmdUnderlineOff { *Cmd : "<1B>Y" }