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.

135 lines
5.1 KiB

  1. //
  2. // FILE: RIAFUI.RC
  3. //
  4. // Abstract: Resource file for OEM UI plugin module.
  5. //
  6. // Revision History:
  7. // 02/29/2000 -Masatoshi Kubokura-
  8. // Modified for PCL5e/PScript plugin from RPDL code.
  9. // 08/03/2000 -Masatoshi Kubokura-
  10. // Modified for NT4
  11. // 09/07/2000 -Masatoshi Kubokura-
  12. // "Sample Print" -> "Locked Print"
  13. // 02/23/2001 -Masatoshi Kubokura-
  14. // Expand width of Password editbox
  15. // 06/14/2001 -Masatoshi Kubokura-
  16. // Driver versioning enhancement
  17. //
  18. #include <windows.h>
  19. #include <ntverp.h>
  20. #ifdef VER_COMPANYNAME_STR
  21. #undef VER_COMPANYNAME_STR
  22. #endif
  23. #ifdef VER_PRODUCTNAME_STR
  24. #undef VER_PRODUCTNAME_STR
  25. #endif
  26. #ifdef VER_PRODUCTVERSION
  27. #undef VER_PRODUCTVERSION
  28. #endif
  29. #ifdef VER_PRODUCTVERSION_STR
  30. #undef VER_PRODUCTVERSION_STR
  31. #endif
  32. #define VER_FILETYPE VFT_DRV
  33. #define VER_LEGALCOPYRIGHT_YEARS "1981-2002"
  34. #define VER_LEGALCOPYRIGHT_STR "Copyright(C) Microsoft & Ricoh " VER_LEGALCOPYRIGHT_YEARS
  35. #define VER_COMPANYNAME_STR "Ricoh Co., Ltd."
  36. #define VER_FILEDESCRIPTION_STR "PCL Unidrv Printer Driver UI Plugin"
  37. #define VER_PRODUCTNAME_STR "Ricoh PCL Unidrv Printer Driver"
  38. #define VER_INTERNALNAME_STR "RIAFUI"
  39. #ifdef RIAFUI0
  40. #undef VER_INTERNALNAME_STR
  41. #define VER_INTERNALNAME_STR "RIAFUI0"
  42. #endif
  43. #ifdef RIAFUI1
  44. #undef VER_INTERNALNAME_STR
  45. #define VER_INTERNALNAME_STR "RIAFUI1"
  46. #endif
  47. #ifdef RIAFUI2
  48. #undef VER_INTERNALNAME_STR
  49. #define VER_INTERNALNAME_STR "RIAFUI2"
  50. #endif
  51. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR ".DLL"
  52. #ifdef WINNT_40
  53. #define VER_FILESUBTYPE VFT2_DRV_PRINTER
  54. #define VER_PRODUCTVERSION 4,50,124
  55. #define VER_PRODUCTVERSION_STR "4.50.124"
  56. #else // !WINNT_40
  57. #define VER_FILESUBTYPE VFT2_DRV_VERSIONED_PRINTER
  58. #ifdef RICOH_RELEASE
  59. // Past VER_FILEVERSION: 0x0511(5.1.122)
  60. #define VER_FILEVERSION 0,3,0x0513,0 // Ricoh Web Release 5.1.124
  61. #else // !RICOH_RELEASE
  62. #define VER_FILEVERSION 0,3,0x0501,0 // XP inbox 5.01.121
  63. #endif // !RICOH_RELEASE
  64. #define VER_PRODUCTVERSION 5,1,124
  65. #define VER_PRODUCTVERSION_STR "5.1.124"
  66. #endif // !WINNT_40
  67. #include <common.ver>
  68. #ifdef OEM_MULTILINGUAL
  69. #include "RIAFMSVS.RC"
  70. #else // !OEM_MULTILINGUAL
  71. #include "resource.h"
  72. #pragma code_page(1252)
  73. IDD_JOBMAIN DIALOG DISCARDABLE 0, 0, 292, 198
  74. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  75. CAPTION "Job/Log"
  76. FONT 8, "MS Shell Dlg"
  77. BEGIN
  78. LTEXT "User &ID:",IDC_LABEL_JOBMAIN_USERID,31,14,57,12,
  79. NOT WS_GROUP
  80. EDITTEXT IDC_EDIT_JOBMAIN_USERID,90,12,48,13,ES_AUTOHSCROLL
  81. LTEXT "(Up to 8 alphanumeric characters)",IDC_LABEL_JOBMAIN_USERID2,145,14,
  82. 135,12,NOT WS_GROUP
  83. LTEXT "User ID is mandatory for Print Job, and is recommended setting for Log.",
  84. IDC_LABEL_JOBMAIN_USERID3,41,31,240,12,NOT WS_GROUP
  85. GROUPBOX "Print Job",IDC_LABEL_JOBMAIN_JOB,6,49,278,69
  86. CONTROL "&Normal",IDC_RADIO_JOB_NORMAL,"Button",
  87. BS_AUTORADIOBUTTON | WS_GROUP,31,63,56,13
  88. CONTROL "&Sample Print",IDC_RADIO_JOB_SAMPLE,"Button",
  89. BS_AUTORADIOBUTTON,92,63,56,13
  90. CONTROL "&Locked Print",IDC_RADIO_JOB_SECURE,"Button",
  91. BS_AUTORADIOBUTTON,153,63,56,13
  92. LTEXT "&Password:",IDC_LABEL_JOBMAIN_PASSWORD,31,83,57,12,
  93. NOT WS_GROUP
  94. EDITTEXT IDC_EDIT_JOBMAIN_PASSWORD,90,81,48,13,ES_PASSWORD |
  95. ES_AUTOHSCROLL
  96. LTEXT "(4 digits)",IDC_LABEL_JOBMAIN_PASSWORD2,145,83,135,
  97. 12,NOT WS_GROUP
  98. CONTROL "Restore &Defaults After Printing",
  99. IDC_CHECK_JOB_DEFAULT,"Button",BS_AUTOCHECKBOX |
  100. WS_TABSTOP,31,100,249,13
  101. GROUPBOX "Log",IDC_LABEL_JOBMAIN_LOG,6,125,278,54
  102. CONTROL "Disa&bled",IDC_RADIO_LOG_DISABLED,"Button",
  103. BS_AUTORADIOBUTTON | WS_GROUP,31,139,56,13
  104. CONTROL "&Enabled",IDC_RADIO_LOG_ENABLED,"Button",
  105. BS_AUTORADIOBUTTON,92,139,56,13
  106. LTEXT "User &Code:",IDC_LABEL_JOBMAIN_USERCODE,31,159,
  107. 57,12,NOT WS_GROUP
  108. EDITTEXT IDC_EDIT_JOBMAIN_USERCODE,90,157,48,13,ES_AUTOHSCROLL
  109. LTEXT "(Up to 8 digits)",IDC_LABEL_JOBMAIN_USERCODE2,145,
  110. 159,135,12,NOT WS_GROUP
  111. END
  112. STRINGTABLE DISCARDABLE
  113. BEGIN
  114. IDS_ERR_USERID_TITLE "User ID Error"
  115. IDS_ERR_USERID_MSG "Enter a valid User ID."
  116. IDS_ERR_PASSWORD_TITLE "Password Error"
  117. IDS_ERR_PASSWORD_MSG "Enter a valid Password."
  118. IDS_ERR_USERCODE_TITLE "User Code Error"
  119. IDS_ERR_USERCODE_MSG "Enter a valid User Code."
  120. END
  121. STRINGTABLE DISCARDABLE
  122. BEGIN
  123. IDS_ITEM_HARDDISK "Hard Disk"
  124. IDS_ITEM_MEMORY_HARDDISK "Memory / Hard Disk"
  125. END
  126. #endif // !OEM_MULTILINGUAL