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.

485 lines
12 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DC1000.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DECmultiJET 1000"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "jp350res.dll"
  12. *PrinterType: SERIAL
  13. *FontCartSlots: 1
  14. *Feature: Orientation
  15. {
  16. *rcNameID: =ORIENTATION_DISPLAY
  17. *DefaultOption: PORTRAIT
  18. *Option: PORTRAIT
  19. {
  20. *rcNameID: =PORTRAIT_DISPLAY
  21. }
  22. *Option: LANDSCAPE_CC270
  23. {
  24. *rcNameID: =LANDSCAPE_DISPLAY
  25. }
  26. }
  27. *Feature: InputBin
  28. {
  29. *rcNameID: =PAPER_SOURCE_DISPLAY
  30. *DefaultOption: MANUAL
  31. *Option: ENVMANUAL
  32. {
  33. *rcNameID: =ENV_MANUAL_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.2
  37. *Cmd: "<1B>&l3H"
  38. }
  39. }
  40. *Option: MANUAL
  41. {
  42. *rcNameID: =MANUAL_FEED_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.2
  46. *Cmd: "<1B>&l3H"
  47. }
  48. }
  49. *Option: AUTO
  50. {
  51. *rcNameID: =AUTO_DISPLAY
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.2
  55. *Cmd: "<1B>&l1H"
  56. }
  57. }
  58. }
  59. *Feature: Resolution
  60. {
  61. *rcNameID: =RESOLUTION_DISPLAY
  62. *DefaultOption: Option1
  63. *Option: Option1
  64. {
  65. *Name: "300 x 300 " =DOTS_PER_INCH
  66. *DPI: PAIR(300, 300)
  67. *TextDPI: PAIR(300, 300)
  68. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  69. *SpotDiameter: 150
  70. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  71. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  72. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  73. *Command: CmdSelect
  74. {
  75. *Order: DOC_SETUP.5
  76. *Cmd: "<1B>*t300R"
  77. }
  78. }
  79. *Option: Option2
  80. {
  81. *Name: "150 x 150 " =DOTS_PER_INCH
  82. *DPI: PAIR(150, 150)
  83. *TextDPI: PAIR(300, 300)
  84. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  85. *SpotDiameter: 120
  86. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  87. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  88. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  89. *Command: CmdSelect
  90. {
  91. *Order: DOC_SETUP.5
  92. *Cmd: "<1B>*t150R"
  93. }
  94. }
  95. *Option: Option3
  96. {
  97. *Name: "75 x 75 " =DOTS_PER_INCH
  98. *DPI: PAIR(75, 75)
  99. *TextDPI: PAIR(300, 300)
  100. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  101. *SpotDiameter: 100
  102. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  103. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  104. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  105. *Command: CmdSelect
  106. {
  107. *Order: DOC_SETUP.5
  108. *Cmd: "<1B>*t75R"
  109. }
  110. }
  111. }
  112. *Feature: PaperSize
  113. {
  114. *rcNameID: =PAPER_SIZE_DISPLAY
  115. *DefaultOption: A4
  116. *Option: LETTER
  117. {
  118. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  119. *PrintableArea: PAIR(4796, 6162)
  120. *PrintableOrigin: PAIR(84, 132)
  121. *switch: Resolution
  122. {
  123. *case: Option2
  124. {
  125. *PrintableArea: PAIR(4796, 6160)
  126. }
  127. *case: Option3
  128. {
  129. *PrintableArea: PAIR(4792, 6152)
  130. *PrintableOrigin: PAIR(88, 136)
  131. }
  132. }
  133. *CursorOrigin: PAIR(84, 120)
  134. *Command: CmdSelect
  135. {
  136. *Order: DOC_SETUP.3
  137. *Cmd: "<1B>&l2A"
  138. }
  139. }
  140. *Option: LEGAL
  141. {
  142. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  143. *PrintableArea: PAIR(4796, 7962)
  144. *PrintableOrigin: PAIR(84, 132)
  145. *switch: Resolution
  146. {
  147. *case: Option2
  148. {
  149. *PrintableArea: PAIR(4796, 7960)
  150. }
  151. *case: Option3
  152. {
  153. *PrintableArea: PAIR(4792, 7952)
  154. *PrintableOrigin: PAIR(88, 136)
  155. }
  156. }
  157. *CursorOrigin: PAIR(84, 120)
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.3
  161. *Cmd: "<1B>&l3A"
  162. }
  163. }
  164. *Option: A4
  165. {
  166. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  167. *PrintableArea: PAIR(4794, 6576)
  168. *PrintableOrigin: PAIR(84, 132)
  169. *switch: Resolution
  170. {
  171. *case: Option2
  172. {
  173. *PrintableArea: PAIR(4792, 6576)
  174. }
  175. *case: Option3
  176. {
  177. *PrintableArea: PAIR(4784, 6568)
  178. *PrintableOrigin: PAIR(88, 136)
  179. }
  180. }
  181. *CursorOrigin: PAIR(84, 120)
  182. *Command: CmdSelect
  183. {
  184. *Order: DOC_SETUP.3
  185. *Cmd: "<1B>&l26A"
  186. }
  187. }
  188. *Option: Option4
  189. {
  190. *rcNameID: 258
  191. *PageDimensions: PAIR(4962, 3498)
  192. *PrintableArea: PAIR(4794, 3060)
  193. *PrintableOrigin: PAIR(84, 132)
  194. *switch: Resolution
  195. {
  196. *case: Option2
  197. {
  198. *PrintableArea: PAIR(4792, 3060)
  199. }
  200. *case: Option3
  201. {
  202. *PrintableArea: PAIR(4784, 3056)
  203. *PrintableOrigin: PAIR(88, 136)
  204. }
  205. }
  206. *CursorOrigin: PAIR(84, 120)
  207. *Command: CmdSelect
  208. {
  209. *Order: DOC_SETUP.3
  210. *Cmd: "<1B>&l29A"
  211. }
  212. }
  213. *Option: ENV_10
  214. {
  215. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  216. *RotateSize? : TRUE
  217. *PrintableArea: PAIR(4796, 2040)
  218. *PrintableOrigin: PAIR(84, 132)
  219. *switch: Resolution
  220. {
  221. *case: Option3
  222. {
  223. *PrintableArea: PAIR(4792, 2032)
  224. *PrintableOrigin: PAIR(88, 136)
  225. }
  226. }
  227. *CursorOrigin: PAIR(84, 120)
  228. *Command: CmdSelect
  229. {
  230. *Order: DOC_SETUP.3
  231. *Cmd: "<1B>&l81A"
  232. }
  233. }
  234. *Option: ENV_C5
  235. {
  236. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  237. *RotateSize? : TRUE
  238. *PrintableArea: PAIR(4796, 3390)
  239. *PrintableOrigin: PAIR(84, 132)
  240. *switch: Resolution
  241. {
  242. *case: Option2
  243. {
  244. *PrintableArea: PAIR(4796, 3388)
  245. }
  246. *case: Option3
  247. {
  248. *PrintableArea: PAIR(4792, 3384)
  249. *PrintableOrigin: PAIR(88, 136)
  250. }
  251. }
  252. *CursorOrigin: PAIR(84, 120)
  253. *Command: CmdSelect
  254. {
  255. *Order: DOC_SETUP.3
  256. *Cmd: "<1B>&l91A"
  257. }
  258. }
  259. *Option: ENV_DL
  260. {
  261. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  262. *RotateSize? : TRUE
  263. *PrintableArea: PAIR(4796, 2160)
  264. *PrintableOrigin: PAIR(84, 132)
  265. *switch: Resolution
  266. {
  267. *case: Option3
  268. {
  269. *PrintableArea: PAIR(4792, 2152)
  270. *PrintableOrigin: PAIR(88, 136)
  271. }
  272. }
  273. *CursorOrigin: PAIR(84, 120)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.3
  277. *Cmd: "<1B>&l90A"
  278. }
  279. }
  280. *Option: CUSTOMSIZE
  281. {
  282. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  283. *MinSize: PAIR(4800, 2474)
  284. *MaxSize: PAIR(5100, 8400)
  285. *MaxPrintableWidth: 4800
  286. *MinLeftMargin: 0
  287. *CenterPrintable?: FALSE
  288. *TopMargin: 0
  289. *BottomMargin: 306
  290. *Command: CmdSelect
  291. {
  292. *Order: DOC_SETUP.3
  293. *Cmd: "<1B>&l0A"
  294. }
  295. }
  296. }
  297. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  298. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  299. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  300. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option4)
  301. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  302. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  303. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  304. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  305. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  306. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  307. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  308. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  309. *Feature: PrintQuality
  310. {
  311. *rcNameID: =TEXT_QUALITY_DISPLAY
  312. *DefaultOption: LETTER_QUALITY
  313. *Option: LETTER_QUALITY
  314. {
  315. *rcNameID: =LETTER_QUALITY_DISPLAY
  316. *Command: CmdSelect
  317. {
  318. *Order: DOC_SETUP.7
  319. *Cmd: "<1B>(s2Q<1B>*r2Q"
  320. }
  321. }
  322. *Option: DRAFT_QUALITY
  323. {
  324. *rcNameID: =DRAFT_QUALITY_DISPLAY
  325. *Command: CmdSelect
  326. {
  327. *Order: DOC_SETUP.7
  328. *Cmd: "<1B>(s1Q<1B>*r1Q"
  329. }
  330. }
  331. }
  332. *Feature: Halftone
  333. {
  334. *rcNameID: =HALFTONING_DISPLAY
  335. *DefaultOption: HT_PATSIZE_AUTO
  336. *Option: HT_PATSIZE_AUTO
  337. {
  338. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  339. }
  340. *Ifdef: WINNT_50
  341. *Option: HT_PATSIZE_SUPERCELL_M
  342. {
  343. *rcNameID: =HT_SUPERCELL_DISPLAY
  344. }
  345. *Endif:
  346. *Option: HT_PATSIZE_6x6_M
  347. {
  348. *rcNameID: =HT_DITHER6X6_DISPLAY
  349. }
  350. *Option: HT_PATSIZE_8x8_M
  351. {
  352. *rcNameID: =HT_DITHER8X8_DISPLAY
  353. }
  354. }
  355. *Feature: Memory
  356. {
  357. *rcNameID: =PRINTER_MEMORY_DISPLAY
  358. *DefaultOption: 1KB
  359. *Option: 1KB
  360. {
  361. *Name: "1KB"
  362. *MemoryConfigKB: PAIR(1, 1)
  363. }
  364. *Option: 256KB
  365. {
  366. *Name: "256KB"
  367. *MemoryConfigKB: PAIR(256, 256)
  368. }
  369. }
  370. *Command: CmdStartDoc
  371. {
  372. *Order: DOC_SETUP.1
  373. *Cmd: "<00000000000000001B>E<1B>&l0o0L<1B>&k5w0G"
  374. }
  375. *Command: CmdStartPage
  376. {
  377. *Order: PAGE_SETUP.1
  378. *Cmd: "<0D>"
  379. }
  380. *Command: CmdEndJob
  381. {
  382. *Order: JOB_FINISH.1
  383. *Cmd: "<1B>E"
  384. }
  385. *Command: CmdEndPage
  386. {
  387. *Order: PAGE_FINISH.1
  388. *Cmd: "<0D>"
  389. }
  390. *RotateCoordinate?: FALSE
  391. *RotateRaster?: FALSE
  392. *RotateFont?: FALSE
  393. *switch: Orientation
  394. {
  395. *case: PORTRAIT
  396. {
  397. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  398. }
  399. *case: LANDSCAPE_CC270
  400. {
  401. *TextCaps: LIST()
  402. }
  403. }
  404. *MemoryUsage: LIST(FONT)
  405. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  406. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE)
  407. *XMoveThreshold: 0
  408. *YMoveThreshold: *
  409. *XMoveUnit: 300
  410. *YMoveUnit: 300
  411. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  412. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  413. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  414. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  415. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  416. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  417. *Command: CmdCR { *Cmd : "<0D>" }
  418. *Command: CmdLF { *Cmd : "<0A>" }
  419. *Command: CmdFF { *Cmd : "<0C>" }
  420. *EjectPageWithFF?: TRUE
  421. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  422. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  423. *OutputDataFormat: H_BYTE
  424. *OptimizeLeftBound?: FALSE
  425. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  426. *CursorYAfterSendBlockData: AUTO_INCREMENT
  427. *LookAheadRegion: 100
  428. *DefaultFont: 1
  429. *DefaultCTT: 0
  430. *CharPosition: BASELINE
  431. *switch: Orientation
  432. {
  433. *case: PORTRAIT
  434. {
  435. *DeviceFonts: LIST(1,2,6,8,9,14,15,79,80,81,82,86,87,88,89)
  436. }
  437. *case: LANDSCAPE_CC270
  438. {
  439. *DeviceFonts: LIST()
  440. }
  441. }
  442. *FontCartridge: FC1
  443. {
  444. *rcCartridgeNameID: 273
  445. *PortraitFonts: LIST(3,4,5)
  446. *LandscapeFonts: LIST()
  447. }
  448. *FontCartridge: FC2
  449. {
  450. *rcCartridgeNameID: 281
  451. *PortraitFonts: LIST(26,27,28,29,64,65,66,67,68,69,70,71,72,73)
  452. *LandscapeFonts: LIST()
  453. }
  454. *FontCartridge: FC3
  455. {
  456. *rcCartridgeNameID: 284
  457. *PortraitFonts: LIST(47,48,49,50,51,53)
  458. *LandscapeFonts: LIST()
  459. }
  460. *FontCartridge: FC4
  461. {
  462. *rcCartridgeNameID: 286
  463. *PortraitFonts: LIST(56,57,58,59,60,62)
  464. *LandscapeFonts: LIST()
  465. }
  466. *FontCartridge: FC5
  467. {
  468. *rcCartridgeNameID: 288
  469. *PortraitFonts: LIST(54)
  470. *LandscapeFonts: LIST()
  471. }
  472. *FontCartridge: FC6
  473. {
  474. *rcCartridgeNameID: 289
  475. *PortraitFonts: LIST(63)
  476. *LandscapeFonts: LIST()
  477. }
  478. *MinFontID: 1
  479. *MaxFontID: 99
  480. *FontFormat: HPPCL
  481. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  482. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  483. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  484. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  485. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }