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.

519 lines
14 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "DC110I.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Digital DECwriter 110i"
  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: AUTO
  31. *Option: AUTO
  32. {
  33. *rcNameID: =AUTO_DISPLAY
  34. *Command: CmdSelect
  35. {
  36. *Order: DOC_SETUP.2
  37. *Cmd: "<1B>&l1H"
  38. }
  39. }
  40. *Option: ENVMANUAL
  41. {
  42. *rcNameID: =ENV_MANUAL_DISPLAY
  43. *Command: CmdSelect
  44. {
  45. *Order: DOC_SETUP.2
  46. *Cmd: "<1B>&l3H"
  47. }
  48. }
  49. *Option: MANUAL
  50. {
  51. *rcNameID: =MANUAL_FEED_DISPLAY
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.2
  55. *Cmd: "<1B>&l3H"
  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: LETTER
  116. *Option: LETTER
  117. {
  118. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  119. *PrintableArea: PAIR(4796, 6108)
  120. *PrintableOrigin: PAIR(84, 132)
  121. *switch: Resolution
  122. {
  123. *case: Option3
  124. {
  125. *PrintableArea: PAIR(4792, 6104)
  126. *PrintableOrigin: PAIR(88, 136)
  127. }
  128. }
  129. *CursorOrigin: PAIR(84, 120)
  130. *Command: CmdSelect
  131. {
  132. *Order: DOC_SETUP.3
  133. *Cmd: "<1B>&l2A"
  134. }
  135. }
  136. *Option: LEGAL
  137. {
  138. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  139. *PrintableArea: PAIR(4796, 7908)
  140. *PrintableOrigin: PAIR(84, 132)
  141. *switch: Resolution
  142. {
  143. *case: Option3
  144. {
  145. *PrintableArea: PAIR(4792, 7904)
  146. *PrintableOrigin: PAIR(88, 136)
  147. }
  148. }
  149. *CursorOrigin: PAIR(84, 120)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.3
  153. *Cmd: "<1B>&l3A"
  154. }
  155. }
  156. *Option: A4
  157. {
  158. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  159. *PrintableArea: PAIR(4794, 6522)
  160. *PrintableOrigin: PAIR(84, 132)
  161. *switch: Resolution
  162. {
  163. *case: Option2
  164. {
  165. *PrintableArea: PAIR(4792, 6520)
  166. }
  167. *case: Option3
  168. {
  169. *PrintableArea: PAIR(4784, 6512)
  170. *PrintableOrigin: PAIR(88, 136)
  171. }
  172. }
  173. *CursorOrigin: PAIR(84, 120)
  174. *Command: CmdSelect
  175. {
  176. *Order: DOC_SETUP.3
  177. *Cmd: "<1B>&l26A"
  178. }
  179. }
  180. *Option: EXECUTIVE
  181. {
  182. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  183. *PrintableArea: PAIR(4182, 5808)
  184. *PrintableOrigin: PAIR(84, 132)
  185. *switch: Resolution
  186. {
  187. *case: Option2
  188. {
  189. *PrintableArea: PAIR(4180, 5808)
  190. }
  191. *case: Option3
  192. {
  193. *PrintableArea: PAIR(4176, 5800)
  194. *PrintableOrigin: PAIR(88, 136)
  195. }
  196. }
  197. *CursorOrigin: PAIR(84, 120)
  198. *Command: CmdSelect
  199. {
  200. *Order: DOC_SETUP.3
  201. *Cmd: "<1B>&l1a93A"
  202. }
  203. }
  204. *Option: Option5
  205. {
  206. *rcNameID: 258
  207. *PageDimensions: PAIR(4962, 3498)
  208. *PrintableArea: PAIR(4794, 3006)
  209. *PrintableOrigin: PAIR(84, 132)
  210. *switch: Resolution
  211. {
  212. *case: Option2
  213. {
  214. *PrintableArea: PAIR(4792, 3004)
  215. }
  216. *case: Option3
  217. {
  218. *PrintableArea: PAIR(4784, 3000)
  219. *PrintableOrigin: PAIR(88, 136)
  220. }
  221. }
  222. *CursorOrigin: PAIR(84, 120)
  223. *Command: CmdSelect
  224. {
  225. *Order: DOC_SETUP.3
  226. *Cmd: "<1B>&l29A"
  227. }
  228. }
  229. *Option: ENV_10
  230. {
  231. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  232. *RotateSize? : TRUE
  233. *PrintableArea: PAIR(4796, 1986)
  234. *PrintableOrigin: PAIR(724, 132)
  235. *switch: Resolution
  236. {
  237. *case: Option2
  238. {
  239. *PrintableArea: PAIR(4796, 1984)
  240. }
  241. *case: Option3
  242. {
  243. *PrintableArea: PAIR(4792, 1976)
  244. *PrintableOrigin: PAIR(728, 136)
  245. }
  246. }
  247. *CursorOrigin: PAIR(724, 120)
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.3
  251. *Cmd: "<1B>&l81A"
  252. }
  253. }
  254. *Option: ENV_C5
  255. {
  256. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  257. *RotateSize? : TRUE
  258. *PrintableArea: PAIR(4796, 3336)
  259. *PrintableOrigin: PAIR(436, 132)
  260. *switch: Resolution
  261. {
  262. *case: Option3
  263. {
  264. *PrintableArea: PAIR(4792, 3328)
  265. *PrintableOrigin: PAIR(440, 136)
  266. }
  267. }
  268. *CursorOrigin: PAIR(436, 120)
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.3
  272. *Cmd: "<1B>&l91A"
  273. }
  274. }
  275. *Option: ENV_DL
  276. {
  277. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  278. *RotateSize? : TRUE
  279. *PrintableArea: PAIR(4796, 2106)
  280. *PrintableOrigin: PAIR(220, 132)
  281. *switch: Resolution
  282. {
  283. *case: Option2
  284. {
  285. *PrintableArea: PAIR(4796, 2104)
  286. }
  287. *case: Option3
  288. {
  289. *PrintableArea: PAIR(4792, 2096)
  290. *PrintableOrigin: PAIR(224, 136)
  291. }
  292. }
  293. *CursorOrigin: PAIR(220, 120)
  294. *Command: CmdSelect
  295. {
  296. *Order: DOC_SETUP.3
  297. *Cmd: "<1B>&l90A"
  298. }
  299. }
  300. *Option: CUSTOMSIZE
  301. {
  302. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  303. *MinSize: PAIR(4350, 2474)
  304. *MaxSize: PAIR(5100, 8400)
  305. *MaxPrintableWidth: 4800
  306. *MinLeftMargin: 0
  307. *CenterPrintable?: FALSE
  308. *TopMargin: 0
  309. *BottomMargin: 360
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.3
  313. *Cmd: "<1B>&l0A"
  314. }
  315. }
  316. }
  317. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.EXECUTIVE)
  318. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  319. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  320. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  321. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  322. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  323. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  324. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  325. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.EXECUTIVE)
  326. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option5)
  327. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  328. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  329. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  330. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  331. *Feature: MediaType
  332. {
  333. *rcNameID: =MEDIA_TYPE_DISPLAY
  334. *DefaultOption: Option1
  335. *Option: Option1
  336. {
  337. *rcNameID: 261
  338. }
  339. *Option: TRANSPARENCY
  340. {
  341. *rcNameID: =TRANSPARENCY_DISPLAY
  342. *Command: CmdSelect
  343. {
  344. *Order: DOC_SETUP.8
  345. *Cmd: "<1B>*o2Q"
  346. }
  347. }
  348. }
  349. *Feature: PrintQuality
  350. {
  351. *rcNameID: =TEXT_QUALITY_DISPLAY
  352. *DefaultOption: LETTER_QUALITY
  353. *Option: LETTER_QUALITY
  354. {
  355. *rcNameID: =LETTER_QUALITY_DISPLAY
  356. *Command: CmdSelect
  357. {
  358. *Order: DOC_SETUP.7
  359. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*p2N"
  360. }
  361. }
  362. *Option: DRAFT_QUALITY
  363. {
  364. *rcNameID: =DRAFT_QUALITY_DISPLAY
  365. *Command: CmdSelect
  366. {
  367. *Order: DOC_SETUP.7
  368. *Cmd: "<1B>(s1Q<1B>*r1Q"
  369. }
  370. }
  371. *Option: Option3
  372. {
  373. *rcNameID: 272
  374. *Command: CmdSelect
  375. {
  376. *Order: DOC_SETUP.7
  377. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o2Q<1B>*p2N"
  378. }
  379. }
  380. }
  381. *Feature: Halftone
  382. {
  383. *rcNameID: =HALFTONING_DISPLAY
  384. *DefaultOption: HT_PATSIZE_AUTO
  385. *Option: HT_PATSIZE_AUTO
  386. {
  387. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  388. }
  389. *Ifdef: WINNT_50
  390. *Option: HT_PATSIZE_SUPERCELL_M
  391. {
  392. *rcNameID: =HT_SUPERCELL_DISPLAY
  393. }
  394. *Endif:
  395. *Option: HT_PATSIZE_6x6_M
  396. {
  397. *rcNameID: =HT_DITHER6X6_DISPLAY
  398. }
  399. *Option: HT_PATSIZE_8x8_M
  400. {
  401. *rcNameID: =HT_DITHER8X8_DISPLAY
  402. }
  403. }
  404. *Feature: Memory
  405. {
  406. *rcNameID: =PRINTER_MEMORY_DISPLAY
  407. *DefaultOption: 1KB
  408. *Option: 1KB
  409. {
  410. *Name: "1KB"
  411. *MemoryConfigKB: PAIR(1, 1)
  412. }
  413. *Option: 256KB
  414. {
  415. *Name: "256KB"
  416. *MemoryConfigKB: PAIR(256, 256)
  417. }
  418. }
  419. *Command: CmdStartDoc
  420. {
  421. *Order: DOC_SETUP.1
  422. *Cmd: "<00000000000000001B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*r1U<1B>*o1D<1B>*o0Q<1B>*p1N"
  423. }
  424. *Command: CmdStartPage
  425. {
  426. *Order: PAGE_SETUP.1
  427. *Cmd: "<0D>"
  428. }
  429. *Command: CmdEndJob
  430. {
  431. *Order: JOB_FINISH.1
  432. *Cmd: "<1B>E"
  433. }
  434. *Command: CmdEndPage
  435. {
  436. *Order: PAGE_FINISH.1
  437. *Cmd: "<0D>"
  438. }
  439. *RotateCoordinate?: FALSE
  440. *RotateRaster?: FALSE
  441. *RotateFont?: FALSE
  442. *switch: Orientation
  443. {
  444. *case: PORTRAIT
  445. {
  446. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  447. }
  448. *case: LANDSCAPE_CC270
  449. {
  450. *TextCaps: LIST()
  451. }
  452. }
  453. *MemoryUsage: LIST(FONT)
  454. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  455. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  456. *XMoveThreshold: 0
  457. *YMoveThreshold: *
  458. *XMoveUnit: 300
  459. *YMoveUnit: 300
  460. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  461. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  462. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  463. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  464. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  465. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  466. *Command: CmdCR { *Cmd : "<0D>" }
  467. *Command: CmdLF { *Cmd : "<0A>" }
  468. *Command: CmdFF { *Cmd : "<0C>" }
  469. *EjectPageWithFF?: TRUE
  470. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  471. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  472. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  473. *OutputDataFormat: H_BYTE
  474. *OptimizeLeftBound?: FALSE
  475. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  476. *CursorYAfterSendBlockData: AUTO_INCREMENT
  477. *LookAheadRegion: 200
  478. *DefaultFont: 1
  479. *DefaultCTT: 0
  480. *CharPosition: BASELINE
  481. *switch: Orientation
  482. {
  483. *case: PORTRAIT
  484. {
  485. *DeviceFonts: LIST(1,2,6,7,8,9,14,15,75,76,77,78,79,80,81,82,
  486. + 86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,
  487. + 102,103,104,105,106,107,108,109,110,111,112,113,114)
  488. }
  489. *case: LANDSCAPE_CC270
  490. {
  491. *DeviceFonts: LIST()
  492. }
  493. }
  494. *FontCartridge: FC1
  495. {
  496. *rcCartridgeNameID: 273
  497. *PortraitFonts: LIST(3,4,5)
  498. *LandscapeFonts: LIST()
  499. }
  500. *FontCartridge: FC2
  501. {
  502. *rcCartridgeNameID: 285
  503. *PortraitFonts: LIST(46,47,48,49,50,51,52,53,54)
  504. *LandscapeFonts: LIST()
  505. }
  506. *FontCartridge: FC3
  507. {
  508. *rcCartridgeNameID: 287
  509. *PortraitFonts: LIST(55,56,57,58,59,60,61,62,63)
  510. *LandscapeFonts: LIST()
  511. }
  512. *MinFontID: 1
  513. *MaxFontID: 99
  514. *FontFormat: HPPCL
  515. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  516. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  517. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  518. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  519. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }