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.

689 lines
18 KiB

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