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.

629 lines
16 KiB

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