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.

370 lines
12 KiB

  1. *%%
  2. *%% NEC PICTY 920
  3. *%%
  4. *%% Copyright 1998-1999 Hewlett-Packard Co.
  5. *%% Copyright 1998 - 2000, Microsoft Corp.
  6. *%% All Rights Reserved.
  7. *%%
  8. *Include: "hpvdj89x.gpd"
  9. *%%
  10. *%% Global Entries
  11. *%%
  12. *GPDSpecVersion: "1.0"
  13. *GPDFileVersion: "1.0"
  14. *%% *ModelName: "HP DeskJet 895Cxi"
  15. *%% *GPDFileName: "HPVDJ89I.GPD"
  16. *ModelName: "NEC PICTY 920"
  17. *GPDFileName: "NCVDJ920.GPD"
  18. *PrintRate: 11
  19. *PrintRateUnit: PPM
  20. *%%
  21. *%% Japanese specific entries
  22. *%%
  23. *Feature: PaperSize
  24. {
  25. *Option: JENV_CHOU3
  26. {
  27. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  28. *Command: CmdSelect
  29. {
  30. *Order: DOC_SETUP.30
  31. *Cmd: "<1B>&l110A"
  32. }
  33. *switch: Orientation
  34. {
  35. *case: PORTRAIT
  36. {
  37. *PrintableArea: PAIR(2682, 5232)
  38. *PrintableOrigin: PAIR(76, 42)
  39. *CursorOrigin: PAIR(76, 42)
  40. }
  41. *case: LANDSCAPE_CC270
  42. {
  43. *PrintableArea: PAIR(2682, 5232)
  44. *PrintableOrigin: PAIR(76, 42)
  45. *CursorOrigin: PAIR(2758, 42)
  46. }
  47. }
  48. }
  49. *Option: JENV_CHOU4
  50. {
  51. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  52. *Command: CmdSelect
  53. {
  54. *Order: DOC_SETUP.30
  55. *Cmd: "<1B>&l111A"
  56. }
  57. *switch: Orientation
  58. {
  59. *case: PORTRAIT
  60. {
  61. *PrintableArea: PAIR(1972, 4524)
  62. *PrintableOrigin: PAIR(76, 42)
  63. *CursorOrigin: PAIR(76, 42)
  64. }
  65. *case: LANDSCAPE_CC270
  66. {
  67. *PrintableArea: PAIR(1972, 4524)
  68. *PrintableOrigin: PAIR(76, 42)
  69. *CursorOrigin: PAIR(2048, 42)
  70. }
  71. }
  72. }
  73. *Option: JENV_YOU2
  74. {
  75. *rcNameID: 1291
  76. *PageDimensions: PAIR(2692, 3826)
  77. *Command: CmdSelect
  78. {
  79. *Order: DOC_SETUP.30
  80. *Cmd: "<1B>&l112A"
  81. }
  82. *switch: Orientation
  83. {
  84. *case: PORTRAIT
  85. {
  86. *PrintableArea: PAIR(2540, 3508)
  87. *PrintableOrigin: PAIR(76, 42)
  88. *CursorOrigin: PAIR(76, 42)
  89. }
  90. *case: LANDSCAPE_CC270
  91. {
  92. *PrintableArea: PAIR(2540, 3508)
  93. *PrintableOrigin: PAIR(76, 42)
  94. *CursorOrigin: PAIR(2616, 42)
  95. }
  96. }
  97. }
  98. *Option: CUSTOMSIZE
  99. {
  100. *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  101. *MinSize: PAIR(1800, 1800)
  102. *MaxSize: PAIR(5100, 8400)
  103. *MaxPrintableWidth: 1
  104. *MinLeftMargin: 76
  105. *CenterPrintable?: FALSE
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.30
  109. *Cmd: =PCL_CUSTOMSIZE
  110. }
  111. *switch: Orientation
  112. {
  113. *case: PORTRAIT
  114. {
  115. *CustCursorOriginX: %d{152}
  116. *CustCursorOriginY: %d{24}
  117. *CustPrintableOriginX: %d{152}
  118. *CustPrintableOriginY: %d{24}
  119. *CustPrintableSizeX: %d{PhysPaperWidth - 304}
  120. *CustPrintableSizeY: %d{PhysPaperLength - 324}
  121. }
  122. *case: LANDSCAPE_CC270
  123. {
  124. *CustCursorOriginX: %d{PhysPaperWidth - 152}
  125. *CustCursorOriginY: %d{24}
  126. *CustPrintableOriginX: %d{152}
  127. *CustPrintableOriginY: %d{24}
  128. *CustPrintableSizeX: %d{PhysPaperWidth - 304}
  129. *CustPrintableSizeY: %d{PhysPaperLength - 324}
  130. }
  131. }
  132. }
  133. }
  134. *Feature: MediaType
  135. {
  136. *Option: PICTY_SPECIAL_PAPER
  137. {
  138. *rcNameID: 1695
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.45
  142. *Cmd: =PCL_MEDIA_SPECIAL
  143. }
  144. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  145. }
  146. *Option: PICTY_SPECIAL_POSTCARD
  147. {
  148. *rcNameID: 1696
  149. *Command: CmdSelect
  150. {
  151. *Order: DOC_SETUP.45
  152. *Cmd: =PCL_MEDIA_SPECIAL
  153. }
  154. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  155. }
  156. *Option: PICTY_SPECIAL_TRANSPARENCY_FILM
  157. {
  158. *rcNameID: 1697
  159. *Command: CmdSelect
  160. {
  161. *Order: DOC_SETUP.45
  162. *Cmd: =PCL_MEDIA_TRANSPARENCY
  163. }
  164. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  165. }
  166. *Option: PICTY_HIGH_QUALITY_POSTCARD
  167. {
  168. *rcNameID: 1690
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.45
  172. *Cmd: =PCL_MEDIA_GLOSSY
  173. }
  174. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  175. }
  176. *Option: PICTY_INKJET_POSTCARD
  177. {
  178. *rcNameID: 1691
  179. *Command: CmdSelect
  180. {
  181. *Order: DOC_SETUP.45
  182. *Cmd: =PCL_MEDIA_SPECIAL
  183. }
  184. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  185. }
  186. *Option: PICTY_PHOTO_GLOSSY_PAPER
  187. {
  188. *rcNameID: 1692
  189. *Command: CmdSelect
  190. {
  191. *Order: DOC_SETUP.45
  192. *Cmd: =PCL_MEDIA_GLOSSY
  193. }
  194. EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  195. }
  196. }
  197. *switch: MediaType
  198. {
  199. *case: PICTY_SPECIAL_PAPER
  200. {
  201. *switch: ColorMode
  202. {
  203. *case: Mono
  204. {
  205. *DraftQualitySettings: LIST()
  206. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  207. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  208. *DefaultQuality: BESTQUALITY
  209. }
  210. *case: Gray8
  211. {
  212. *DraftQualitySettings: LIST()
  213. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  214. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  215. *DefaultQuality: BESTQUALITY
  216. }
  217. *default:
  218. {
  219. *DraftQualitySettings: LIST()
  220. *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  221. *BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  222. *DefaultQuality: BESTQUALITY
  223. }
  224. }
  225. }
  226. *case: PICTY_SPECIAL_POSTCARD
  227. {
  228. *switch: ColorMode
  229. {
  230. *case: Mono
  231. {
  232. *DraftQualitySettings: LIST()
  233. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  234. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  235. *DefaultQuality: BESTQUALITY
  236. }
  237. *case: Gray8
  238. {
  239. *DraftQualitySettings: LIST()
  240. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  241. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  242. *DefaultQuality: BESTQUALITY
  243. }
  244. *default:
  245. {
  246. *DraftQualitySettings: LIST()
  247. *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  248. *BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  249. *DefaultQuality: BESTQUALITY
  250. }
  251. }
  252. }
  253. *case: PICTY_SPECIAL_TRANSPARENCY_FILM
  254. {
  255. *switch: ColorMode
  256. {
  257. *case: Mono
  258. {
  259. *DraftQualitySettings: LIST()
  260. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  261. *BestQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
  262. *DefaultQuality: BETTERQUALITY
  263. }
  264. *case: Gray8
  265. {
  266. *DraftQualitySettings: LIST()
  267. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  268. *BestQualitySettings: LIST(ColorMode.Gray8, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
  269. *DefaultQuality: BETTERQUALITY
  270. }
  271. *default:
  272. {
  273. *DraftQualitySettings: LIST()
  274. *BetterQualitySettings: LIST(ColorMode.Color24, PM.TransparencyNormal, PQ.Normal, Resolution.r300x300)
  275. *BestQualitySettings: LIST(ColorMode.Color24, PM.TransparencyBest, PQ.Best, Resolution.r600x600)
  276. *DefaultQuality: BETTERQUALITY
  277. }
  278. }
  279. }
  280. *case: PICTY_HIGH_QUALITY_POSTCARD
  281. {
  282. *switch: ColorMode
  283. {
  284. *case: Mono
  285. {
  286. *DraftQualitySettings: LIST()
  287. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  288. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  289. *DefaultQuality: BESTQUALITY
  290. }
  291. *case: Gray8
  292. {
  293. *DraftQualitySettings: LIST()
  294. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  295. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  296. *DefaultQuality: BESTQUALITY
  297. }
  298. *default:
  299. {
  300. *DraftQualitySettings: LIST()
  301. *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  302. *BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  303. *DefaultQuality: BESTQUALITY
  304. }
  305. }
  306. }
  307. *case: PICTY_INKJET_POSTCARD
  308. {
  309. *switch: ColorMode
  310. {
  311. *case: Mono
  312. {
  313. *DraftQualitySettings: LIST()
  314. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  315. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  316. *DefaultQuality: BESTQUALITY
  317. }
  318. *case: Gray8
  319. {
  320. *DraftQualitySettings: LIST()
  321. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  322. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  323. *DefaultQuality: BESTQUALITY
  324. }
  325. *default:
  326. {
  327. *DraftQualitySettings: LIST()
  328. *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  329. *BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  330. *DefaultQuality: BESTQUALITY
  331. }
  332. }
  333. }
  334. *case: PICTY_PHOTO_GLOSSY_PAPER
  335. {
  336. *switch: ColorMode
  337. {
  338. *case: Mono
  339. {
  340. *DraftQualitySettings: LIST()
  341. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  342. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  343. *DefaultQuality: BESTQUALITY
  344. }
  345. *case: Gray8
  346. {
  347. *DraftQualitySettings: LIST()
  348. *BetterQualitySettings: LIST(ColorMode.Gray8, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  349. *BestQualitySettings: LIST(ColorMode.Gray8, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  350. *DefaultQuality: BESTQUALITY
  351. }
  352. *default:
  353. {
  354. *DraftQualitySettings: LIST()
  355. *BetterQualitySettings: LIST(ColorMode.Color24, PM.SpecialNormal, PQ.Normal, Resolution.r300x300)
  356. *BestQualitySettings: LIST(ColorMode.Color24, PM.SpecialBest, PQ.Best, Resolution.r600x600)
  357. *DefaultQuality: BESTQUALITY
  358. }
  359. }
  360. }
  361. }