/*DDK*************************************************************************/
/*                                                                           */
/* COPYRIGHT (C) Microsoft Corporation, 1989                                 */
/* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
/*                                                                           */
/*    The following IBM OS/2 WARP source code is provided to you solely for  */
/*    the purpose of assisting you in your development of OS/2 WARP device   */
/*    drivers. You may use this code in accordance with the IBM License      */
/*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
/*    Copyright statement may not be removed.                                */
/*                                                                           */
/*****************************************************************************/
/**************************************************************************
 *
 * SOURCE FILE NAME = CONFIG.H
 *
 * DESCRIPTIVE NAME =
 *
 *
 * VERSION = V2.0
 *
 * DATE
 *
 * DESCRIPTION
 *
 * FUNCTIONS
 *
 * NOTES
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
*/


#define MAX_TITLEBAR_STR_LEN   33  /* MFR                                   */

#define LASER           1
#define ALLPPDS         450

#define IMAGE_CODE      501
#define IMAGEGRP        500

#ifdef DCR1476
#define PRTPROP         THI_ABOUT
#define JOBPROP         102
#define JOBOPT          103
#define DEFFORM         104
#define INSTALL         105
#define HELP_GROUP      460
#endif

#define IDH_CONTEXT     2
#define OVERWRITE       3

/*            */
/*
** Define the maximum and minimum fonts to download .
*/
#define MAX_DOWN_FONT   999L
#define MIN_DOWN_FONT   0L

/*
**  printer configuration dialog box.
*/

#define PRCONFIG_BASE   200
#define DLG_PRCONFIG             PRCONFIG_BASE
#define DSPTXT_VERSION           PRCONFIG_BASE + 1
#define PUSH_JOBPROP             PRCONFIG_BASE + 2
#define PUSH_FORMS               PRCONFIG_BASE + 3
#define LIST_TRAY                PRCONFIG_BASE + 4
#define LIST_PAPER               PRCONFIG_BASE + 5
#define TEXT_FORM                PRCONFIG_BASE + 6
#define TEXT_TRAY                PRCONFIG_BASE + 7
#define GROUP_SOURCE             PRCONFIG_BASE + 8
#define TEXT_PRMODEL             PRCONFIG_BASE + 9
#define PUSH_DELETE              PRCONFIG_BASE + 10
#define DSPTXT_MODEL             PRCONFIG_BASE + 11
#define TEXT_VERSION             PRCONFIG_BASE + 12
#define PUSH_SOFTFONT            PRCONFIG_BASE + 13
#define CHECK_MODESWITCH         PRCONFIG_BASE + 14
/*             */
#define GROUP_FONT_DOWN          PRCONFIG_BASE + 15
#define TEXT_MAX_FONTS           PRCONFIG_BASE + 16
#define SPIN_MAX_FONTS           PRCONFIG_BASE + 17
#define PUSH_FONT_DEFAULT        PRCONFIG_BASE + 18
#define IDP_PRINT_FONT_CAPACITY  PRCONFIG_BASE + 19

/*
**  job properties dialog box.
*/

#define JOBPROP_BASE    300
#define DLG_JOBPROP     JOBPROP_BASE
#define LIST_FORMS      JOBPROP_BASE + 1
#define PUSH_OPTIONS    JOBPROP_BASE + 2
#define GROUP_ORIENT    JOBPROP_BASE + 3
#define CHECK_COLOR     JOBPROP_BASE + 4
#define CHECK_MANUAL    JOBPROP_BASE + 5
#define TEXT_SCALE      JOBPROP_BASE + 6
#define EDIT_SCALE      JOBPROP_BASE + 7
#define GROUP_SCALE     JOBPROP_BASE + 8
#define RADIO_PORTRAIT  JOBPROP_BASE + 9
#define RADIO_LAND      JOBPROP_BASE + 10
#define RADIO_FLIP      JOBPROP_BASE + 11  
#define RADIO_BOOK      JOBPROP_BASE + 12  
#define RADIO_ONE_SIDED JOBPROP_BASE + 13  
#define GROUP_PLEXING   JOBPROP_BASE + 14  
#define TEXT_FORM_2     JOBPROP_BASE + 15  
/*            next 2 lines */
#define TEXT_RESOLUTION  PRCONFIG_BASE + 16
#define LIST_RESOLUTION  PRCONFIG_BASE + 17

/*
**  options dialog box.
*/

