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.

255 lines
5.8 KiB

  1. *%%% ======================
  2. *%%% Features and Options
  3. *%%% ======================
  4. *%%% ======================
  5. *%%% DOC_SETUP
  6. *%%% ======================
  7. *%%% ======================
  8. *%%% DOC_SETUP.1
  9. *%%% START PLJ JOB
  10. *%%% PAGEPROTECT
  11. *%%% TIMEOUT
  12. *Feature: PageProtect
  13. {
  14. *rcNameID: =PAGE_PROTECTION_DISPLAY
  15. *DefaultOption: OFF
  16. *Option: ON
  17. {
  18. *rcNameID: =ON_DISPLAY
  19. *Command: CmdSelect
  20. {
  21. *Order: DOC_SETUP.1
  22. *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  23. }
  24. }
  25. *Option: OFF
  26. {
  27. *rcNameID: =OFF_DISPLAY
  28. *Command: CmdSelect
  29. {
  30. *Order: DOC_SETUP.1
  31. *Cmd: =PJL_STARTJOB =PJL_COMMENT =PJL_PAGEPROTECT_ON =PJL_TIMEOUT_90
  32. }
  33. }
  34. }
  35. *%%% ======================
  36. *%%% DOC_SETUP.2
  37. *%%% ECONOMODE
  38. *Feature: Economode
  39. {
  40. *rcNameID: =ECONOMODE_DISPLAY
  41. *DefaultOption: Option1
  42. *Option: Option1
  43. {
  44. *rcNameID: =ECONOMODE_DEFAULT
  45. }
  46. *Option: Option2
  47. {
  48. *rcNameID: =ECONOMODE_OFF
  49. *Command: CmdSelect
  50. {
  51. *Order: DOC_SETUP.2
  52. *Cmd: =PJL_ECONOMODE_OFF
  53. }
  54. }
  55. *Option: Option3
  56. {
  57. *rcNameID: =ECONOMODE_ON
  58. *Command: CmdSelect
  59. {
  60. *Order: DOC_SETUP.2
  61. *Cmd: =PJL_ECONOMODE_ON
  62. }
  63. }
  64. }
  65. *%%% ======================
  66. *%%% DOC_SETUP.3
  67. *%%% RET
  68. *Feature: RET
  69. {
  70. *rcNameID: =PRINT_QUALITY
  71. *DefaultOption: Option1
  72. *Option: Option1
  73. {
  74. *rcNameID: =PRINT_QUALITY_DEFAULT
  75. }
  76. *Option: Option2
  77. {
  78. *rcNameID: =PRINT_QUALITY_LIGHT
  79. *Command: CmdSelect
  80. {
  81. *Order: DOC_SETUP.3
  82. *Cmd: =PJL_RET_LIGHT
  83. }
  84. }
  85. *Option: Option3
  86. {
  87. *rcNameID: =PRINT_QUALITY_MEDIUM
  88. *Command: CmdSelect
  89. {
  90. *Order: DOC_SETUP.3
  91. *Cmd: =PJL_RET_MEDIUM
  92. }
  93. }
  94. *Option: Option4
  95. {
  96. *rcNameID: =PRINT_QUALITY_DARK
  97. *Command: CmdSelect
  98. {
  99. *Order: DOC_SETUP.3
  100. *Cmd: =PJL_RET_DARK
  101. }
  102. }
  103. *Option: Option5
  104. {
  105. *rcNameID: =PRINT_QUALITY_OFF
  106. *Command: CmdSelect
  107. {
  108. *Order: DOC_SETUP.3
  109. *Cmd: =PJL_RET_OFF
  110. }
  111. }
  112. }
  113. *%%% ======================
  114. *%%% DOC_SETUP.4
  115. *%%% RESOLUTION
  116. *%%% ENTER LANGUAGE=PCLXL
  117. *%%% PCL XL Stream Header
  118. *%%% BeginSession
  119. *%%% CmdEndRaster
  120. *%%% EndImage
  121. *%%% CmdSendBlockData
  122. *%%% EndImage
  123. *Feature: Resolution
  124. {
  125. *rcNameID: =RESOLUTION_DISPLAY
  126. *DefaultOption: Option1
  127. *Option: Option1
  128. {
  129. *Name: "1200 x 1200 " =DOTS_PER_INCH
  130. *DPI: PAIR(1200, 1200)
  131. *TextDPI: PAIR(1200, 1200)
  132. *MinStripBlankPixels: 32
  133. EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  134. *SpotDiameter: 120
  135. *Command: CmdBeginRaster
  136. {
  137. *Cmd : =PCLXL_CmdBeginRaster
  138. }
  139. *Command: CmdSendBlockData
  140. {
  141. *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData
  142. }
  143. *% EndImage(0xb2)
  144. *%
  145. *Command: CmdEndBlockData { *Cmd : =EndImage}
  146. *Command: CmdSelect
  147. {
  148. *Order: DOC_SETUP.4
  149. *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200
  150. }
  151. }
  152. *Option: Option2
  153. {
  154. *Name: "600 x 600 " =DOTS_PER_INCH
  155. *DPI: PAIR(600, 600)
  156. *TextDPI: PAIR(600, 600)
  157. *MinStripBlankPixels: 32
  158. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  159. *SpotDiameter: 100
  160. *Command: CmdBeginRaster
  161. {
  162. *Cmd : =PCLXL_CmdBeginRaster
  163. }
  164. *Command: CmdEndRaster { *Cmd : =EndImage }
  165. *Command: CmdSendBlockData
  166. {
  167. *Cmd: =PCLXL_CmdSendBlockData
  168. }
  169. *Command: CmdSelect
  170. {
  171. *Order: DOC_SETUP.4
  172. *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600
  173. }
  174. }
  175. *Option: Option3
  176. {
  177. *Name: "300 x 300 " =DOTS_PER_INCH
  178. *DPI: PAIR(300, 300)
  179. *TextDPI: PAIR(300, 300)
  180. *MinStripBlankPixels: 32
  181. EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  182. *SpotDiameter: 100
  183. *Command: CmdBeginRaster
  184. {
  185. *Cmd : =PCLXL_CmdBeginRaster
  186. }
  187. *Command: CmdEndRaster { *Cmd : =EndImage }
  188. *Command: CmdSendBlockData
  189. {
  190. *Cmd: =PCLXL_CmdSendBlockData
  191. }
  192. *Command: CmdSelect
  193. {
  194. *Order: DOC_SETUP.4
  195. *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300
  196. }
  197. }
  198. }
  199. *%%% ======================
  200. *%%% DOC_SETUP.5
  201. *%%% OpenDataSource(0x48)
  202. *%%% SourceType(ubyte) & DataOrg(ubyte)
  203. *%%% 136(0x88) 130(0x82)
  204. *Command: CmdStartDoc
  205. {
  206. *Order: DOC_SETUP.5
  207. *Cmd: =ubyte "<00>" =attr_ubyte =SourceType =ubyte "<01>" =attr_ubyte =DataOrg =OpenDataSource
  208. }
  209. *Feature: Orientation
  210. {
  211. *rcNameID: =ORIENTATION_DISPLAY
  212. *DefaultOption: PORTRAIT
  213. *Option: PORTRAIT
  214. {
  215. *rcNameID: =PORTRAIT_DISPLAY
  216. }
  217. *Option: LANDSCAPE_CC90
  218. {
  219. *rcNameID: =LANDSCAPE_DISPLAY
  220. }
  221. }
  222. *%%% ======================
  223. *%%% PAGE_FINISH
  224. *%%% ======================
  225. *%%% ======================
  226. *%%% PAGE_FINISH.3
  227. *Command: CmdEndPage
  228. {
  229. *Order: PAGE_FINISH.1
  230. *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  231. }
  232. *%%% ======================
  233. *%%% JOB_FINISH.1
  234. *%%% CmdEndJob
  235. *Command: CmdEndJob
  236. {
  237. *Order: JOB_FINISH.1
  238. *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  239. }