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.

106 lines
2.9 KiB

  1. #include <spl_wnt.h>
  2. #include <printman.h>
  3. #include <wnpmdlg.h>
  4. #include "pmandlg.dlg"
  5. PMAdminMenu MENU
  6. begin
  7. POPUP "Pri&nter"
  8. begin
  9. MENUITEM "&New Printer...", IDM_NEW_PRINTER
  10. MENUITEM "New &Compatibility Share...", IDM_NEW_SHARE
  11. MENUITEM "&Properties\tEnter", IDM_PROPERTIES
  12. MENUITEM "&Delete All Jobs", IDM_DELETE_ALL
  13. MENUITEM SEPARATOR
  14. MENUITEM "E&xit\tAlt+F4", EXIT
  15. end
  16. POPUP "&View"
  17. begin
  18. MENUITEM "&Time/Date Sent", SHOW_TIME
  19. MENUITEM "&Print File Size", SHOW_SIZE
  20. MENUITEM SEPARATOR
  21. MENUITEM "&Set Focus...", IDM_SET_FOCUS
  22. MENUITEM "&Find...", IDM_FIND
  23. MENUITEM SEPARATOR
  24. MENUITEM "Standard &Menus", IDM_STANDARD_MENUS
  25. // Test Driver only
  26. MENUITEM SEPARATOR
  27. MENUITEM "A&dministrator", DEBUG_ADMINISTRATOR
  28. end
  29. POPUP "&Options"
  30. begin
  31. MENUITEM "&Confirmation", IDM_CONFIRMATION
  32. MENUITEM "&Refresh \tF5", IDM_REFRESH
  33. MENUITEM "R&efresh Interval...", IDM_REFRESH_INTERVAL
  34. MENUITEM SEPARATOR
  35. MENUITEM "&Low Priority", PRIORITY+2
  36. MENUITEM "&Medium Priority", PRIORITY+1
  37. MENUITEM "&High Priority", PRIORITY+0
  38. MENUITEM SEPARATOR
  39. MENUITEM "&Alert Always" ALERT_ALWAYS
  40. MENUITEM "&Flash if Inactive" ALERT_FLASH
  41. MENUITEM "&Ignore if Inactive" ALERT_IGNORE
  42. end
  43. POPUP "&Help"
  44. begin
  45. MENUITEM "&Index", HELP_NDEX
  46. MENUITEM "&Keyboard", HELP_KEYBOARD
  47. MENUITEM "&Commands", HELP_COMMANDS
  48. MENUITEM "&Procedures", HELP_PROCEDURES
  49. MENUITEM "&Using Help" HELP_HELP
  50. MENUITEM SEPARATOR
  51. MENUITEM "&About...", ABOUT
  52. end
  53. end
  54. PMAdminMenu ACCELERATORS
  55. BEGIN
  56. VK_RETURN, IDM_PROPERTIES, VIRTKEY, ALT
  57. VK_F4, EXIT, VIRTKEY, ALT
  58. VK_F5, IDM_REFRESH, VIRTKEY
  59. END
  60. PMAdminMenuData RCDATA
  61. BEGIN
  62. 0, /* "View" menu position in Local menu bar */
  63. EXIT /* add ADMIN_MENUS item to "view" menu before this item */
  64. END
  65. // from spooler.h
  66. stringtable
  67. begin
  68. /* Not used in Test Driver -- job status descriptions */
  69. IDS_A_PRINTCOMPL "Printing Completed"
  70. IDS_A_INTERV "Intervention Required"
  71. IDS_A_ERROR "Generic Error"
  72. IDS_A_DESTOFFLINE "Printer Offline"
  73. IDS_A_DESTPAUSED "Printer Paused"
  74. IDS_A_NOTIFY "Alert Raised"
  75. IDS_A_NOPAPER "Out of Paper"
  76. IDS_A_FORMCHG "Waiting for Form Change"
  77. IDS_A_CRTCHG "Waiting for Cartridge Change"
  78. IDS_A_PENCHG "Waiting for Pen Change"
  79. /* Not used in Test Driver -- explanation text templates */
  80. IDS_A_NOQUEUES "No queues defined"
  81. IDS_A_JOBQUEUED "%1 %2 is Queued"
  82. IDS_A_JOBPAUSED "%1 %2 is Paused"
  83. IDS_A_JOBSPOOLING "%1 %2 is Spooling"
  84. IDS_A_JOBPRINTING "%1 %2 is Printing on %3"
  85. /* Test Driver only */
  86. IDS_PMAN_ISADMIN "Are you an administrator?"
  87. /* Menu item text */
  88. IDS_PMAN_AdminMenuItem "Admin &Menus"
  89. /* Window caption templates */
  90. IDS_CAPTION_DOMAIN "Printers in %1"
  91. IDS_CAPTION_SERVER "Printers on %1"
  92. end