#define OPTIONS_BASE         400
#define DLG_OPTIONS          OPTIONS_BASE
#define DSPTXT_PRINTER       OPTIONS_BASE + 1
#define TEXT_UNCOLLATED      OPTIONS_BASE + 2
#define EDIT_COPIES          OPTIONS_BASE + 3
#define GROUP_EFFECTS        OPTIONS_BASE + 4
#define CHECK_INVERT         OPTIONS_BASE + 5
#define CHECK_LEFTRIGHT      OPTIONS_BASE + 6
#define CHECK_TOPBOTTOM      OPTIONS_BASE + 7
#define GROUP_TIMEOUT        OPTIONS_BASE + 8
#define EDIT_JOB             OPTIONS_BASE + 9
#define TEXT_JOB             OPTIONS_BASE + 10
#define GROUP_PRINT          OPTIONS_BASE + 11
#define TEXT_FILE            OPTIONS_BASE + 12
#define EDIT_FILE            OPTIONS_BASE + 13
#define RADIO_ENCAPS         OPTIONS_BASE + 14
#define RADIO_RAW            OPTIONS_BASE + 15
#define RADIO_PRINTER        OPTIONS_BASE + 16
#define EDIT_WAIT            OPTIONS_BASE + 17
#define TEXT_WAIT            OPTIONS_BASE + 18
#define JPO_CB_REPDLFONTS    OPTIONS_BASE + 19 /*            */
#define JPO_CB_PSLVL1        OPTIONS_BASE + 20
/*
** @V3.0GAMMA1
** Gamma correction controls
*/
#define OPT_GAMMASLIDE       OPTIONS_BASE + 21
#define OPT_GAMMATEXT        OPTIONS_BASE + 22
#define OPT_GAMMANUM         OPTIONS_BASE + 23
#define OPT_GAMMAGROUP       OPTIONS_BASE + 24

/*
**  define forms dialog box.
*/

#define FORMS_BASE      500
#define DLG_FORMS       FORMS_BASE
#define TEXT_NAME       FORMS_BASE + 1
#define LIST_SIZE       FORMS_BASE + 2
#define TEXT_SIZE       FORMS_BASE + 3
#define EDIT_HEIGHT     FORMS_BASE + 4
#define TEXT_HEIGHT     FORMS_BASE + 5
#define EDIT_WIDTH      FORMS_BASE + 6
#define TEXT_WIDTH      FORMS_BASE + 7
#define LIST_UNITS      FORMS_BASE + 8
#define TEXT_UNITS      FORMS_BASE + 9
#define GROUP_CUSTOM    FORMS_BASE + 10
#define PUSH_ADD        FORMS_BASE + 11
#define EDIT_NAME       FORMS_BASE + 12

/*
** Warning Panel - that raw output file already exists
** reworked to fix PTR OSDD HM01010
*/
/*
** Warning Panel - that raw output file already exists reworked
*/
#define OVRWARN_BASE    600
#define DLG_OVRWARN     OVRWARN_BASE

#define TEXT_W_TITLE    OVRWARN_BASE + 1
#define TEXT_FILE_OVR   OVRWARN_BASE + 2
#define EDIT_FILE_OVR   OVRWARN_BASE + 3
#define TEXT_W_INF1     OVRWARN_BASE + 4
#define TEXT_W_INF2     OVRWARN_BASE + 5

/*
** Warning Panel - that raw output filename is invalid
** reworked to fix PTR OSDD HM01010
*/
/*
** Warning Panel - that raw output filename is invalid reworked
*/
#define INVFILE_BASE    700
#define DLG_INVFILE     INVFILE_BASE

#define TEXT_E_TITLE    INVFILE_BASE + 1
#define TEXT_FILE_INV   INVFILE_BASE + 2
#define EDIT_FILE_INV   INVFILE_BASE + 3
#define TEXT_E_INF1     INVFILE_BASE + 4
#define TEXT_E_INF2     INVFILE_BASE + 5

/*
**  softfont installer dialog box
*/

#define SOFTFONT_BASE           800
#define DLG_SOFTFONT            SOFTFONT_BASE
#define SF_LB_INSTALLED         SOFTFONT_BASE + 1
#define SF_ADD                  SOFTFONT_BASE + 2
#define SF_ERASE                SOFTFONT_BASE + 3
#define ID_FONT_SOURCE          SOFTFONT_BASE + 4
#define SF_LB_SOURCE            SOFTFONT_BASE + 5
#define SF_OPEN                 SOFTFONT_BASE + 6
#define ID_NEW_FNT_TITLE        SOFTFONT_BASE + 7
#define ID_NEW_SFNT_TITLE       SOFTFONT_BASE + 8
#define ID_INST_FONT_DIR_TITLE  SOFTFONT_BASE + 9
#define ID_INST_FONT_DIR_FRAME  SOFTFONT_BASE + 10
#define ID_INST_FONT_DIR        SOFTFONT_BASE + 11
#define ID_INST_FONTS_TITLE     SOFTFONT_BASE + 12


#define MAX_MESSAGE_SIZE    256
#define IDM_BASE            1100
#define IDM_MsgBoxCaption   IDM_BASE
#define IDM_BadScaleFactor  IDM_BASE + 1
#define IDM_BadWidth        IDM_BASE + 2
#define IDM_BadHeight       IDM_BASE + 3
#define IDM_BadFormName     IDM_BASE + 4
#define IDM_CantDeleteForm  IDM_BASE + 5
#define IDM_CantAddForm     IDM_BASE + 6
#define IDM_BadNumCopies    IDM_BASE + 7
#define IDM_BadJobTimeout   IDM_BASE + 8
#define IDM_BadWaitTimeout  IDM_BASE + 9
#define IDM_BadFileName     IDM_BASE + 10
#define IDM_CantWriteToIni  IDM_BASE + 11
#define IDM_CantDelCurrent  IDM_BASE + 12
#define IDM_VerifyDelForm   IDM_BASE + 13
#define IDM_CantFindPFB     IDM_BASE + 14
#define IDM_CantFindAFM     IDM_BASE + 15
#define IDM_InsertAFMDisk   IDM_BASE + 16
#define IDM_NoFonts         IDM_BASE + 17
#define IDM_SFInstaller     IDM_BASE + 18
#define IDM_BadDirectory    IDM_BASE + 19
#define IDM_DriveOpen       IDM_BASE + 20
#define IDM_JobLTWait       IDM_BASE + 21
#define IDM_FileWriteError  IDM_BASE + 22
#define IDM_UseSystemFonts  IDM_BASE + 23
/*
**           
** New message error ID.
*/
#define IDM_OfflineError    IDM_BASE + 24

