1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;AN000;
2 ;; DOS - GRAPHICS Command
3 ;; (c) Copyright 1988 Microsoft
5 ;; File Name: GRMSG.EQU ;AN000;
8 ;; DOS GRAPHICS Command - Message number AN000;equates
10 ;; Description: ;AN000;
11 ;; ------------ ;AN000;
12 ;; This file contains the numbers assigned to the error messages ;AN000;
13 ;; issued by GRAPHICS.COM ;AN000;
15 ;; These messages are defined in GRAPHICS.MSG ;AN000;
16 ;; (The message skeleton file for GRAPHICS.COM) ;AN000;
18 ;; This file also contains equates for the error codes returned by ;AN000;
19 ;; the DOS parser. ;AN000;
21 ;; Documentation Reference: ;AN000;
22 ;; ------------------------ ;AN000;
24 ;; DOS 3.3 Message Retriever Interface Supplement. ;AN000;
26 ;; External Procedure References: ;AN000;
27 ;; ------------------------------ ;AN000;
28 ;; FROM FILE GRINST.ASM: ;AN000;
29 ;; GRAPHICS_INSTALL - Main module for GRAPHICS install. ;AN000;
30 ;; PARSE_PARMS - Parse the command line parameters. ;AN000;
31 ;; FROM FILE GRLOAD.ASM AND GRLOAD2.ASM ;AN000;
32 ;; All modules ;AN000;
34 ;; Change History: ;AN000;
35 ;; --------------- ;AN000;
38 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;AN000;
40 ;-------------------------------------------------------------------------------;AN000;
41 ; GRAPHICS MESSAGE NUMBERS ;AN000;
42 ;-------------------------------------------------------------------------------;AN000;
44 ; Class A messages: ;AN000;
45 INCORRECT_DOS EQU 1 ; 'Incorrect DOS version' ;AN000;
46 NO_MEMORY EQU 2 ; 'Insufficient memory' ;AN000;
48 ; Class B messages: (Profile loading) ;AN000;
49 PROFILE_NOT_FOUND EQU 9 ; 'Cannot find GRAPHICS profile' ;AN000;
50 MISSING_STMT EQU 10 ; 'Required profile statement missing ;AN000;
51 ; before line %1' ;AN000;
52 INVALID_STMT EQU 11 ; 'Invalid profile statement on line %1' ;AN000;
53 OUT_SEQ_STMT EQU 12 ; 'Profile statement out of sequence on line %1';AN000;
54 FILE_ERRORS EQU 13 ; 'Error reading GRAPHICS profile' ;AN000;
55 SYNTAX_ERRORS EQU 14 ; 'Syntax errors in GRAPHICS profile' ;AN000;
56 INVALID_PB EQU 15 ; 'PRINTBOX id not in GRAPHICS profile' ;AN000;
57 INVALID_PRT EQU 16 ; 'Printer type not in GRAPHICS profile' ;AN000;
59 ; Class C messages: (Command line parsing) ;AN000;
60 TOO_MANY_PARMS EQU 3 ; 'Too many parameters' ;AN000;
61 VALUE_NOT_ALLOWED EQU 4 ; 'Parameter value not allowed' ;AN000;
62 INVALID_PARM EQU 5 ; 'Invalid parameter %1' ;AN000;
63 INVALID_COMBINATION EQU 6 ; 'Invalid parameter combination' ;AN000;
64 DUPLICATE_PARM EQU 7 ; 'Duplicate parameters not allowed' ;AN000;
65 FORMAT_NOT_CORRECT EQU 8 ; 'Parameter format not correct' ;AN000;
66 INVALID_B_SWITCH EQU 17 ; '/B invalid with a Black and White printer' ;AN000;
67 UNABLE_RELOAD EQU 18 ; 'Unable to reload with profile supplied' ;AN000;
71 ;-------------------------------------------------------------------------------;AN000;
72 ; PARSER ERROR CODES AND OUR OWN PARSING ERROR CODES ;AN000;
74 ;-------------------------------------------------------------------------------;AN000;
76 RC_NO_ERROR EQU 0 ;AN000;
78 RC_TOO_MANY EQU 1 ;AN000;
79 RC_NOT_IN_SW EQU 3 ;AN000;
80 RC_NOT_IN_VAL EQU 7 ;AN000;
81 RC_NOT_IN_STR EQU 8 ;AN000;
83 RC_INVLD_COMBINATION EQU 99 ;AN000;
84 RC_DUPLICATE_PARMS EQU 100 ;AN000;