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.

418 lines
11 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "LN6CC.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "Legend LJ6C"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "pcl5zres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 99
  15. *FontCartSlots: 2
  16. *Feature: Orientation
  17. {
  18. *rcNameID: =ORIENTATION_DISPLAY
  19. *DefaultOption: PORTRAIT
  20. *Option: PORTRAIT
  21. {
  22. *rcNameID: =PORTRAIT_DISPLAY
  23. *Command: CmdSelect
  24. {
  25. *Order: PAGE_SETUP.8
  26. *Cmd: "<1B>&l0o1E"
  27. }
  28. }
  29. *Option: LANDSCAPE_CC270
  30. {
  31. *rcNameID: =LANDSCAPE_DISPLAY
  32. *Command: CmdSelect
  33. {
  34. *Order: PAGE_SETUP.8
  35. *Cmd: "<1B>&l1o1E<1B03>"
  36. }
  37. }
  38. }
  39. *Feature: InputBin
  40. {
  41. *rcNameID: =PAPER_SOURCE_DISPLAY
  42. *DefaultOption: UPPER
  43. *Option: UPPER
  44. {
  45. *rcNameID: =UPPER_TRAY_DISPLAY
  46. *Command: CmdSelect
  47. {
  48. *Order: DOC_SETUP.2
  49. *Cmd: "<1B>&l1H"
  50. }
  51. }
  52. *Option: ENVMANUAL
  53. {
  54. *rcNameID: =ENV_MANUAL_DISPLAY
  55. *Command: CmdSelect
  56. {
  57. *Order: DOC_SETUP.2
  58. *Cmd: "<1B>&l3H"
  59. }
  60. }
  61. *Option: MANUAL
  62. {
  63. *rcNameID: =MANUAL_FEED_DISPLAY
  64. *Command: CmdSelect
  65. {
  66. *Order: DOC_SETUP.2
  67. *Cmd: "<1B>&l2H"
  68. }
  69. }
  70. }
  71. *Feature: Resolution
  72. {
  73. *rcNameID: =RESOLUTION_DISPLAY
  74. *DefaultOption: Option1
  75. *Option: Option1
  76. {
  77. *Name: "600 x 600 dots per inch"
  78. *DPI: PAIR(600, 600)
  79. *TextDPI: PAIR(600, 600)
  80. *MinStripBlankPixels: 32
  81. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  82. *SpotDiameter: 100
  83. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  84. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  85. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  86. *Command: CmdSelect
  87. {
  88. *Order: DOC_SETUP.4
  89. *Cmd: "<1B>*t600R"
  90. }
  91. }
  92. *Option: Option2
  93. {
  94. *Name: "300 x 300 dots per inch"
  95. *DPI: PAIR(300, 300)
  96. *TextDPI: PAIR(600, 600)
  97. *MinStripBlankPixels: 32
  98. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  99. *SpotDiameter: 100
  100. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  101. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  102. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  103. *Command: CmdSelect
  104. {
  105. *Order: DOC_SETUP.4
  106. *Cmd: "<1B>*t300R"
  107. }
  108. }
  109. *Option: Option3
  110. {
  111. *Name: "150 x 150 dots per inch"
  112. *DPI: PAIR(150, 150)
  113. *TextDPI: PAIR(600, 600)
  114. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  115. *SpotDiameter: 100
  116. *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  117. *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  118. *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  119. *Command: CmdSelect
  120. {
  121. *Order: DOC_SETUP.4
  122. *Cmd: "<1B>*t150R"
  123. }
  124. }
  125. }
  126. *Feature: PaperSize
  127. {
  128. *rcNameID: =PAPER_SIZE_DISPLAY
  129. *DefaultOption: A4
  130. *Option: A4
  131. {
  132. *rcNameID: =A4_DISPLAY
  133. *PrintableArea: PAIR(4362, 6414)
  134. *PrintableOrigin: PAIR(300, 300)
  135. *switch: Resolution
  136. {
  137. *case: Option3
  138. {
  139. *% Warning: the following printable width is adjusted (4362->4360) so it is divisible by the resolution X scale.
  140. *% Warning: the following printable length is adjusted (6414->6412) so it is divisible by the resolution Y scale.
  141. *PrintableArea: PAIR(4360, 6412)
  142. }
  143. }
  144. *CursorOrigin: PAIR(142, 135)
  145. *Command: CmdSelect
  146. {
  147. *Order: DOC_SETUP.3
  148. *Cmd: "<1B>&l26a4d45F"
  149. }
  150. }
  151. *Option: A3
  152. {
  153. *rcNameID: =A3_DISPLAY
  154. *PrintableArea: PAIR(6414, 9324)
  155. *PrintableOrigin: PAIR(300, 300)
  156. *switch: Resolution
  157. {
  158. *case: Option3
  159. {
  160. *% Warning: the following printable width is adjusted (6414->6412) so it is divisible by the resolution X scale.
  161. *PrintableArea: PAIR(6412, 9324)
  162. }
  163. }
  164. *CursorOrigin: PAIR(142, 135)
  165. *Command: CmdSelect
  166. {
  167. *Order: DOC_SETUP.3
  168. *Cmd: "<1B>&l27a4d45F"
  169. }
  170. }
  171. *Option: B4
  172. {
  173. *rcNameID: =B4_DISPLAY
  174. *PrintableArea: PAIR(5472, 7998)
  175. *PrintableOrigin: PAIR(300, 300)
  176. *switch: Resolution
  177. {
  178. *case: Option3
  179. {
  180. *% Warning: the following printable length is adjusted (7998->7996) so it is divisible by the resolution Y scale.
  181. *PrintableArea: PAIR(5472, 7996)
  182. }
  183. }
  184. *CursorOrigin: PAIR(142, 135)
  185. *Command: CmdSelect
  186. {
  187. *Order: DOC_SETUP.3
  188. *Cmd: "<1B>&l101a4d45F"
  189. }
  190. }
  191. *Option: B5
  192. {
  193. *rcNameID: =B5_DISPLAY
  194. *PrintableArea: PAIR(3902, 5672)
  195. *PrintableOrigin: PAIR(200, 200)
  196. *switch: Resolution
  197. {
  198. *case: Option3
  199. {
  200. *% Warning: the following printable width is adjusted (3902->3900) so it is divisible by the resolution X scale.
  201. *PrintableArea: PAIR(3900, 5672)
  202. }
  203. }
  204. *CursorOrigin: PAIR(142, 135)
  205. *Command: CmdSelect
  206. {
  207. *Order: DOC_SETUP.3
  208. *Cmd: "<1B>&l100A"
  209. }
  210. }
  211. *Option: LETTER
  212. {
  213. *rcNameID: =LETTER_DISPLAY
  214. *PrintableArea: PAIR(4500, 6000)
  215. *PrintableOrigin: PAIR(300, 300)
  216. *CursorOrigin: PAIR(150, 150)
  217. *Command: CmdSelect
  218. {
  219. *Order: DOC_SETUP.3
  220. *Cmd: "<1B>&l2a4d42F"
  221. }
  222. }
  223. *Option: EXECUTIVE
  224. {
  225. *rcNameID: =EXECUTIVE_DISPLAY
  226. *PrintableArea: PAIR(3750, 5700)
  227. *PrintableOrigin: PAIR(300, 300)
  228. *switch: Resolution
  229. {
  230. *case: Option3
  231. {
  232. *% Warning: the following printable width is adjusted (3750->3748) so it is divisible by the resolution X scale.
  233. *PrintableArea: PAIR(3748, 5700)
  234. }
  235. }
  236. *CursorOrigin: PAIR(150, 150)
  237. *Command: CmdSelect
  238. {
  239. *Order: DOC_SETUP.3
  240. *Cmd: "<1B>&l1a4d40F"
  241. }
  242. }
  243. *Option: LEGAL
  244. {
  245. *rcNameID: =LEGAL_DISPLAY
  246. *PrintableArea: PAIR(4500, 7800)
  247. *PrintableOrigin: PAIR(300, 300)
  248. *CursorOrigin: PAIR(150, 150)
  249. *Command: CmdSelect
  250. {
  251. *Order: DOC_SETUP.3
  252. *Cmd: "<1B>&l3a4d54F"
  253. }
  254. }
  255. *Option: JAPANESE_POSTCARD
  256. {
  257. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  258. *PrintableArea: PAIR(1964, 3098)
  259. *PrintableOrigin: PAIR(200, 200)
  260. *switch: Resolution
  261. {
  262. *case: Option3
  263. {
  264. *% Warning: the following printable length is adjusted (3098->3096) so it is divisible by the resolution Y scale.
  265. *PrintableArea: PAIR(1964, 3096)
  266. }
  267. }
  268. *CursorOrigin: PAIR(120, 130)
  269. *Command: CmdSelect
  270. {
  271. *Order: DOC_SETUP.3
  272. *Cmd: "<1B>&l71A"
  273. }
  274. }
  275. *Option: A5
  276. {
  277. *rcNameID: =A5_DISPLAY
  278. *PrintableArea: PAIR(3098, 4562)
  279. *PrintableOrigin: PAIR(200, 200)
  280. *switch: Resolution
  281. {
  282. *case: Option3
  283. {
  284. *% Warning: the following printable width is adjusted (3098->3096) so it is divisible by the resolution X scale.
  285. *% Warning: the following printable length is adjusted (4562->4560) so it is divisible by the resolution Y scale.
  286. *PrintableArea: PAIR(3096, 4560)
  287. }
  288. }
  289. *CursorOrigin: PAIR(120, 130)
  290. *Command: CmdSelect
  291. {
  292. *Order: DOC_SETUP.3
  293. *Cmd: "<1B>&l13A"
  294. }
  295. }
  296. *Option: ENV_10
  297. {
  298. *rcNameID: =ENV_10_DISPLAY
  299. *PrintableArea: PAIR(2078, 5300)
  300. *PrintableOrigin: PAIR(200, 200)
  301. *switch: Resolution
  302. {
  303. *case: Option3
  304. {
  305. *% Warning: the following printable width is adjusted (2078->2076) so it is divisible by the resolution X scale.
  306. *PrintableArea: PAIR(2076, 5300)
  307. }
  308. }
  309. *CursorOrigin: PAIR(120, 130)
  310. *Command: CmdSelect
  311. {
  312. *Order: DOC_SETUP.3
  313. *Cmd: "<1B>&l81a4d1E"
  314. }
  315. }
  316. *Option: ENV_MONARCH
  317. {
  318. *rcNameID: =ENV_MONARCH_DISPLAY
  319. *PrintableArea: PAIR(1928, 4100)
  320. *PrintableOrigin: PAIR(200, 200)
  321. *CursorOrigin: PAIR(120, 130)
  322. *Command: CmdSelect
  323. {
  324. *Order: DOC_SETUP.3
  325. *Cmd: "<1B>&l80a4d1E"
  326. }
  327. }
  328. }
  329. *Feature: Halftone
  330. {
  331. *rcNameID: =HALFTONING_DISPLAY
  332. *DefaultOption: HT_PATSIZE_AUTO
  333. *Option: HT_PATSIZE_AUTO
  334. {
  335. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  336. }
  337. *Option: HT_PATSIZE_SUPERCELL_M
  338. {
  339. *rcNameID: =HT_SUPERCELL_DISPLAY
  340. }
  341. *Option: HT_PATSIZE_6x6_M
  342. {
  343. *rcNameID: =HT_DITHER6X6_DISPLAY
  344. }
  345. *Option: HT_PATSIZE_8x8_M
  346. {
  347. *rcNameID: =HT_DITHER8X8_DISPLAY
  348. }
  349. }
  350. *Feature: Memory
  351. {
  352. *rcNameID: =PRINTER_MEMORY_DISPLAY
  353. *DefaultOption: 5632KB
  354. *Option: 5632KB
  355. {
  356. *Name: "5632KB"
  357. *MemoryConfigKB: PAIR(5632, 5518)
  358. }
  359. *Option: 2560KB
  360. {
  361. *Name: "2560KB"
  362. *MemoryConfigKB: PAIR(2560, 2417)
  363. }
  364. }
  365. *Command: CmdStartDoc
  366. {
  367. *Order: DOC_SETUP.1
  368. *Cmd: "<1B>E<1B>&u600D<1B>&l1x0L"
  369. }
  370. *Command: CmdStartPage
  371. {
  372. *Order: PAGE_SETUP.1
  373. *Cmd: "<1B0C>"
  374. }
  375. *Command: CmdEndJob
  376. {
  377. *Order: JOB_FINISH.1
  378. *Cmd: "<1B>E"
  379. }
  380. *Command: CmdCopies
  381. {
  382. *Order: PAGE_SETUP.6
  383. *Cmd: "<1B>&l" %d[1,99]{NumOfCopies}"X"
  384. }
  385. *RotateCoordinate?: FALSE
  386. *RotateRaster?: TRUE
  387. *RotateFont?: FALSE
  388. *TextCaps: LIST(TC_UA_ABLE)
  389. *MemoryUsage: LIST(FONT, RASTER, VECTOR)
  390. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  391. *XMoveThreshold: 0
  392. *XMoveUnit: 600
  393. *YMoveUnit: 600
  394. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{DestX}"X" }
  395. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{DestXRel}"X" }
  396. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{DestXRel}"X" }
  397. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{DestY}"Y" }
  398. *EjectPageWithFF?: TRUE
  399. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  400. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  401. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  402. *OutputDataFormat: H_BYTE
  403. *OptimizeLeftBound?: TRUE
  404. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  405. *CursorYAfterSendBlockData: AUTO_INCREMENT
  406. *DefaultCTT: 0
  407. *MaxFontUsePerPage: 16
  408. *CharPosition: BASELINE
  409. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  410. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  411. *MinGrayFill: 1
  412. *MaxGrayFill: 100
  413. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{RectXSize}"A" }
  414. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{RectYSize}"B" }
  415. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  416. *Command: CmdCR { *Cmd : "<0D>" }
  417. *Command: CmdLF { *Cmd : "<0A>" }
  418. *Command: CmdFF { *Cmd : "<0C>" }