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