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.

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