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.

172 lines
5.3 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. drvver.rc
  5. Abstract:
  6. PostScript driver UI version resources
  7. Revision History:
  8. 02/04/97 -davidx-
  9. Created it.
  10. --*/
  11. #include <ntverp.h>
  12. #ifdef ADOBE
  13. // Undefine predefined MS stuff
  14. #undef VER_COMPANYNAME_STR
  15. #undef VER_PRODUCTNAME_STR
  16. #undef VER_PRODUCTVERSION_STR
  17. #undef VER_PRODUCTVERSION
  18. #include "..\..\pscript\version.rc"
  19. #endif // ADOBE
  20. //
  21. // About dialog box
  22. //
  23. IDI_PSCRIPT ICON DISCARDABLE "pscript.ico"
  24. IDD_ABOUT DIALOG DISCARDABLE 6, 18, 224, 130
  25. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  26. CAPTION "About PostScript Printer Driver"
  27. FONT 8, "MS Shell Dlg"
  28. BEGIN
  29. DEFPUSHBUTTON "OK", IDOK, 92, 110, 40, 14
  30. ICON IDI_PSCRIPT, -1, 8, 8, 32, 32
  31. LTEXT "PostScript Printer Driver", -1, 48, 8, 160, 8
  32. #ifndef ADOBE
  33. LTEXT "", IDC_WINNT_VER, 48, 18, 160, 8
  34. LTEXT "Jointly developed by Microsoft Corp. and Adobe Systems Inc.",
  35. 105, 48, 28, 160, 16
  36. LTEXT "Copyright (C) 1996-2002 Microsoft Corp.", 106, 48, 46, 160, 8
  37. #else // ADOBE
  38. LTEXT DRV_VER, -1, 48, 18, 160, 8
  39. LTEXT "Jointly developed by Adobe Systems Inc. and Microsoft Corp.",
  40. 105, 48, 28, 160, 16
  41. LTEXT "Copyright (C) 1996-2002 Adobe Systems Inc.", 106, 48, 46, 160, 8
  42. #endif // ADOBE
  43. LTEXT "Model name:", -1, 48, 64, 60, 8
  44. LTEXT "", IDC_MODELNAME, 108, 64, 108, 8
  45. LTEXT "PPD filename:", -1, 48, 74, 60, 8
  46. LTEXT "", IDC_PPD_FILENAME, 108, 74, 108, 8
  47. LTEXT "PPD version:", -1, 48, 84, 60, 8
  48. LTEXT "", IDC_PPD_FILEVER, 108, 84, 108, 8
  49. END
  50. //
  51. // PostScript custom page size dialog
  52. //
  53. IDD_PSCRIPT_CUSTOMSIZE DIALOG DISCARDABLE 41, 44, 255, 164
  54. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
  55. CAPTION "PostScript Custom Page Size Definition"
  56. FONT 8, "MS Shell Dlg"
  57. BEGIN
  58. GROUPBOX "Custom Page &Size Dimensions",-1,7,7,165,45,WS_GROUP
  59. LTEXT "&Width:",-1,20,20,23,8
  60. EDITTEXT IDC_CS_WIDTH,50,19,40,12,ES_AUTOHSCROLL
  61. LTEXT "(min, max)",IDC_CS_WIDTHRANGE,95,20,72,8
  62. LTEXT "&Height:",-1,20,34,25,8
  63. EDITTEXT IDC_CS_HEIGHT,50,33,40,12,ES_AUTOHSCROLL
  64. LTEXT "(min, max)",IDC_CS_HEIGHTRANGE,95,34,72,8
  65. GROUPBOX "&Unit",-1,178,7,70,45,WS_GROUP
  66. CONTROL "&Inch",IDC_CS_INCH,"Button",BS_AUTORADIOBUTTON |
  67. WS_TABSTOP,190,16,50,10
  68. CONTROL "&Millimeter",IDC_CS_MM,"Button",BS_AUTORADIOBUTTON |
  69. WS_TABSTOP,190,28,50,10
  70. CONTROL "&Point",IDC_CS_POINT,"Button",BS_AUTORADIOBUTTON |
  71. WS_TABSTOP,190,40,50,10
  72. LTEXT "Paper &Feed Direction:",-1,7,57,88,8
  73. COMBOBOX IDC_CS_FEEDDIRECTION,125,57,123,48,CBS_DROPDOWNLIST |
  74. WS_VSCROLL | WS_TABSTOP
  75. LTEXT "Paper &Type:",-1,7,74,72,8
  76. CONTROL "&Cut Sheet",IDC_CS_CUTSHEET,"Button",BS_AUTORADIOBUTTON |
  77. WS_TABSTOP,125,74,48,10
  78. CONTROL "&Roll Feed",IDC_CS_ROLLFED,"Button",BS_AUTORADIOBUTTON |
  79. WS_TABSTOP,190,74,46,10
  80. GROUPBOX "&Offsets Relative to Paper Feed Direction",-1,
  81. 7,87,241,45,WS_GROUP
  82. LTEXT "P&erpendicular Direction:",-1,20,100,91,8
  83. EDITTEXT IDC_CS_XOFFSET,125,100,40,12,ES_AUTOHSCROLL
  84. LTEXT "(min, max)",IDC_CS_XOFFSETRANGE,169,101,72,8
  85. LTEXT "P&arallel Direction:",-1,20,114,90,8
  86. EDITTEXT IDC_CS_YOFFSET,125,114,40,12,ES_AUTOHSCROLL
  87. LTEXT "(min, max)",IDC_CS_YOFFSETRANGE,169,115,72,8
  88. PUSHBUTTON "OK",IDOK,91,143,40,14
  89. PUSHBUTTON "Cancel",IDCANCEL,139,143,40,14
  90. PUSHBUTTON "Restore &Defaults",IDC_RESTOREDEFAULTS,184,143,64,14
  91. END
  92. //
  93. // Version resources
  94. //
  95. #define VER_FILETYPE VFT_DRV
  96. #ifndef ADOBE
  97. #ifdef WINNT_40
  98. #define VER_FILESUBTYPE VFT2_DRV_PRINTER
  99. #define VER_FILEVERSION 0, 2, 0, 0
  100. #define VER_INTERNALNAME_STR "PS4UI.DLL"
  101. #define VER_ORIGINALFILENAME_STR "PS4UI.DLL"
  102. #else // !WINNT_40
  103. #define VER_FILESUBTYPE VFT2_DRV_VERSIONED_PRINTER
  104. #define VER_FILEVERSION 0, 3, 0x0510, 0
  105. #define VER_INTERNALNAME_STR "PS5UI.DLL"
  106. #define VER_ORIGINALFILENAME_STR "PS5UI.DLL"
  107. #endif // WINNT_40
  108. #define VER_FILEDESCRIPTION_STR "PostScript Driver User Interface"
  109. #else // ADOBE
  110. #define VER_FILEDESCRIPTION_STR "Adobe PostScript Driver User Interface"
  111. #define VER_INTERNALNAME_STR "AdobePSu.DLL"
  112. #define VER_ORIGINALFILENAME_STR "AdobePSu.DLL"
  113. #define VER_COMPANYNAME_STR "Adobe Systems Incorporated"
  114. #define VER_LEGALCOPYRIGHT_STR "Copyright \251 1991-2002 Adobe Systems Inc."
  115. #define VER_FILESUBTYPE VFT2_DRV_PRINTER
  116. #ifdef WINNT_40
  117. #define VER_PRODUCTNAME_STR "Adobe Printer Driver for Windows NT 4.0"
  118. #else
  119. #define VER_PRODUCTNAME_STR "Adobe Printer Driver for Windows 2000"
  120. #endif
  121. #endif // ADOBE
  122. #ifndef ADOBE
  123. #include "common.ver"
  124. #else
  125. #include ".\adobe.ver"
  126. #endif