xref: /titanic_44/usr/src/cmd/lp/lib/msgs/msgfmts.c (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28 /*	  All Rights Reserved  	*/
29 
30 
31 #pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.18	*/
32 /* LINTLIBRARY */
33 
34 char	*_lp_msg_fmts[] =
35 {
36     "",           	/* 0 - R_BAD_MESSAGE */
37     "HSS",		/* 1 - S_NEW_QUEUE */
38     "H",          	/* 2 - R_NEW_QUEUE */
39     "H",          	/* 3 - S_ALLOC_FILES */
40     "HS",         	/* 4 - R_ALLOC_FILES */
41     "S",          	/* 5 - S_PRINT_REQUEST */
42     "HSL",         	/* 6 - R_PRINT_REQUEST */
43     "S",          	/* 7 - S_START_CHANGE_REQUEST */
44     "HS",         	/* 8 - R_START_CHANGE_REQUEST */
45     "S",          	/* 9 - S_END_CHANGE_REQUEST */
46     "HL",         	/* 10 - R_END_CHANGE_REQUEST */
47     "S",          	/* 11 - S_CANCEL_REQUEST */
48     "H",          	/* 12 - R_CANCEL_REQUEST */
49     "SSSSS",       	/* 13 - S_INQUIRE_REQUEST */
50     "HSSLLHSSSS",      	/* 14 - R_INQUIRE_REQUEST */
51     "S",          	/* 15 - S_LOAD_PRINTER */
52     "H",          	/* 16 - R_LOAD_PRINTER */
53     "S",          	/* 17 - S_UNLOAD_PRINTER */
54     "H",          	/* 18 - R_UNLOAD_PRINTER */
55     "S",          	/* 19 - S_INQUIRE_PRINTER_STATUS */
56     "HSSSSSHSLL", 	/* 20 - R_INQUIRE_PRINTER_STATUS */
57     "S",          	/* 21 - S_LOAD_CLASS */
58     "H",          	/* 22 - R_LOAD_CLASS */
59     "S",          	/* 23 - S_UNLOAD_CLASS */
60     "H",          	/* 24 - R_UNLOAD_CLASS */
61     "S",          	/* 25 - S_INQUIRE_CLASS */
62     "HSHSL",      	/* 26 - R_INQUIRE_CLASS */
63     "SSS",        	/* 27 - S_MOUNT */
64     "H",          	/* 28 - R_MOUNT */
65     "SSS",        	/* 29 - S_UNMOUNT */
66     "H",          	/* 30 - R_UNMOUNT */
67     "SS",         	/* 31 - S_MOVE_REQUEST */
68     "HL",          	/* 32 - R_MOVE_REQUEST */
69     "SS",         	/* 33 - S_MOVE_DEST */
70     "HSH",          	/* 34 - R_MOVE_DEST */
71     "S",          	/* 35 - S_ACCEPT_DEST */
72     "H",          	/* 36 - R_ACCEPT_DEST */
73     "SS",         	/* 37 - S_REJECT_DEST */
74     "H",          	/* 38 - R_REJECT_DEST */
75     "S",          	/* 39 - S_ENABLE_DEST */
76     "H",          	/* 40 - R_ENABLE_DEST */
77     "SSH",         	/* 41 - S_DISABLE_DEST */
78     "HS",          	/* 42 - R_DISABLE_DEST */
79     "",          	/* 43 - S_LOAD_FILTER_TABLE */
80     "H",          	/* 44 - R_LOAD_FILTER_TABLE */
81     "",          	/* 45 - S_UNLOAD_FILTER_TABLE */
82     "H",          	/* 46 - R_UNLOAD_FILTER_TABLE */
83     "S",           	/* 47 - S_LOAD_PRINTWHEEL */
84     "H",          	/* 48 - R_LOAD_PRINTWHEEL */
85     "S",           	/* 49 - S_UNLOAD_PRINTWHEEL */
86     "H",          	/* 50 - R_UNLOAD_PRINTWHEEL */
87     "",           	/* 51 - S_LOAD_USER_FILE */
88     "H",          	/* 52 - R_LOAD_USER_FILE */
89     "",           	/* 53 - S_UNLOAD_USER_FILE */
90     "H",          	/* 54 - R_UNLOAD_USER_FILE */
91     "S",		/* 55 - S_LOAD_FORM */
92     "H",		/* 56 - R_LOAD_FORM */
93     "S",		/* 57 - S_UNLOAD_FORM */
94     "H",		/* 58 - R_UNLOAD_FORM */
95     "S",		/* 59 - S_GETSTATUS */
96     "S",		/* 60 - R_GETSTATUS */
97     "SH",		/* 61 - S_QUIET_ALERT */
98     "H",		/* 62 - R_QUIET_ALERT */
99     "SLS",		/* 63 - S_SEND_FAULT */
100     "H",		/* 64 - R_SEND_FAULT */
101     "H",          	/* 65 - S_SHUTDOWN */
102     "H",          	/* 66 - R_SHUTDOWN */
103     "",			/* 67 - S_GOODBYE */
104     "LHHH",		/* 68 - S_CHILD_DONE */
105     "",           	/* 69 - I_GET_TYPE */
106     "",			/* 70 - I_QUEUE_CHK */
107     "SH",		/* 71 - R_CONNECT */
108     "SSHH",		/* 72 - S_GET_STATUS */
109     "HSHH",		/* 73 - R_GET_STATUS */
110     "HSSSSS",		/* 74 - S_INQUIRE_REQUEST_RANK */
111     "HSSLLHSSSHS",	/* 75 - R_INQUIRE_REQUEST_RANK */
112     "SSS",		/* 76 - S_CANCEL */
113     "HLS",		/* 77 - R_CANCEL */
114     "S",		/* 78 - S_NEW_CHILD */
115     "SSH",		/* 79 - R_NEW_CHILD */
116     "SHSD",		/* 80 - S_SEND_JOB */
117     "SHD",		/* 81 - R_SEND_JOB */
118     "HSS",		/* 82 - S_JOB_COMPLETED */
119     "H",		/* 83 - R_JOB_COMPLETED */
120     "S",          	/* 84 - S_INQUIRE_REMOTE_PRINTER */
121 /*  "",	*/		/*    - the R_INQUIRE_REMOTE_STATUS uses format 20 */
122     "H",		/* 85 - S_CHILD_SYNC */
123     "S",		/* 86 - S_LOAD_SYSTEM */
124     "H",		/* 87 - R_LOAD_SYSTEM */
125     "S",		/* 88 - S_UNLOAD_SYSTEM */
126     "H",		/* 89 - R_UNLOAD_SYSTEM */
127     "SLS",		/* 90 - S_CLEAR_FAULT */
128     "H",		/* 91 - R_CLEAR_FAULT */
129     "SSSH",        	/* 92 - S_MOUNT_TRAY */
130     "H",          	/* 93 - R_MOUNT_TRAY */
131     "SSSH",        	/* 94 - S_UNMOUNT_TRAY */
132     "H",          	/* 95 - R_UNMOUNT_TRAY */
133     "SH",        	/* 96 - S_MAX_TRAYS */
134     "H",          	/* 97 - R_MAX_TRAY */
135     "SHSHH",        	/* 98 - S_PAPER_CHANGED */
136     "H",          	/* 99 - R_PAPER_CHANGED */
137     "S",          	/* 100 - S_PAPER_ALLOWED */
138     "HSS",          	/* 101 - R_PAPER_ALLOWED */
139     0,
140 };
141