Source code of Windows XP (NT5)
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.

34 lines
1.2 KiB

  1. #include <windows.h>
  2. #include <ntverp.h>
  3. #define VER_FILETYPE VFT_DRV
  4. #define VER_FILESUBTYPE VFT2_DRV_PRINTER
  5. #define VER_FILEDESCRIPTION_STR "Windows Spooler Driver"
  6. #define VER_INTERNALNAME_STR "winspool.drv"
  7. #define VER_ORIGINALFILENAME_STR "winspool.drv"
  8. #include "resource.h"
  9. #include "common.ver"
  10. #include "messages.rc"
  11. STRINGTABLE DISCARDABLE
  12. BEGIN
  13. IDS_COULD_NOT_OPEN_FILE "Could not open the file: %s"
  14. IDS_OVERWRITE_EXISTING_FILE "The output file already exists. Click OK to overwrite."
  15. IDS_DUPLICATE_PRINTQUEUE "This printer is already published at:\n%s\n\nWould you like to remove it and replace it with one in:\n%s"
  16. IDS_DUPLICATE_PRINTQUEUE_TITLE "Duplicate Printer Detected"
  17. IDS_UNKNOWN_ERROR "Unknown"
  18. IDS_LOCALMONITOR "Local Port"
  19. END
  20. DLG_PRINTTOFILE DIALOG DISCARDABLE 6, 18, 245, 47
  21. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_CONTEXTHELP | WS_POPUP |
  22. WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  23. CAPTION "Print to File"
  24. FONT 8, "MS Shell Dlg"
  25. BEGIN
  26. LTEXT "&Output File Name:",-1,7,13,74,8
  27. EDITTEXT IDD_PF_EF_OUTPUTFILENAME,6,28,174,12,ES_AUTOHSCROLL
  28. DEFPUSHBUTTON "OK",IDOK,199,10,40,14
  29. PUSHBUTTON "Cancel",IDCANCEL,199,27,40,14
  30. END