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
13 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "OLJP370M.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Olivetti JP 370 (Monochrome)"
  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, 162)
  120. *switch: Resolution
  121. {
  122. *case: Option3
  123. {
  124. *PrintableArea: PAIR(4792, 6104)
  125. *PrintableOrigin: PAIR(88, 136)
  126. }
  127. }
  128. *CursorOrigin: PAIR(84, 60)
  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, 162)
  140. *switch: Resolution
  141. {
  142. *case: Option3
  143. {
  144. *PrintableArea: PAIR(4792, 7904)
  145. *PrintableOrigin: PAIR(88, 136)
  146. }
  147. }
  148. *CursorOrigin: PAIR(84, 60)
  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, 162)
  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, 60)
  173. *Command: CmdSelect
  174. {
  175. *Order: DOC_SETUP.3
  176. *Cmd: "<1B>&l26A"
  177. }
  178. }
  179. *Option: EXECUTIVE
  180. {
  181. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  182. *PrintableArea: PAIR(4182, 5808)
  183. *PrintableOrigin: PAIR(84, 132)
  184. *switch: Resolution
  185. {
  186. *case: Option2
  187. {
  188. *PrintableArea: PAIR(4180, 5808)
  189. }
  190. *case: Option3
  191. {
  192. *PrintableArea: PAIR(4176, 5800)
  193. *PrintableOrigin: PAIR(88, 136)
  194. }
  195. }
  196. *CursorOrigin: PAIR(84, 120)
  197. *Command: CmdSelect
  198. {
  199. *Order: DOC_SETUP.3
  200. *Cmd: "<1B>&l1a93A"
  201. }
  202. }
  203. *Option: Option5
  204. {
  205. *rcNameID: 258
  206. *PageDimensions: PAIR(4962, 3498)
  207. *PrintableArea: PAIR(4794, 3006)
  208. *PrintableOrigin: PAIR(84, 132)
  209. *switch: Resolution
  210. {
  211. *case: Option2
  212. {
  213. *PrintableArea: PAIR(4792, 3004)
  214. }
  215. *case: Option3
  216. {
  217. *PrintableArea: PAIR(4784, 3000)
  218. *PrintableOrigin: PAIR(88, 136)
  219. }
  220. }
  221. *CursorOrigin: PAIR(84, 120)
  222. *Command: CmdSelect
  223. {
  224. *Order: DOC_SETUP.3
  225. *Cmd: "<1B>&l29A"
  226. }
  227. }
  228. *Option: ENV_10
  229. {
  230. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  231. *RotateSize? : TRUE
  232. *PrintableArea: PAIR(4800, 1578)
  233. *PrintableOrigin: PAIR(150, 540)
  234. *switch: Resolution
  235. {
  236. *case: Option2
  237. {
  238. *PrintableArea: PAIR(4796, 1576)
  239. *PrintableOrigin: PAIR(152, 540)
  240. }
  241. *case: Option3
  242. {
  243. *PrintableArea: PAIR(4792, 1568)
  244. *PrintableOrigin: PAIR(152, 544)
  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(4800, 3168)
  259. *PrintableOrigin: PAIR(150, 300)
  260. *switch: Resolution
  261. {
  262. *case: Option2
  263. {
  264. *PrintableArea: PAIR(4796, 3168)
  265. *PrintableOrigin: PAIR(152, 300)
  266. }
  267. *case: Option3
  268. {
  269. *PrintableArea: PAIR(4792, 3160)
  270. *PrintableOrigin: PAIR(152, 304)
  271. }
  272. }
  273. *CursorOrigin: PAIR(436, 120)
  274. *Command: CmdSelect
  275. {
  276. *Order: DOC_SETUP.3
  277. *Cmd: "<1B>&l91A"
  278. }
  279. }
  280. *Option: ENV_DL
  281. {
  282. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  283. *RotateSize? : TRUE
  284. *PrintableArea: PAIR(4796, 2106)
  285. *PrintableOrigin: PAIR(220, 132)
  286. *switch: Resolution
  287. {
  288. *case: Option2
  289. {
  290. *PrintableArea: PAIR(4796, 2104)
  291. }
  292. *case: Option3
  293. {
  294. *PrintableArea: PAIR(4792, 2096)
  295. *PrintableOrigin: PAIR(224, 136)
  296. }
  297. }
  298. *CursorOrigin: PAIR(220, 120)
  299. *Command: CmdSelect
  300. {
  301. *Order: DOC_SETUP.3
  302. *Cmd: "<1B>&l90A"
  303. }
  304. }
  305. *Option: CUSTOMSIZE
  306. {
  307. *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  308. *MinSize: PAIR(4350, 2474)
  309. *MaxSize: PAIR(5100, 8400)
  310. *MaxPrintableWidth: 4800
  311. *MinLeftMargin: 0
  312. *CenterPrintable?: FALSE
  313. *TopMargin: 0
  314. *BottomMargin: 360
  315. *Command: CmdSelect
  316. {
  317. *Order: DOC_SETUP.3
  318. *Cmd: "<1B>&l0A"
  319. }
  320. }
  321. }
  322. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.EXECUTIVE)
  323. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_10)
  324. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_C5)
  325. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.ENV_DL)
  326. *InvalidCombination: LIST(InputBin.AUTO, PaperSize.CUSTOMSIZE)
  327. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LETTER)
  328. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.LEGAL)
  329. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.A4)
  330. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.EXECUTIVE)
  331. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.Option5)
  332. *InvalidCombination: LIST(InputBin.ENVMANUAL, PaperSize.CUSTOMSIZE)
  333. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_10)
  334. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_C5)
  335. *InvalidCombination: LIST(InputBin.MANUAL, PaperSize.ENV_DL)
  336. *Feature: MediaType
  337. {
  338. *rcNameID: =MEDIA_TYPE_DISPLAY
  339. *DefaultOption: Option1
  340. *Option: Option1
  341. {
  342. *rcNameID: 261
  343. }
  344. *Option: TRANSPARENCY
  345. {
  346. *rcNameID: =TRANSPARENCY_DISPLAY
  347. *Command: CmdSelect
  348. {
  349. *Order: DOC_SETUP.8
  350. *Cmd: "<1B>*o2Q"
  351. }
  352. }
  353. }
  354. *Feature: PrintQuality
  355. {
  356. *rcNameID: =TEXT_QUALITY_DISPLAY
  357. *DefaultOption: LETTER_QUALITY
  358. *Option: LETTER_QUALITY
  359. {
  360. *rcNameID: =LETTER_QUALITY_DISPLAY
  361. *Command: CmdSelect
  362. {
  363. *Order: DOC_SETUP.7
  364. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*p2N"
  365. }
  366. }
  367. *Option: DRAFT_QUALITY
  368. {
  369. *rcNameID: =DRAFT_QUALITY_DISPLAY
  370. *Command: CmdSelect
  371. {
  372. *Order: DOC_SETUP.7
  373. *Cmd: "<1B>(s1Q<1B>*r1Q"
  374. }
  375. }
  376. *Option: Option3
  377. {
  378. *rcNameID: 272
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.7
  382. *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o1D<1B>*o2Q<1B>*p2N"
  383. }
  384. }
  385. }
  386. *Feature: Halftone
  387. {
  388. *rcNameID: =HALFTONING_DISPLAY
  389. *DefaultOption: HT_PATSIZE_AUTO
  390. *Option: HT_PATSIZE_AUTO
  391. {
  392. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  393. }
  394. *Ifdef: WINNT_50
  395. *Option: HT_PATSIZE_SUPERCELL_M
  396. {
  397. *rcNameID: =HT_SUPERCELL_DISPLAY
  398. }
  399. *Endif:
  400. *Option: HT_PATSIZE_6x6_M
  401. {
  402. *rcNameID: =HT_DITHER6X6_DISPLAY
  403. }
  404. *Option: HT_PATSIZE_8x8_M
  405. {
  406. *rcNameID: =HT_DITHER8X8_DISPLAY
  407. }
  408. }
  409. *Command: CmdStartDoc
  410. {
  411. *Order: DOC_SETUP.1
  412. *Cmd: "<00000000000000001B070000071B>E<1B>&l0o0L<1B>&k1w5w0G<1B>*r1U<1B>*o1D<1B>*o0Q<1B>"
  413. + "*p1N"
  414. }
  415. *Command: CmdStartPage
  416. {
  417. *Order: PAGE_SETUP.1
  418. *Cmd: "<0D>"
  419. }
  420. *Command: CmdEndJob
  421. {
  422. *Order: JOB_FINISH.1
  423. *Cmd: "<1B>E<1B07000000>"
  424. }
  425. *Command: CmdEndPage
  426. {
  427. *Order: PAGE_FINISH.1
  428. *Cmd: "<0D>"
  429. }
  430. *RotateCoordinate?: FALSE
  431. *RotateRaster?: FALSE
  432. *RotateFont?: FALSE
  433. *switch: Orientation
  434. {
  435. *case: PORTRAIT
  436. {
  437. *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  438. }
  439. *case: LANDSCAPE_CC270
  440. {
  441. *TextCaps: LIST()
  442. }
  443. }
  444. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  445. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT)
  446. *XMoveThreshold: 0
  447. *YMoveThreshold: *
  448. *XMoveUnit: 300
  449. *YMoveUnit: 300
  450. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  451. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  452. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  453. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  454. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  455. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  456. *Command: CmdCR { *Cmd : "<0D>" }
  457. *Command: CmdLF { *Cmd : "<0A>" }
  458. *Command: CmdFF { *Cmd : "<0C>" }
  459. *EjectPageWithFF?: TRUE
  460. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  461. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  462. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  463. *OutputDataFormat: H_BYTE
  464. *OptimizeLeftBound?: FALSE
  465. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  466. *CursorYAfterSendBlockData: AUTO_INCREMENT
  467. *LookAheadRegion: 200
  468. *DefaultFont: 1
  469. *DefaultCTT: 0
  470. *CharPosition: BASELINE
  471. *switch: Orientation
  472. {
  473. *case: PORTRAIT
  474. {
  475. *DeviceFonts: LIST(1,2,6,7,8,9,75,76,77,78,79,80,81,82,86,87,
  476. + 88,89,104,105,106,107,108,109,110,111,112,113,114,115,116,117,
  477. + 118,119,120,121,122,123,124,125,126,127,128,129,130)
  478. }
  479. *case: LANDSCAPE_CC270
  480. {
  481. *DeviceFonts: LIST()
  482. }
  483. }
  484. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  485. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }