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.

589 lines
15 KiB

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