/*
** table of string id's.  these id's must be kept in sequential order.
** if more are added, IDS_EndString must also be updated.
*/

#define STRING_BASE                 2000
#define IDS_Letter                  STRING_BASE
#define IDS_A4                      STRING_BASE + 1
#define IDS_Portrait                STRING_BASE + 2
#define IDS_Landscape               STRING_BASE + 3
#define IDS_Custom                  STRING_BASE + 4
#define IDS_UserDefinedForm         STRING_BASE + 5
#define IDS_None                    STRING_BASE + 6
#define IDS_Upper                   STRING_BASE + 7
#define IDS_PostScriptPrn           STRING_BASE + 8
#define IDS_Inches                  STRING_BASE + 9
#define IDS_Cms                     STRING_BASE + 10
#define IDS_Points                  STRING_BASE + 11
#define IDS_Generic                 STRING_BASE + 12
#define IDS_PRINTER_DEFAULTS        STRING_BASE + 13
#define IDS_PM_Q_STD                STRING_BASE + 14
#define IDS_PM_Q_RAW                STRING_BASE + 15
#define IDS_PM_SPOOLER_DD           STRING_BASE + 16
#define IDS_PM_SPOOLER_PRINTER      STRING_BASE + 17
#define IDS_PM_SPOOLER_QUEUE_DD     STRING_BASE + 18
#define IDS_PSCRIPT                 STRING_BASE + 19
/*
*/
/*
**  help strings
*/
#define IDS_HELPTITLE               STRING_BASE + 20
#define IDS_NoHelpFile              STRING_BASE + 21
#define IDS_NoHelpMemory            STRING_BASE + 22
/*            Next 2 */
#define IDS_Avail_Mem               STRING_BASE + 23
#define IDS_Sug_Font                STRING_BASE + 24

/*
**  MUST BE THE LAST ONE, AND ONE GREATER THAN THE PRECEDING ONE!
*/
#define IDS_EndString               STRING_BASE + 25

/*
**  MUST BE GREATER THAN OR EQUAL TO THE TOTAL NUMBER OF STRINGS ID'S.
*/
#define MAX_STRINGS                 25

/*
** Entries added for DCR 1476
*/

/*
**  main help table
*/
#define MAIN_HELPTABLE        15000

/*
**  help subtables
*/
#define IDD_MAIN_SUBTABLE     15100
#define DLG_FORMS_SUBTABLE    15101
#define DLG_OPTIONS_SUBTABLE  15102
#define DLG_JOBPROP_SUBTABLE  15103
#define DLG_SOFTFONT_SUBTABLE 15104

#define IDH_OK                 1090
#define IDH_CANCEL             1091

#define IDH_KEYS              15010
#define IDH_JOB_PROP_PB       15354
#define IDH_PSCRIPT_PP        15355
#define IDH_PAPER_SOURCE      15356
#define IDH_FONTS_PB          15357
#define IDH_DEFINE_FORM_PB    15358
#define IDH_DELETE_FORM_PB    15359
#define IDH_DEFINE_FORMS      15360
#define IDH_NAME              15361
#define IDH_SIZE              15362
#define IDH_UNITS             15363
#define IDH_WIDTH             15364
#define IDH_HEIGHT            15365
#define IDH_ADD_FORM          15366
#define IDH_FONT_INSTALLER    15370
#define IDH_INSTALLED_FONTS   15371
#define IDH_FONT_SOURCE       15372
#define IDH_NEW_SOFT          15373
#define IDH_OPEN              15374
#define IDH_ADD_FONT          15375
#define IDH_DELETE            15376
#define IDH_PSCRIPT_JP        15377
#define IDH_ORIENTATION       15378
#define IDH_SCALING           15379
#define IDH_FORM              15380
#define IDH_FEED              15381
#define IDH_COLOR             15382
#define IDH_OPTIONS_PB        15383
#define IDH_OPTIONS           15384
#define IDH_PRINT             15385
#define IDH_EFFECTS           15386
#define IDH_TIMEOUT           15387
#define IDH_COPIES            15388
#define IDH_INST_FONT_DIR     15389
#define IHD_MODE_SWITCH       15390
#define IHD_DOWNLOADFONT      15391
#define IHD_SETRESOLUTION     15392
#define IHD_REPDLFONTS        15393
#define IHD_PSL1COMPAT        15394

