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.

470 lines
10 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "CTPTV170.GPD"
  7. *Include: "STDNAMES.GPD"
  8. *GPDFileVersion: "1.00"
  9. *CodePage: 1252
  10. *ModelName: "Citizen Printiva 1700"
  11. *MasterUnits: PAIR(1200, 1200)
  12. *ResourceDLL: "ALPSRES.DLL"
  13. *PrinterType: SERIAL
  14. *OutputOrderReversed?: TRUE
  15. *Feature: Orientation
  16. {
  17. *rcNameID: =ORIENTATION_DISPLAY
  18. *DefaultOption: PORTRAIT
  19. *Option: PORTRAIT
  20. {
  21. *rcNameID: =PORTRAIT_DISPLAY
  22. }
  23. *Option: LANDSCAPE_CC270
  24. {
  25. *rcNameID: =LANDSCAPE_DISPLAY
  26. }
  27. }
  28. *Feature: InputBin
  29. {
  30. *rcNameID: =PAPER_SOURCE_DISPLAY
  31. *DefaultOption: AUTO
  32. *Option: AUTO
  33. {
  34. *rcNameID: =AUTO_DISPLAY
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.4
  38. *CallbackID: 70
  39. }
  40. }
  41. *Option: MANUAL
  42. {
  43. *rcNameID: =MANUAL_FEED_DISPLAY
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.4
  47. *CallbackID: 71
  48. }
  49. }
  50. }
  51. *Feature: Resolution
  52. {
  53. *rcNameID: =RESOLUTION_DISPLAY
  54. *DefaultOption: Option2
  55. *Option: Option1
  56. {
  57. *Name: "600 x 600 dots per inch"
  58. *DPI: PAIR(600, 600)
  59. *TextDPI: PAIR(600, 600)
  60. *MinStripBlankPixels: 10
  61. *SpotDiameter: 100
  62. EXTERN_GLOBAL: *YMoveThreshold: *
  63. EXTERN_GLOBAL: *YMoveUnit: 600
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.2
  67. *CallbackID: 11
  68. }
  69. }
  70. *Option: Option2
  71. {
  72. *Name: "300 x 300 dots per inch"
  73. *DPI: PAIR(300, 300)
  74. *TextDPI: PAIR(300, 300)
  75. *MinStripBlankPixels: 10
  76. *SpotDiameter: 100
  77. EXTERN_GLOBAL: *YMoveThreshold: *
  78. EXTERN_GLOBAL: *YMoveUnit: 300
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.2
  82. *CallbackID: 12
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *Name: "1200 x 600 dots per inch"
  88. *DPI: PAIR(1200, 600)
  89. *TextDPI: PAIR(1200, 600)
  90. *MinStripBlankPixels: 10
  91. *SpotDiameter: 10100
  92. EXTERN_GLOBAL: *YMoveThreshold: *
  93. EXTERN_GLOBAL: *YMoveUnit: 600
  94. *Command: CmdSelect
  95. {
  96. *Order: DOC_SETUP.2
  97. *CallbackID: 10
  98. }
  99. *Constraints: ColorMode.24bpp
  100. }
  101. }
  102. *Feature: PaperSize
  103. {
  104. *rcNameID: =PAPER_SIZE_DISPLAY
  105. *DefaultOption: A4
  106. *Option: LETTER
  107. {
  108. *rcNameID: =LETTER_DISPLAY
  109. *PrintableArea: PAIR(9600, 11836)
  110. *PrintableOrigin: PAIR(300, 568)
  111. *Command: CmdSelect
  112. {
  113. *Order: DOC_SETUP.3
  114. *CallbackID: 5
  115. }
  116. }
  117. *Option: LEGAL
  118. {
  119. *rcNameID: =LEGAL_DISPLAY
  120. *PrintableArea: PAIR(9600, 15422)
  121. *PrintableOrigin: PAIR(300, 568)
  122. *switch: Resolution
  123. {
  124. *case: Option2
  125. {
  126. *PrintableArea: PAIR(9600, 15420)
  127. }
  128. }
  129. *Command: CmdSelect
  130. {
  131. *Order: DOC_SETUP.3
  132. *CallbackID: 4
  133. }
  134. }
  135. *Option: EXECUTIVE
  136. {
  137. *rcNameID: =EXECUTIVE_DISPLAY
  138. *PrintableArea: PAIR(8380, 11238)
  139. *PrintableOrigin: PAIR(160, 568)
  140. *switch: Resolution
  141. {
  142. *case: Option2
  143. {
  144. *PrintableArea: PAIR(8380, 11236)
  145. }
  146. }
  147. *Command: CmdSelect
  148. {
  149. *Order: DOC_SETUP.3
  150. *CallbackID: 3
  151. }
  152. }
  153. *Option: A4
  154. {
  155. *rcNameID: =A4_DISPLAY
  156. *PrintableArea: PAIR(9600, 12660)
  157. *PrintableOrigin: PAIR(160, 568)
  158. *Command: CmdSelect
  159. {
  160. *Order: DOC_SETUP.3
  161. *CallbackID: 1
  162. }
  163. }
  164. *Option: B5
  165. {
  166. *rcNameID: =B5_DISPLAY
  167. *PrintableArea: PAIR(8284, 10784)
  168. *PrintableOrigin: PAIR(160, 568)
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.3
  172. *CallbackID: 2
  173. }
  174. }
  175. *Option: JAPANESE_POSTCARD
  176. {
  177. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  178. *PrintableArea: PAIR(4408, 5656)
  179. *PrintableOrigin: PAIR(160, 568)
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.3
  183. *CallbackID: 6
  184. }
  185. }
  186. *Option: DBL_JAPANESE_POSTCARD
  187. {
  188. *rcNameID: =DBL_JAPANESE_POSTCARD_DISPLAY
  189. *PrintableArea: PAIR(9124, 5656)
  190. *PrintableOrigin: PAIR(160, 568)
  191. *Command: CmdSelect
  192. {
  193. *Order: DOC_SETUP.3
  194. *CallbackID: 7
  195. }
  196. *Constraints: InputBin.AUTO
  197. }
  198. }
  199. *Feature: MediaType
  200. {
  201. *rcNameID: =MEDIA_TYPE_DISPLAY
  202. *DefaultOption: PPC_PAPER
  203. *Option: PPC_PAPER
  204. {
  205. *rcNameID: 259
  206. *Command: CmdSelect
  207. {
  208. *Order: DOC_SETUP.5
  209. *CallbackID: 40
  210. }
  211. }
  212. *Option: PPC_PAPER_FINE
  213. {
  214. *rcNameID: 260
  215. *Command: CmdSelect
  216. {
  217. *Order: DOC_SETUP.5
  218. *CallbackID: 41
  219. }
  220. *Constraints: ColorMode.24bpp
  221. }
  222. *Option: OHP_SHEET
  223. {
  224. *rcNameID: 261
  225. *Command: CmdSelect
  226. {
  227. *Order: DOC_SETUP.5
  228. *CallbackID: 42
  229. }
  230. }
  231. *Option: IRON_PRINT_SHEET
  232. {
  233. *rcNameID: 263
  234. *Command: CmdSelect
  235. {
  236. *Order: DOC_SETUP.5
  237. *CallbackID: 46
  238. }
  239. *Constraints: InputBin.AUTO
  240. }
  241. *Option: THICK_PAPER
  242. {
  243. *rcNameID: 264
  244. *Command: CmdSelect
  245. {
  246. *Order: DOC_SETUP.5
  247. *CallbackID: 48
  248. }
  249. *Constraints: InputBin.AUTO
  250. }
  251. *Option: POATCARD
  252. {
  253. *rcNameID: 265
  254. *Command: CmdSelect
  255. {
  256. *Order: DOC_SETUP.5
  257. *CallbackID: 49
  258. }
  259. *Constraints: PaperSize.LETTER
  260. *Constraints: PaperSize.LEGAL
  261. *Constraints: PaperSize.EXECUTIVE
  262. *Constraints: PaperSize.A4
  263. *Constraints: PaperSize.B5
  264. *Constraints: PaperSize.DBL_JAPANESE_POSTCARD
  265. }
  266. *Option: HIGH_GRADE_PAPER
  267. {
  268. *rcNameID: 266
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.5
  272. *CallbackID: 50
  273. }
  274. }
  275. *Option: BACK_PRINT_FILM
  276. {
  277. *rcNameID: 267
  278. *Command: CmdSelect
  279. {
  280. *Order: DOC_SETUP.5
  281. *CallbackID: 51
  282. }
  283. *Constraints: InputBin.AUTO
  284. }
  285. }
  286. *Feature: PrintQuality
  287. {
  288. *rcNameID: =TEXT_QUALITY_DISPLAY
  289. *DefaultOption: COLOR_PHOTO
  290. *Option: COLOR_PHOTO
  291. {
  292. *rcNameID: 268
  293. *Command: CmdSelect
  294. {
  295. *Order: DOC_SETUP.6
  296. *CallbackID: 30
  297. }
  298. }
  299. *Option: PRESENTATION
  300. {
  301. *rcNameID: 269
  302. *Command: CmdSelect
  303. {
  304. *Order: DOC_SETUP.6
  305. *CallbackID: 31
  306. }
  307. }
  308. *Option: DRAFT
  309. {
  310. *rcNameID: 270
  311. *Command: CmdSelect
  312. {
  313. *Order: DOC_SETUP.6
  314. *CallbackID: 32
  315. }
  316. }
  317. }
  318. *Feature: ColorMode
  319. {
  320. *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  321. *DefaultOption: 24bpp
  322. *Option: Mono
  323. {
  324. *rcNameID: =MONO_DISPLAY
  325. *DevNumOfPlanes: 1
  326. *DevBPP: 1
  327. *Color? : FALSE
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.1
  331. *CallbackID: 15
  332. }
  333. }
  334. *Option: 24bpp
  335. {
  336. *rcNameID: =24BPP_DISPLAY
  337. *DevNumOfPlanes: 1
  338. *DevBPP: 24
  339. *DrvBPP: 24
  340. *PaletteSize: 256
  341. *PaletteProgrammable? : TRUE
  342. *Command: CmdDefinePaletteEntry { *Cmd : "" }
  343. *Command: CmdSelectPaletteEntry { *Cmd : "" }
  344. *Command: CmdSelect
  345. {
  346. *Order: DOC_SETUP.1
  347. *CallbackID: 16
  348. }
  349. }
  350. }
  351. *Feature: SaveRibbon
  352. {
  353. *rcNameID: 282
  354. *DefaultOption: ON
  355. *Option: ON
  356. {
  357. *rcNameID: 280
  358. *Command: CmdSelect
  359. {
  360. *Order: DOC_SETUP.7
  361. *Cmd: "<1B1A0000>S"
  362. }
  363. }
  364. *Option: OFF
  365. {
  366. *rcNameID: 281
  367. *Command: CmdSelect
  368. {
  369. *Order: DOC_SETUP.7
  370. *Cmd: "<1B1A0100>S"
  371. }
  372. }
  373. }
  374. *Feature: MirrorOutput
  375. {
  376. *rcNameID: 283
  377. *DefaultOption: OFF
  378. *Option: ON
  379. {
  380. *rcNameID: 280
  381. *Command: CmdSelect
  382. {
  383. *Order: DOC_SETUP.7
  384. *CallbackID: 80
  385. }
  386. }
  387. *Option: OFF
  388. {
  389. *rcNameID: 281
  390. *Command: CmdSelect
  391. {
  392. *Order: DOC_SETUP.7
  393. *CallbackID: 81
  394. }
  395. }
  396. }
  397. *Feature: Halftone
  398. {
  399. *rcNameID: =HALFTONING_DISPLAY
  400. *DefaultOption: HT_PATSIZE_AUTO
  401. *Option: HT_PATSIZE_AUTO
  402. {
  403. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  404. }
  405. *Ifdef: WINNT_50
  406. *Option: HT_PATSIZE_SUPERCELL_M
  407. {
  408. *rcNameID: =HT_SUPERCELL_DISPLAY
  409. }
  410. *Endif:
  411. *Option: HT_PATSIZE_6x6_M
  412. {
  413. *rcNameID: =HT_DITHER6X6_DISPLAY
  414. }
  415. *Option: HT_PATSIZE_8x8_M
  416. {
  417. *rcNameID: =HT_DITHER8X8_DISPLAY
  418. }
  419. }
  420. *Command: CmdStartJob
  421. {
  422. *Order: JOB_SETUP.1
  423. *Cmd: ""
  424. }
  425. *Command: CmdEndJob
  426. {
  427. *Order: JOB_FINISH.1
  428. *Cmd: ""
  429. }
  430. *Command: CmdStartDoc
  431. {
  432. *Order: DOC_SETUP.1
  433. *CallbackID: 61
  434. }
  435. *Command: CmdEndDoc
  436. {
  437. *Order: DOC_FINISH.1
  438. *CallbackID: 64
  439. }
  440. *Command: CmdStartPage
  441. {
  442. *Order: PAGE_SETUP.1
  443. *CallbackID: 62
  444. }
  445. *Command: CmdEndPage
  446. {
  447. *Order: PAGE_FINISH.1
  448. *CallbackID: 63
  449. }
  450. *RotateCoordinate?: FALSE
  451. *RotateRaster?: FALSE
  452. *RotateFont?: FALSE
  453. *TextCaps: LIST(TC_RA_ABLE)
  454. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  455. *Command: CmdYMoveRelDown
  456. {
  457. *CallbackID: 20
  458. *Params: LIST(DestYRel)
  459. }
  460. *Command: CmdCR { *Cmd : "" }
  461. *Command: CmdLF { *Cmd : "" }
  462. *Command: CmdFF { *Cmd : "" }
  463. *EjectPageWithFF?: FALSE
  464. *OutputDataFormat: H_BYTE
  465. *OptimizeLeftBound?: FALSE
  466. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  467. *CursorYAfterSendBlockData: AUTO_INCREMENT
  468. *DefaultCTT: 0
  469. *Command: CmdSendBlockData { *Cmd: "" }