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.

430 lines
11 KiB

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