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.

554 lines
14 KiB

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