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.

116 lines
5.3 KiB

  1. #ifndef _CSWINRES_H
  2. #define _CSWINRES_H
  3. // ===== Printer Model =====
  4. #define MD_CP3250GTWM 0x01
  5. #define MD_CP3500GTWM 0x02
  6. #define MD_CP3800WM 0x03
  7. // MPF Setting
  8. #define OPT_NOSET "Option1"
  9. #define OPT_A3 "Option2"
  10. #define OPT_B4 "Option3"
  11. #define OPT_A4 "Option4"
  12. #define OPT_B5 "Option5"
  13. #define OPT_LETTER "Option6"
  14. #define OPT_POSTCARD "Option7"
  15. #define OPT_A5 "Option8"
  16. // Toner Save
  17. #define OPT_TS_NORMAL "Option1"
  18. #define OPT_TS_LV1 "Option2"
  19. #define OPT_TS_LV2 "Option3"
  20. #define OPT_TS_LV3 "Option4"
  21. #define OPT_TS_NOTSELECT "Option5"
  22. // Smoothing
  23. #define OPT_SMOOTH_OFF "Option1"
  24. #define OPT_SMOOTH_ON "Option2"
  25. #define OPT_SMOOTH_NOTSELECT "Option3"
  26. // ===== AutoFeed =====
  27. const
  28. static BYTE AutoFeed[] = { /* Auto Select */
  29. 0x26, /* A3 */
  30. 0x29, /* B4 */
  31. 0x2b, /* A4 */
  32. 0x2c, /* B5 */
  33. 0x11, /* Letter */
  34. 0x2f, /* PostCard */
  35. 0x2d /* A5 */
  36. };
  37. const
  38. static BYTE AutoFeed_3800[] = { /* For 3800 */
  39. 0x26, /* A3 */
  40. 0x29, /* B4 */
  41. 0x2b, /* A4 */
  42. 0x2c, /* B5 */
  43. 0x11, /* Letter */
  44. 0x11, /* PostCard */
  45. 0x2d /* A5 */
  46. };
  47. #define MASTER_UNIT 1200
  48. // ===== JIS->ASCII Table =====
  49. #if 0 // >>> Change UFM File(JIS->SJIS) >>>
  50. const
  51. static BYTE jJis2Ascii[][96] = {
  52. /*++ 0 1 2 3 4 5 6 7 8 9 A B C D E F
  53. 2120 --*/ { 0, 32, 164, 161, 44, 46, 165, 58, 59, 63, 33, 222, 223, 0, 96, 0,
  54. /*++ SP �A �B �C �D �E �F �G �H �I �J �K �L �M �N
  55. SP , . : ; ? ! `
  56. 2130 --*/ 94, 126, 95, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 45, 0, 47,
  57. /*++ �O �P �Q �R �S �T �U �V �W �X �Y �Z �[ �\ �] �^
  58. ^ ~ _ - /
  59. 2140 --*/ 0, 0, 0, 124, 0, 0, 0, 39, 0, 34, 40, 41, 91, 93, 91, 93,
  60. /*++ �_ �` �a �b �c �d �e �f �g �h �i �j �k �l �m �n
  61. | ' " ( ) [ ] [ ]
  62. 2150 --*/ 123, 125, 60, 62, 0, 0, 162, 163, 0, 0, 0, 0, 43, 45, 0, 0,
  63. /*++ �o �p �q �r �s �t �u �v �w �x �y �z �{ �| �} �~
  64. { } < > + -
  65. 2160 --*/ 0, 61, 0, 60, 62, 0, 0, 0, 0, 0, 0, 223, 39, 34, 0, 92,
  66. /*++ �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��
  67. = < > ' " \
  68. 2170 --*/ 36, 0, 0, 37, 35, 38, 42, 64, 0, 0, 0, 0, 0, 0, 0, 0 },
  69. /*++ �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��
  70. $ % # & * @
  71. 2520 --*/ { 0, 167, 177, 168, 178, 169, 179, 170, 180, 171, 181, 182, 0, 183, 0, 184,
  72. /*++ �@ �A �B �C �D �E �F �G �H �I �J �K �L �M �N
  73. 2530 --*/ 0, 185, 0, 186, 0, 187, 0, 188, 0, 189, 0, 190, 0, 191, 0, 192,
  74. /*++ �O �P �Q �R �S �T �U �V �W �X �Y �Z �[ �\ �] �^
  75. 2540 --*/ 0, 193, 0, 175, 194, 0, 195, 0, 196, 0, 197, 198, 199, 200, 201, 202,
  76. /*++ �_ �` �a �b �c �d �e �f �g �h �i �j �k �l �m �n
  77. 2550 --*/ 0, 0, 203, 0, 0, 204, 0, 0, 205, 0, 0, 206, 0, 0, 207, 208,
  78. /*++ �o �p �q �r �s �t �u �v �w �x �y �z �{ �| �} �~
  79. 2560 --*/ 209, 210, 211, 172, 212, 173, 213, 174, 214, 215, 216, 217, 218, 219, 0, 220,
  80. /*++ �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��
  81. 2570 --*/ 0, 0, 166, 221, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
  82. /*++ �� �� �� �� �� �� ��
  83. --*/
  84. };
  85. #endif // <<< Change UFM File(JIS->SJIS) <<<
  86. #endif //--- _CSWINRES_H