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.

635 lines
16 KiB

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