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.

619 lines
16 KiB

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