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.

497 lines
15 KiB

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileVersion: "1.00"
  7. *GPDFileName: "OKML40CJ.GPD"
  8. *Include: "STDNAMES.GPD"
  9. *CodePage: 1252
  10. *ModelName: "OKI MICROLINE 400CL"
  11. *MasterUnits: PAIR(600, 600)
  12. *ResourceDLL: "okm4jres.dll"
  13. *PrinterType: PAGE
  14. *MaxCopies: 99
  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: Option1
  32. *Option: Option1
  33. {
  34. *rcNameID: 258
  35. *Command: CmdSelect
  36. {
  37. *Order: DOC_SETUP.3
  38. *Cmd: "<1B>|<A0010001>"
  39. }
  40. }
  41. *Option: Option2
  42. {
  43. *rcNameID: 259
  44. *Command: CmdSelect
  45. {
  46. *Order: DOC_SETUP.3
  47. *Cmd: "<1B>|<A0010002>"
  48. }
  49. }
  50. *Option: Option3
  51. {
  52. *rcNameID: 260
  53. *Command: CmdSelect
  54. {
  55. *Order: DOC_SETUP.3
  56. *Cmd: "<1B>|<A0010003>"
  57. }
  58. }
  59. *Option: MANUAL
  60. {
  61. *rcNameID: =MANUAL_FEED_DISPLAY
  62. *Command: CmdSelect
  63. {
  64. *Order: DOC_SETUP.3
  65. *Cmd: "<1B>|<A0010004>"
  66. }
  67. }
  68. }
  69. *Feature: Resolution
  70. {
  71. *rcNameID: =RESOLUTION_DISPLAY
  72. *DefaultOption: Option1
  73. *Option: Option1
  74. {
  75. *Name: "600 x 600 dots per inch"
  76. *DPI: PAIR(600, 600)
  77. *TextDPI: PAIR(600, 600)
  78. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  79. *SpotDiameter: 100
  80. *Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
  81. *Command: CmdSelect
  82. {
  83. *Order: DOC_SETUP.5
  84. *Cmd: "<1B>|<A5020002>X"
  85. }
  86. }
  87. *Option: Option2
  88. {
  89. *Name: "300 x 300 dots per inch"
  90. *DPI: PAIR(300, 300)
  91. *TextDPI: PAIR(300, 300)
  92. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  93. *SpotDiameter: 100
  94. *Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
  95. *Command: CmdSelect
  96. {
  97. *Order: DOC_SETUP.5
  98. *Cmd: "<1B>|<A5020001>,"
  99. }
  100. }
  101. *Option: Option3
  102. {
  103. *Name: "150 x 150 dots per inch"
  104. *DPI: PAIR(150, 150)
  105. *TextDPI: PAIR(150, 150)
  106. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  107. *SpotDiameter: 100
  108. *Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
  109. *Command: CmdSelect
  110. {
  111. *Order: DOC_SETUP.5
  112. *Cmd: "<1B>|<A502000096>"
  113. }
  114. }
  115. *Option: Option4
  116. {
  117. *Name: "75 x 75 dots per inch"
  118. *DPI: PAIR(75, 75)
  119. *TextDPI: PAIR(75, 75)
  120. EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  121. *SpotDiameter: 100
  122. *Command: CmdSendBlockData { *Cmd : "<1B>|<A7>" %m{NumOfDataBytes} }
  123. *Command: CmdSelect
  124. {
  125. *Order: DOC_SETUP.5
  126. *Cmd: "<1B>|<A5020000>K"
  127. }
  128. }
  129. }
  130. *Feature: PaperSize
  131. {
  132. *rcNameID: =PAPER_SIZE_DISPLAY
  133. *DefaultOption: A4
  134. *Option: A4
  135. {
  136. *rcNameID: =A4_DISPLAY
  137. *PrintableArea: PAIR(4720, 6776)
  138. *PrintableOrigin: PAIR(120, 120)
  139. *Command: CmdSelect
  140. {
  141. *Order: DOC_SETUP.4
  142. *Cmd: "<1B>|<A1010001>"
  143. }
  144. }
  145. *Option: A5
  146. {
  147. *rcNameID: =A5_DISPLAY
  148. *PrintableArea: PAIR(3256, 4720)
  149. *PrintableOrigin: PAIR(120, 120)
  150. *Command: CmdSelect
  151. {
  152. *Order: DOC_SETUP.4
  153. *Cmd: "<1B>|<A1010002>"
  154. }
  155. }
  156. *Option: A6
  157. {
  158. *rcNameID: =A6_DISPLAY
  159. *PrintableArea: PAIR(2240, 3256)
  160. *PrintableOrigin: PAIR(120, 120)
  161. *Command: CmdSelect
  162. {
  163. *Order: DOC_SETUP.4
  164. *Cmd: "<1B>|<A1010003>"
  165. }
  166. }
  167. *Option: B5
  168. {
  169. *rcNameID: =B5_DISPLAY
  170. *PrintableArea: PAIR(4060, 5832)
  171. *PrintableOrigin: PAIR(120, 120)
  172. *switch: Resolution
  173. {
  174. *case: Option4
  175. {
  176. *% Warning: the following printable width is adjusted (4060->4056) so it is divisible by the resolution X scale.
  177. *PrintableArea: PAIR(4056, 5832)
  178. }
  179. }
  180. *Command: CmdSelect
  181. {
  182. *Order: DOC_SETUP.4
  183. *Cmd: "<1B>|<A1010004>"
  184. }
  185. }
  186. *Option: LETTER
  187. {
  188. *rcNameID: =LETTER_DISPLAY
  189. *PrintableArea: PAIR(4860, 6360)
  190. *PrintableOrigin: PAIR(120, 120)
  191. *switch: Resolution
  192. {
  193. *case: Option4
  194. {
  195. *% Warning: the following printable width is adjusted (4860->4856) so it is divisible by the resolution X scale.
  196. *PrintableArea: PAIR(4856, 6360)
  197. }
  198. }
  199. *Command: CmdSelect
  200. {
  201. *Order: DOC_SETUP.4
  202. *Cmd: "<1B>|<A1010006>"
  203. }
  204. }
  205. *Option: EXECUTIVE
  206. {
  207. *rcNameID: =EXECUTIVE_DISPLAY
  208. *PrintableArea: PAIR(4110, 6060)
  209. *PrintableOrigin: PAIR(120, 120)
  210. *switch: Resolution
  211. {
  212. *case: Option3
  213. {
  214. *% Warning: the following printable width is adjusted (4110->4108) so it is divisible by the resolution X scale.
  215. *PrintableArea: PAIR(4108, 6060)
  216. }
  217. *case: Option4
  218. {
  219. *% Warning: the following printable width is adjusted (4110->4104) so it is divisible by the resolution X scale.
  220. *% Warning: the following printable length is adjusted (6060->6056) so it is divisible by the resolution Y scale.
  221. *PrintableArea: PAIR(4104, 6056)
  222. }
  223. }
  224. *Command: CmdSelect
  225. {
  226. *Order: DOC_SETUP.4
  227. *Cmd: "<1B>|<A1010007>"
  228. }
  229. }
  230. *Option: JAPANESE_POSTCARD
  231. {
  232. *rcNameID: =JAPANESE_POSTCARD_DISPLAY
  233. *PrintableArea: PAIR(2122, 3256)
  234. *PrintableOrigin: PAIR(120, 120)
  235. *switch: Resolution
  236. {
  237. *case: Option3
  238. {
  239. *% Warning: the following printable width is adjusted (2122->2120) so it is divisible by the resolution X scale.
  240. *PrintableArea: PAIR(2120, 3256)
  241. }
  242. *case: Option4
  243. {
  244. *% Warning: the following printable width is adjusted (2122->2120) so it is divisible by the resolution X scale.
  245. *PrintableArea: PAIR(2120, 3256)
  246. }
  247. }
  248. *Command: CmdSelect
  249. {
  250. *Order: DOC_SETUP.4
  251. *Cmd: "<1B>|<A1010008>"
  252. }
  253. }
  254. *Option: DBL_JAPANESE_POSTCARD_ROTATED
  255. {
  256. *rcNameID: =DBL_JAPANESE_POSTCARD_ROTATED_DISPLAY
  257. *PrintableArea: PAIR(3256, 4484)
  258. *PrintableOrigin: PAIR(120, 120)
  259. *switch: Resolution
  260. {
  261. *case: Option4
  262. {
  263. *% Warning: the following printable length is adjusted (4484->4480) so it is divisible by the resolution Y scale.
  264. *PrintableArea: PAIR(3256, 4480)
  265. }
  266. }
  267. *Command: CmdSelect
  268. {
  269. *Order: DOC_SETUP.4
  270. *Cmd: "<1B>|<A1010009>"
  271. }
  272. }
  273. *Option: JENV_CHOU3
  274. {
  275. *rcNameID: =JENV_CHOU3_DISPLAY
  276. *PrintableArea: PAIR(2594, 5312)
  277. *PrintableOrigin: PAIR(120, 120)
  278. *switch: Resolution
  279. {
  280. *case: Option3
  281. {
  282. *% Warning: the following printable width is adjusted (2594->2592) so it is divisible by the resolution X scale.
  283. *PrintableArea: PAIR(2592, 5312)
  284. }
  285. *case: Option4
  286. {
  287. *% Warning: the following printable width is adjusted (2594->2592) so it is divisible by the resolution X scale.
  288. *PrintableArea: PAIR(2592, 5312)
  289. }
  290. }
  291. *Command: CmdSelect
  292. {
  293. *Order: DOC_SETUP.4
  294. *Cmd: "<1B>|<A101000A>"
  295. }
  296. }
  297. *Option: JENV_CHOU4
  298. {
  299. *rcNameID: =JENV_CHOU4_DISPLAY
  300. *PrintableArea: PAIR(1886, 4602)
  301. *PrintableOrigin: PAIR(120, 120)
  302. *switch: Resolution
  303. {
  304. *case: Option3
  305. {
  306. *% Warning: the following printable width is adjusted (1886->1884) so it is divisible by the resolution X scale.
  307. *% Warning: the following printable length is adjusted (4602->4600) so it is divisible by the resolution Y scale.
  308. *PrintableArea: PAIR(1884, 4600)
  309. }
  310. *case: Option4
  311. {
  312. *% Warning: the following printable width is adjusted (1886->1880) so it is divisible by the resolution X scale.
  313. *% Warning: the following printable length is adjusted (4602->4600) so it is divisible by the resolution Y scale.
  314. *PrintableArea: PAIR(1880, 4600)
  315. }
  316. }
  317. *Command: CmdSelect
  318. {
  319. *Order: DOC_SETUP.4
  320. *Cmd: "<1B>|<A101000B>"
  321. }
  322. }
  323. *Option: JENV_YOU4
  324. {
  325. *rcNameID: =JENV_YOU4_DISPLAY
  326. *PrintableArea: PAIR(2240, 5312)
  327. *PrintableOrigin: PAIR(120, 120)
  328. *Command: CmdSelect
  329. {
  330. *Order: DOC_SETUP.4
  331. *Cmd: "<1B>|<A101000C>"
  332. }
  333. }
  334. *Option: ENV_DL
  335. {
  336. *rcNameID: =ENV_DL_DISPLAY
  337. *PrintableArea: PAIR(2358, 4956)
  338. *PrintableOrigin: PAIR(120, 120)
  339. *switch: Resolution
  340. {
  341. *case: Option3
  342. {
  343. *% Warning: the following printable width is adjusted (2358->2356) so it is divisible by the resolution X scale.
  344. *PrintableArea: PAIR(2356, 4956)
  345. }
  346. *case: Option4
  347. {
  348. *% Warning: the following printable width is adjusted (2358->2352) so it is divisible by the resolution X scale.
  349. *% Warning: the following printable length is adjusted (4956->4952) so it is divisible by the resolution Y scale.
  350. *PrintableArea: PAIR(2352, 4952)
  351. }
  352. }
  353. *Command: CmdSelect
  354. {
  355. *Order: DOC_SETUP.4
  356. *Cmd: "<1B>|<A101000E>"
  357. }
  358. }
  359. *Option: ENV_C5
  360. {
  361. *rcNameID: =ENV_C5_DISPLAY
  362. *PrintableArea: PAIR(3586, 5170)
  363. *PrintableOrigin: PAIR(120, 120)
  364. *switch: Resolution
  365. {
  366. *case: Option3
  367. {
  368. *% Warning: the following printable width is adjusted (3586->3584) so it is divisible by the resolution X scale.
  369. *% Warning: the following printable length is adjusted (5170->5168) so it is divisible by the resolution Y scale.
  370. *PrintableArea: PAIR(3584, 5168)
  371. }
  372. *case: Option4
  373. {
  374. *% Warning: the following printable width is adjusted (3586->3584) so it is divisible by the resolution X scale.
  375. *% Warning: the following printable length is adjusted (5170->5168) so it is divisible by the resolution Y scale.
  376. *PrintableArea: PAIR(3584, 5168)
  377. }
  378. }
  379. *Command: CmdSelect
  380. {
  381. *Order: DOC_SETUP.4
  382. *Cmd: "<1B>|<A101000F>"
  383. }
  384. }
  385. *Option: ENV_10
  386. {
  387. *rcNameID: =ENV_10_DISPLAY
  388. *PrintableArea: PAIR(2232, 5460)
  389. *PrintableOrigin: PAIR(120, 120)
  390. *switch: Resolution
  391. {
  392. *case: Option4
  393. {
  394. *% Warning: the following printable length is adjusted (5460->5456) so it is divisible by the resolution Y scale.
  395. *PrintableArea: PAIR(2232, 5456)
  396. }
  397. }
  398. *Command: CmdSelect
  399. {
  400. *Order: DOC_SETUP.4
  401. *Cmd: "<1B>|<A1010010>"
  402. }
  403. }
  404. }
  405. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JAPANESE_POSTCARD)
  406. *InvalidCombination: LIST(InputBin.Option1, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  407. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_CHOU3)
  408. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_CHOU4)
  409. *InvalidCombination: LIST(InputBin.Option1, PaperSize.JENV_YOU4)
  410. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_DL)
  411. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_C5)
  412. *InvalidCombination: LIST(InputBin.Option1, PaperSize.ENV_10)
  413. *InvalidCombination: LIST(InputBin.Option2, PaperSize.A6)
  414. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JAPANESE_POSTCARD)
  415. *InvalidCombination: LIST(InputBin.Option2, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  416. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_CHOU3)
  417. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_CHOU4)
  418. *InvalidCombination: LIST(InputBin.Option2, PaperSize.JENV_YOU4)
  419. *InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_DL)
  420. *InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_C5)
  421. *InvalidCombination: LIST(InputBin.Option2, PaperSize.ENV_10)
  422. *Feature: Halftone
  423. {
  424. *rcNameID: =HALFTONING_DISPLAY
  425. *DefaultOption: HT_PATSIZE_AUTO
  426. *Option: HT_PATSIZE_AUTO
  427. {
  428. *rcNameID: =HT_AUTO_SELECT_DISPLAY
  429. }
  430. *Option: HT_PATSIZE_SUPERCELL_M
  431. {
  432. *rcNameID: =HT_SUPERCELL_DISPLAY
  433. }
  434. *Option: HT_PATSIZE_6x6_M
  435. {
  436. *rcNameID: =HT_DITHER6X6_DISPLAY
  437. }
  438. *Option: HT_PATSIZE_8x8_M
  439. {
  440. *rcNameID: =HT_DITHER8X8_DISPLAY
  441. }
  442. }
  443. *Feature: Memory
  444. {
  445. *rcNameID: =PRINTER_MEMORY_DISPLAY
  446. *DefaultOption: 5120KB
  447. *Option: 5120KB
  448. {
  449. *Name: "5MB"
  450. *MemoryConfigKB: PAIR(5120, 4700)
  451. }
  452. }
  453. *Command: CmdStartDoc
  454. {
  455. *Order: DOC_SETUP.1
  456. *Cmd: "<1B>/<F2>"
  457. }
  458. *Command: CmdEndJob
  459. {
  460. *Order: JOB_FINISH.1
  461. *Cmd: "<1B>/<FE>"
  462. }
  463. *Command: CmdCopies
  464. {
  465. *Order: DOC_SETUP.2
  466. *Cmd: "<1B>|<A20100>" %c[1,99]{NumOfCopies}
  467. }
  468. *RotateCoordinate?: FALSE
  469. *RotateRaster?: FALSE
  470. *RotateFont?: FALSE
  471. *switch: Orientation
  472. {
  473. *case: PORTRAIT
  474. {
  475. *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  476. }
  477. *case: LANDSCAPE_CC270
  478. {
  479. *TextCaps: LIST(TC_RA_ABLE)
  480. }
  481. }
  482. *MemoryUsage: LIST(FONT)
  483. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  484. *YMoveThreshold: 0
  485. *YMoveUnit: 300
  486. *Command: CmdYMoveAbsolute { *Cmd : "<1B>|<A40400>" %m{(DestY / 2) }"<0000>" }
  487. *Command: CmdCR { *Cmd : "<0D>" }
  488. *Command: CmdLF { *Cmd : "<0A>" }
  489. *Command: CmdFF { *Cmd : "<0C>" }
  490. *EjectPageWithFF?: TRUE
  491. *Command: CmdEnableTIFF4 { *Cmd : "<1B>|<A6010002>" }
  492. *Command: CmdDisableCompression { *Cmd : "<1B>|<A6010000>" }
  493. *OutputDataFormat: H_BYTE
  494. *OptimizeLeftBound?: FALSE
  495. *CursorXAfterSendBlockData: AT_CURSOR_X_ORIGIN
  496. *CursorYAfterSendBlockData: AUTO_INCREMENT
  497. *DefaultCTT: -1