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

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
drvver.rc
Abstract:
PostScript driver UI version resources
Revision History:
02/04/97 -davidx-
Created it.
--*/
#include <ntverp.h>
#ifdef ADOBE
// Undefine predefined MS stuff
#undef VER_COMPANYNAME_STR
#undef VER_PRODUCTNAME_STR
#undef VER_PRODUCTVERSION_STR
#undef VER_PRODUCTVERSION
#include "..\..\pscript\version.rc"
#endif // ADOBE
//
// About dialog box
//
IDI_PSCRIPT ICON DISCARDABLE "pscript.ico"
IDD_ABOUT DIALOG DISCARDABLE 6, 18, 224, 130
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About PostScript Printer Driver"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 92, 110, 40, 14
ICON IDI_PSCRIPT, -1, 8, 8, 32, 32
LTEXT "PostScript Printer Driver", -1, 48, 8, 160, 8
#ifndef ADOBE
LTEXT "", IDC_WINNT_VER, 48, 18, 160, 8
LTEXT "Jointly developed by Microsoft Corp. and Adobe Systems Inc.",
105, 48, 28, 160, 16
LTEXT "Copyright (C) 1996-2002 Microsoft Corp.", 106, 48, 46, 160, 8
#else // ADOBE
LTEXT DRV_VER, -1, 48, 18, 160, 8
LTEXT "Jointly developed by Adobe Systems Inc. and Microsoft Corp.",
105, 48, 28, 160, 16
LTEXT "Copyright (C) 1996-2002 Adobe Systems Inc.", 106, 48, 46, 160, 8
#endif // ADOBE
LTEXT "Model name:", -1, 48, 64, 60, 8
LTEXT "", IDC_MODELNAME, 108, 64, 108, 8
LTEXT "PPD filename:", -1, 48, 74, 60, 8
LTEXT "", IDC_PPD_FILENAME, 108, 74, 108, 8
LTEXT "PPD version:", -1, 48, 84, 60, 8
LTEXT "", IDC_PPD_FILEVER, 108, 84, 108, 8
END
//
// PostScript custom page size dialog
//
IDD_PSCRIPT_CUSTOMSIZE DIALOG DISCARDABLE 41, 44, 255, 164
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP
CAPTION "PostScript Custom Page Size Definition"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Custom Page &Size Dimensions",-1,7,7,165,45,WS_GROUP
LTEXT "&Width:",-1,20,20,23,8
EDITTEXT IDC_CS_WIDTH,50,19,40,12,ES_AUTOHSCROLL
LTEXT "(min, max)",IDC_CS_WIDTHRANGE,95,20,72,8
LTEXT "&Height:",-1,20,34,25,8
EDITTEXT IDC_CS_HEIGHT,50,33,40,12,ES_AUTOHSCROLL
LTEXT "(min, max)",IDC_CS_HEIGHTRANGE,95,34,72,8
GROUPBOX "&Unit",-1,178,7,70,45,WS_GROUP
CONTROL "&Inch",IDC_CS_INCH,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,190,16,50,10
CONTROL "&Millimeter",IDC_CS_MM,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,190,28,50,10
CONTROL "&Point",IDC_CS_POINT,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,190,40,50,10
LTEXT "Paper &Feed Direction:",-1,7,57,88,8
COMBOBOX IDC_CS_FEEDDIRECTION,125,57,123,48,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Paper &Type:",-1,7,74,72,8
CONTROL "&Cut Sheet",IDC_CS_CUTSHEET,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,125,74,48,10
CONTROL "&Roll Feed",IDC_CS_ROLLFED,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,190,74,46,10
GROUPBOX "&Offsets Relative to Paper Feed Direction",-1,
7,87,241,45,WS_GROUP
LTEXT "P&erpendicular Direction:",-1,20,100,91,8
EDITTEXT IDC_CS_XOFFSET,125,100,40,12,ES_AUTOHSCROLL
LTEXT "(min, max)",IDC_CS_XOFFSETRANGE,169,101,72,8
LTEXT "P&arallel Direction:",-1,20,114,90,8
EDITTEXT IDC_CS_YOFFSET,125,114,40,12,ES_AUTOHSCROLL
LTEXT "(min, max)",IDC_CS_YOFFSETRANGE,169,115,72,8
PUSHBUTTON "OK",IDOK,91,143,40,14
PUSHBUTTON "Cancel",IDCANCEL,139,143,40,14
PUSHBUTTON "Restore &Defaults",IDC_RESTOREDEFAULTS,184,143,64,14
END
//
// Version resources
//
#define VER_FILETYPE VFT_DRV
#ifndef ADOBE
#ifdef WINNT_40
#define VER_FILESUBTYPE VFT2_DRV_PRINTER
#define VER_FILEVERSION 0, 2, 0, 0
#define VER_INTERNALNAME_STR "PS4UI.DLL"
#define VER_ORIGINALFILENAME_STR "PS4UI.DLL"
#else // !WINNT_40
#define VER_FILESUBTYPE VFT2_DRV_VERSIONED_PRINTER
#define VER_FILEVERSION 0, 3, 0x0510, 0
#define VER_INTERNALNAME_STR "PS5UI.DLL"
#define VER_ORIGINALFILENAME_STR "PS5UI.DLL"
#endif // WINNT_40
#define VER_FILEDESCRIPTION_STR "PostScript Driver User Interface"
#else // ADOBE
#define VER_FILEDESCRIPTION_STR "Adobe PostScript Driver User Interface"
#define VER_INTERNALNAME_STR "AdobePSu.DLL"
#define VER_ORIGINALFILENAME_STR "AdobePSu.DLL"
#define VER_COMPANYNAME_STR "Adobe Systems Incorporated"
#define VER_LEGALCOPYRIGHT_STR "Copyright \251 1991-2002 Adobe Systems Inc."
#define VER_FILESUBTYPE VFT2_DRV_PRINTER
#ifdef WINNT_40
#define VER_PRODUCTNAME_STR "Adobe Printer Driver for Windows NT 4.0"
#else
#define VER_PRODUCTNAME_STR "Adobe Printer Driver for Windows 2000"
#endif
#endif // ADOBE
#ifndef ADOBE
#include "common.ver"
#else
#include ".\adobe.ver"
#endif