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.

598 lines
15 KiB

  1. *GPDSpecVersion: "1.0"
  2. *CodePage: 1252
  3. *ModelName: "NEC PC-PR2000/2"
  4. *MasterUnits: PAIR(1200, 1200)
  5. *ResourceDLL: "NCDLJRES.dll"
  6. *PrinterType: PAGE
  7. *MaxCopies: 99
  8. *FontCartSlots: 1
  9. *rcInstalledOptionNameID: 800
  10. *rcNotInstalledOptionNameID: 801
  11. *PrintRateUnit: PPM
  12. *PrintRate: 8
  13. *GPDFileName: "NCDL202J.GPD"
  14. *Include: "STDNAMES.GPD"
  15. *GPDFileVersion: "1.000"
  16. *HelpFile: "NCDLJRES.HLP"
  17. *%======== Macros ========
  18. *Macros: DeviceFontIDs
  19. {
  20. RC_FONT_COURIER : 1
  21. RC_FONT_SANSERIF : 2
  22. RC_FONT_ROMAN : 3
  23. RC_FONT_MINCHO : 4
  24. RC_FONT_MINCHOV : 5
  25. RC_FONT_GOTHIC : 6
  26. RC_FONT_GOTHICV : 7
  27. RC_FONT_COURIER_P : 8
  28. RC_FONT_SANSERIF_P : 9
  29. RC_FONT_ROMAN_P : 10
  30. RC_FONT_MINCHO_P : 11
  31. RC_FONT_MINCHOV_P : 12
  32. RC_FONT_GOTHIC_P : 13
  33. RC_FONT_GOTHICV_P : 14
  34. RC_FONT_OCRB_P : 15
  35. RC_FONT_ZUIHITSU_P : 16
  36. RC_FONT_ZUIHITSUV_P : 17
  37. RC_FONT_KYOUKASYO_P : 18
  38. RC_FONT_KYOUKASYOV_P : 19
  39. RC_FONT_MARUGOTH_P : 20
  40. RC_FONT_MARUGOTHV_P : 21
  41. }
  42. *Macros: TTFSStrIDs
  43. {
  44. RC_STR_MINCHO : 900
  45. RC_STR_GOTHIC : 901
  46. RC_STR_MSMINCHO : 910
  47. RC_STR_MSGOTHIC : 911
  48. }
  49. *Macros: OEMCallbackIDs
  50. {
  51. CMD_MOVE_X : 23
  52. CMD_MOVE_Y : 24
  53. CMD_BEGIN_RASTER : 26
  54. CMD_RES_600 : 27
  55. CMD_RES_400 : 28
  56. CMD_RES_240 : 29
  57. CMD_SEND_BLOCK_DATA : 30
  58. CMD_BEGIN_RASTER_NO_COMP : 31
  59. CMD_INIT_COORDINATE : 32
  60. CMD_PC_PRN_DIRECTION : 50
  61. CMD_CR : 51
  62. CMD_FF : 52
  63. CMD_RECTWIDTH : 60
  64. CMD_RECTHEIGHT : 61
  65. CMD_RECTWHITE : 62
  66. CMD_RECTBLACK : 63
  67. CMD_RECTGRAY : 64
  68. CMD_WHITE_ON : 80
  69. CMD_WHITE_OFF : 81
  70. CMD_BOLD_ON : 82
  71. CMD_ITALIC_ON : 83
  72. CMD_CLEAR_ATTRIB : 84
  73. CMD_CLEAR_ATTRIB_P : 85
  74. }
  75. *Macros: PopupHelpIDs
  76. {
  77. POP_DL_TEXTHALFTONE : 611
  78. POP_DL_TEXTHALFTONE_S : 612
  79. POP_DL_TEXTHALFTONE_S2 : 613
  80. }
  81. *%======== Orientation ========
  82. *Feature: Orientation
  83. {
  84. *rcNameID: =ORIENTATION_DISPLAY
  85. *DefaultOption: PORTRAIT
  86. *Option: PORTRAIT
  87. {
  88. *rcNameID: =PORTRAIT_DISPLAY
  89. }
  90. *Option: LANDSCAPE_CC270
  91. {
  92. *rcNameID: =LANDSCAPE_DISPLAY
  93. }
  94. }
  95. *%======== InputBin ========
  96. *Feature: InputBin
  97. {
  98. *rcNameID: =PAPER_SOURCE_DISPLAY
  99. *DefaultOption: Auto
  100. *Option: Auto
  101. {
  102. *rcNameID: 272
  103. *switch: Orientation
  104. {
  105. *case: PORTRAIT
  106. {
  107. *Command: CmdSelect
  108. {
  109. *Order: DOC_SETUP.3
  110. *NoPageEject?: TRUE
  111. *Cmd: "<1C>fPC1.<1C>fP"
  112. }
  113. }
  114. *case: LANDSCAPE_CC270
  115. {
  116. *Command: CmdSelect
  117. {
  118. *Order: DOC_SETUP.3
  119. *NoPageEject?: TRUE
  120. *Cmd: "<1C>fLC1.<1C>fL"
  121. }
  122. }
  123. }
  124. }
  125. *Option: Hopper1
  126. {
  127. *rcNameID: 273
  128. *switch: Orientation
  129. {
  130. *case: PORTRAIT
  131. {
  132. *Command: CmdSelect
  133. {
  134. *Order: DOC_SETUP.3
  135. *NoPageEject?: TRUE
  136. *Cmd: "<1C>fPC1.<1C>fP"
  137. }
  138. }
  139. *case: LANDSCAPE_CC270
  140. {
  141. *Command: CmdSelect
  142. {
  143. *Order: DOC_SETUP.3
  144. *NoPageEject?: TRUE
  145. *Cmd: "<1C>fLC1.<1C>fL"
  146. }
  147. }
  148. }
  149. }
  150. *Option: Hopper2
  151. {
  152. *rcNameID: 274
  153. *Installable?: TRUE
  154. *rcInstallableFeatureNameID: 274
  155. *switch: Orientation
  156. {
  157. *case: PORTRAIT
  158. {
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.3
  162. *NoPageEject?: TRUE
  163. *Cmd: "<1C>fPC2.<1C>fP"
  164. }
  165. }
  166. *case: LANDSCAPE_CC270
  167. {
  168. *Command: CmdSelect
  169. {
  170. *Order: DOC_SETUP.3
  171. *NoPageEject?: TRUE
  172. *Cmd: "<1C>fLC2.<1C>fL"
  173. }
  174. }
  175. }
  176. }
  177. }
  178. *%======== Resolution ========
  179. *Feature: Resolution
  180. {
  181. *rcNameID: =RESOLUTION_DISPLAY
  182. *DefaultOption: 240dpi
  183. *Option: 240dpi
  184. {
  185. *rcNameID: 892
  186. *DPI: PAIR(240, 240)
  187. *TextDPI: PAIR(240, 240)
  188. *MinStripBlankPixels: 32
  189. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  190. EXTERN_GLOBAL: *SendMultipleRows?: TRUE
  191. *SpotDiameter: 100
  192. *Command: CmdSelect
  193. {
  194. *Order: DOC_SETUP.5
  195. *NoPageEject?: TRUE
  196. *CallbackID: =CMD_RES_240
  197. }
  198. *% *Command: CmdSendBlockData
  199. *% {
  200. *% *Cmd : "<1C>i" %d[0,65535]{RasterDataWidthInBytes * 8}"," %d[0,65535]{RasterDataHeightInPixels }",0,1/1,1/1,"%d{NumOfDataBytes } ",240."
  201. *% }
  202. }
  203. }
  204. *%======== PaperSize ========
  205. *Feature: PaperSize
  206. {
  207. *rcNameID: =PAPER_SIZE_DISPLAY
  208. *DefaultOption: A4
  209. *Option: A4
  210. {
  211. *rcNameID: =A4_DISPLAY
  212. *PrintableArea: PAIR(9360, 13560)
  213. *PrintableOrigin: PAIR(380, 240)
  214. *Command: CmdSelect
  215. {
  216. *Order: DOC_SETUP.4
  217. *NoPageEject?: TRUE
  218. *Cmd: "A4."
  219. }
  220. }
  221. *Option: A5
  222. {
  223. *rcNameID: =A5_DISPLAY
  224. *PrintableArea: PAIR(6420, 9480)
  225. *PrintableOrigin: PAIR(380, 240)
  226. *Command: CmdSelect
  227. {
  228. *Order: DOC_SETUP.4
  229. *NoPageEject?: TRUE
  230. *Cmd: "A5."
  231. }
  232. }
  233. *Option: B4
  234. {
  235. *rcNameID: =B4_DISPLAY
  236. *switch: Orientation
  237. {
  238. *case: PORTRAIT
  239. {
  240. *PrintableArea: PAIR(11400, 16680)
  241. *PrintableOrigin: PAIR(380, 240)
  242. }
  243. *case: LANDSCAPE_CC270
  244. {
  245. *PrintableArea: PAIR(11400, 16320)
  246. *PrintableOrigin: PAIR(380, 240)
  247. }
  248. }
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.4
  252. *NoPageEject?: TRUE
  253. *Cmd: "B4."
  254. }
  255. }
  256. *Option: B5
  257. {
  258. *rcNameID: =B5_DISPLAY
  259. *PrintableArea: PAIR(8040, 11640)
  260. *PrintableOrigin: PAIR(380, 240)
  261. *Command: CmdSelect
  262. {
  263. *Order: DOC_SETUP.4
  264. *NoPageEject?: TRUE
  265. *Cmd: "B5."
  266. }
  267. }
  268. *Option: LETTER
  269. {
  270. *rcNameID: =LETTER_DISPLAY
  271. *PrintableArea: PAIR(9600, 12720)
  272. *PrintableOrigin: PAIR(380, 240)
  273. *Command: CmdSelect
  274. {
  275. *Order: DOC_SETUP.4
  276. *NoPageEject?: TRUE
  277. *Cmd: "LT."
  278. }
  279. }
  280. *Option: JAPANESE_POSTCARD
  281. {
  282. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  283. *switch: Orientation
  284. {
  285. *case: PORTRAIT
  286. {
  287. *PrintableArea: PAIR(4080, 6600)
  288. *PrintableOrigin: PAIR(380, 240)
  289. }
  290. *case: LANDSCAPE_CC270
  291. {
  292. *PrintableArea: PAIR(4080, 6480)
  293. *PrintableOrigin: PAIR(380, 240)
  294. }
  295. }
  296. *Command: CmdSelect
  297. {
  298. *Order: DOC_SETUP.4
  299. *NoPageEject?: TRUE
  300. *Cmd: "PC."
  301. }
  302. }
  303. *Option: A3toB4
  304. {
  305. *rcNameID: 258
  306. *PageDimensions: PAIR(14032, 19843)
  307. *PrintableArea: PAIR(13560, 19320)
  308. *PrintableOrigin: PAIR(240, 240)
  309. *Command: CmdSelect
  310. {
  311. *Order: DOC_SETUP.4
  312. *NoPageEject?: TRUE
  313. *Cmd: "A3B4."
  314. }
  315. }
  316. *Option: A3toA4
  317. {
  318. *rcNameID: 259
  319. *PageDimensions: PAIR(14032, 19843)
  320. *PrintableArea: PAIR(13560, 19320)
  321. *PrintableOrigin: PAIR(240, 240)
  322. *Command: CmdSelect
  323. {
  324. *Order: DOC_SETUP.4
  325. *NoPageEject?: TRUE
  326. *Cmd: "A3A4."
  327. }
  328. }
  329. *Option: B4toA4
  330. {
  331. *rcNameID: 264
  332. *PageDimensions: PAIR(12142, 17197)
  333. *switch: Orientation
  334. {
  335. *case: PORTRAIT
  336. {
  337. *PrintableArea: PAIR(11400, 16680)
  338. *PrintableOrigin: PAIR(380, 240)
  339. }
  340. *case: LANDSCAPE_CC270
  341. {
  342. *PrintableArea: PAIR(11400, 16320)
  343. *PrintableOrigin: PAIR(380, 240)
  344. }
  345. }
  346. *Command: CmdSelect
  347. {
  348. *Order: DOC_SETUP.4
  349. *NoPageEject?: TRUE
  350. *Cmd: "B4A4."
  351. }
  352. }
  353. *Option: A4x2toA4
  354. {
  355. *rcNameID: 268
  356. *PageDimensions: PAIR(9922, 14032)
  357. *PrintableArea: PAIR(9360, 13560)
  358. *PrintableOrigin: PAIR(380, 240)
  359. *Command: CmdSelect
  360. {
  361. *Order: DOC_SETUP.4
  362. *NoPageEject?: TRUE
  363. *Cmd: "UPA4."
  364. }
  365. }
  366. *Option: LPtoA4
  367. {
  368. *rcNameID: 270
  369. *Constraints: Orientation.PORTRAIT
  370. *PageDimensions: PAIR(13200, 18000)
  371. *PrintableArea: PAIR(13200, 16320)
  372. *PrintableOrigin: PAIR(0, 840)
  373. *Command: CmdSelect
  374. {
  375. *Order: DOC_SETUP.4
  376. *NoPageEject?: TRUE
  377. *Cmd: "LPA4."
  378. }
  379. }
  380. *Option: LPtoB4
  381. {
  382. *rcNameID: 271
  383. *Constraints: Orientation.PORTRAIT
  384. *PageDimensions: PAIR(13200, 18000)
  385. *PrintableArea: PAIR(13200, 16320)
  386. *PrintableOrigin: PAIR(0, 840)
  387. *Command: CmdSelect
  388. {
  389. *Order: DOC_SETUP.4
  390. *NoPageEject?: TRUE
  391. *Cmd: "LPB4."
  392. }
  393. }
  394. }
  395. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.B4)
  396. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.LETTER)
  397. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.A3toB4)
  398. *InvalidCombination: LIST(InputBin.Hopper1, PaperSize.LPtoB4)
  399. *%======== Halftone ========
  400. *Feature: Halftone
  401. {
  402. *rcNameID: =HALFTONING_DISPLAY
  403. *DefaultOption: HT_PATSIZE_AUTO
  404. *Option: HT_PATSIZE_AUTO
  405. {
  406. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  407. }
  408. *Option: HT_PATSIZE_SUPERCELL_M
  409. {
  410. *rcNameID: =HT_SUPERCELL_DISPLAY
  411. }
  412. *Option: HT_PATSIZE_6x6_M
  413. {
  414. *rcNameID: =HT_DITHER6X6_DISPLAY
  415. }
  416. *Option: HT_PATSIZE_8x8_M
  417. {
  418. *rcNameID: =HT_DITHER8X8_DISPLAY
  419. }
  420. }
  421. *%======== TextHalftoneThreshold ========
  422. *Feature: TextHalftoneThreshold
  423. {
  424. *rcNameID: =TEXTHALFTONE_DISPLAY
  425. *DefaultOption: 240
  426. *HelpIndex: 613 *%POP_DL_TEXTHALFTONE_S2
  427. *Option: NONE
  428. {
  429. *rcNameID: =NONE_DISPLAY
  430. }
  431. *Option: 240
  432. {
  433. *Name: "240"
  434. EXTERN_GLOBAL: *TextHalftoneThreshold: 240
  435. }
  436. }
  437. *%======== StartJob ========
  438. *Command: CmdStartJob
  439. {
  440. *Order: JOB_SETUP.1
  441. *Cmd: "<1B>c1<1C>&240.<1C>d240."
  442. }
  443. *%======== StartDoc ========
  444. *Command: CmdStartDoc
  445. {
  446. *Order: DOC_SETUP.1
  447. *Cmd: "<1C>R"
  448. }
  449. *%======== CopyCmd ========
  450. *Command: CmdCopies
  451. {
  452. *Order: DOC_SETUP.2
  453. *Cmd: "<1C>x" %d[1,99]{NumOfCopies }",C."
  454. }
  455. *%======== StartPage ========
  456. *Command: CmdStartPage
  457. {
  458. *Order: PAGE_SETUP.1
  459. *CallbackID: =CMD_INIT_COORDINATE
  460. }
  461. *%======== EndPage ========
  462. *Command: CmdEndPage
  463. {
  464. *Order: PAGE_FINISH.1
  465. *Cmd: "" *% Reserved
  466. }
  467. *%======== EndDoc ========
  468. *Command: CmdEndDoc
  469. {
  470. *Order: DOC_FINISH.1
  471. *Cmd: "" *% Reserved
  472. }
  473. *%======== EndJob ========
  474. *Command: CmdEndJob
  475. {
  476. *Order: JOB_FINISH.1
  477. *Cmd: "<1C>fPC1.<1C>&0.<1B>c1"
  478. }
  479. *%======== Capabilities ========
  480. *RotateCoordinate?: FALSE
  481. *RotateRaster?: TRUE
  482. *RotateFont?: TRUE
  483. *TextCaps: LIST(TC_OP_CHARACTER,TC_CR_90,TC_SF_X_YINDEP,TC_SA_DOUBLE,TC_SA_INTEGER,TC_SA_CONTIN,TC_EA_DOUBLE,TC_IA_ABLE)
  484. *%======== Cursor Control ========
  485. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  486. *XMoveUnit: 240
  487. *YMoveUnit: 240
  488. *Command: CmdXMoveAbsolute
  489. {
  490. *CallbackID: =CMD_MOVE_X
  491. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  492. }
  493. *Command: CmdYMoveAbsolute
  494. {
  495. *CallbackID: =CMD_MOVE_Y
  496. *Params: LIST(DestX,DestY,TextXRes,TextYRes)
  497. }
  498. *EjectPageWithFF?: TRUE
  499. *Command: CmdCR { *CallbackID: =CMD_CR }
  500. *Command: CmdLF { *Cmd : "<0A>" }
  501. *Command: CmdFF { *CallbackID: =CMD_FF }
  502. *Command: CmdSetSimpleRotation
  503. {
  504. *CallbackID: =CMD_PC_PRN_DIRECTION
  505. *Params: LIST(PrintDirInCCDegrees)
  506. }
  507. *%======== Raster Data ========
  508. *OutputDataFormat: H_BYTE
  509. *OptimizeLeftBound?: TRUE
  510. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  511. *CursorYAfterSendBlockData: NO_MOVE
  512. *Command: CmdSendBlockData
  513. {
  514. *CallbackID: =CMD_SEND_BLOCK_DATA
  515. *Params: RasterDataWidthInBytes
  516. }
  517. *Command: CmdBeginRaster
  518. {
  519. *% *CallbackID: =CMD_BEGIN_RASTER
  520. *CallbackID: =CMD_BEGIN_RASTER_NO_COMP
  521. }
  522. *%======== Device Font ========
  523. *DefaultFont: =RC_FONT_MINCHO
  524. *DefaultCTT: 1
  525. *CharPosition: BASELINE
  526. *DeviceFonts: LIST(=RC_FONT_COURIER,=RC_FONT_SANSERIF,=RC_FONT_ROMAN,
  527. + =RC_FONT_MINCHO,=RC_FONT_MINCHOV)
  528. *FontCartridge: Gothic
  529. {
  530. *rcCartridgeNameID: 277
  531. *Fonts: LIST(=RC_FONT_GOTHIC,=RC_FONT_GOTHICV)
  532. }
  533. *%======== Font Subsitution ========
  534. *TTFS: Mincho
  535. {
  536. *rcTTFontNameID: =RC_STR_MSMINCHO
  537. *rcDevFontNameID: =RC_STR_MINCHO
  538. }
  539. *TTFS: Gothic
  540. {
  541. *rcTTFontNameID: =RC_STR_MSGOTHIC
  542. *rcDevFontNameID: =RC_STR_GOTHIC
  543. }
  544. *TTFSEnabled?: FALSE
  545. *%======== Font Simulation ========
  546. *Command: CmdBoldOn { *CallbackID: =CMD_BOLD_ON }
  547. *Command: CmdItalicOn { *CallbackID: =CMD_ITALIC_ON }
  548. *Command: CmdClearAllFontAttribs { *CallbackID: =CMD_CLEAR_ATTRIB }
  549. *Command: CmdWhiteTextOn { *CallbackID: =CMD_WHITE_ON }
  550. *Command: CmdWhiteTextOff { *CallbackID: =CMD_WHITE_OFF }
  551. *%========== RectFill ==========
  552. *MinGrayFill: 1
  553. *MaxGrayFill: 100
  554. *Command: CmdSetRectWidth
  555. {
  556. *CallbackID: =CMD_RECTWIDTH
  557. *Params: LIST(RectXSize)
  558. }
  559. *Command: CmdSetRectHeight
  560. {
  561. *CallbackID: =CMD_RECTHEIGHT
  562. *Params: LIST(RectYSize)
  563. }
  564. *Command: CmdRectWhiteFill { *CallbackID: =CMD_RECTWHITE }
  565. *Command: CmdRectBlackFill { *CallbackID: =CMD_RECTBLACK }
  566. *Command: CmdRectGrayFill
  567. {
  568. *CallbackID: =CMD_RECTGRAY
  569. *Params: LIST(GrayPercentage)
  570. }