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.

368 lines
12 KiB

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