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.

406 lines
14 KiB

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