17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * CDDL HEADER START 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 545916cd2Sjpk * Common Development and Distribution License (the "License"). 645916cd2Sjpk * You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate * 87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate * and limitations under the License. 127c478bd9Sstevel@tonic-gate * 137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate * 197c478bd9Sstevel@tonic-gate * CDDL HEADER END 207c478bd9Sstevel@tonic-gate */ 217c478bd9Sstevel@tonic-gate /* 2245916cd2Sjpk * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate * Use is subject to license terms. 247c478bd9Sstevel@tonic-gate */ 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 277c478bd9Sstevel@tonic-gate /* All Rights Reserved */ 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate 30*0a44ef6dSjacobs #pragma ident "%Z%%M% %I% %E% SMI" 317c478bd9Sstevel@tonic-gate /* LINTLIBRARY */ 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate char *_lp_msg_fmts[] = 347c478bd9Sstevel@tonic-gate { 357c478bd9Sstevel@tonic-gate "", /* 0 - R_BAD_MESSAGE */ 367c478bd9Sstevel@tonic-gate "HSS", /* 1 - S_NEW_QUEUE */ 377c478bd9Sstevel@tonic-gate "H", /* 2 - R_NEW_QUEUE */ 387c478bd9Sstevel@tonic-gate "H", /* 3 - S_ALLOC_FILES */ 397c478bd9Sstevel@tonic-gate "HS", /* 4 - R_ALLOC_FILES */ 407c478bd9Sstevel@tonic-gate "S", /* 5 - S_PRINT_REQUEST */ 417c478bd9Sstevel@tonic-gate "HSL", /* 6 - R_PRINT_REQUEST */ 427c478bd9Sstevel@tonic-gate "S", /* 7 - S_START_CHANGE_REQUEST */ 437c478bd9Sstevel@tonic-gate "HS", /* 8 - R_START_CHANGE_REQUEST */ 447c478bd9Sstevel@tonic-gate "S", /* 9 - S_END_CHANGE_REQUEST */ 457c478bd9Sstevel@tonic-gate "HL", /* 10 - R_END_CHANGE_REQUEST */ 467c478bd9Sstevel@tonic-gate "S", /* 11 - S_CANCEL_REQUEST */ 477c478bd9Sstevel@tonic-gate "H", /* 12 - R_CANCEL_REQUEST */ 487c478bd9Sstevel@tonic-gate "SSSSS", /* 13 - S_INQUIRE_REQUEST */ 4945916cd2Sjpk "HSSSLLHSSSS", /* 14 - R_INQUIRE_REQUEST */ 507c478bd9Sstevel@tonic-gate "S", /* 15 - S_LOAD_PRINTER */ 517c478bd9Sstevel@tonic-gate "H", /* 16 - R_LOAD_PRINTER */ 527c478bd9Sstevel@tonic-gate "S", /* 17 - S_UNLOAD_PRINTER */ 537c478bd9Sstevel@tonic-gate "H", /* 18 - R_UNLOAD_PRINTER */ 547c478bd9Sstevel@tonic-gate "S", /* 19 - S_INQUIRE_PRINTER_STATUS */ 557c478bd9Sstevel@tonic-gate "HSSSSSHSLL", /* 20 - R_INQUIRE_PRINTER_STATUS */ 567c478bd9Sstevel@tonic-gate "S", /* 21 - S_LOAD_CLASS */ 577c478bd9Sstevel@tonic-gate "H", /* 22 - R_LOAD_CLASS */ 587c478bd9Sstevel@tonic-gate "S", /* 23 - S_UNLOAD_CLASS */ 597c478bd9Sstevel@tonic-gate "H", /* 24 - R_UNLOAD_CLASS */ 607c478bd9Sstevel@tonic-gate "S", /* 25 - S_INQUIRE_CLASS */ 617c478bd9Sstevel@tonic-gate "HSHSL", /* 26 - R_INQUIRE_CLASS */ 627c478bd9Sstevel@tonic-gate "SSS", /* 27 - S_MOUNT */ 637c478bd9Sstevel@tonic-gate "H", /* 28 - R_MOUNT */ 647c478bd9Sstevel@tonic-gate "SSS", /* 29 - S_UNMOUNT */ 657c478bd9Sstevel@tonic-gate "H", /* 30 - R_UNMOUNT */ 667c478bd9Sstevel@tonic-gate "SS", /* 31 - S_MOVE_REQUEST */ 677c478bd9Sstevel@tonic-gate "HL", /* 32 - R_MOVE_REQUEST */ 687c478bd9Sstevel@tonic-gate "SS", /* 33 - S_MOVE_DEST */ 697c478bd9Sstevel@tonic-gate "HSH", /* 34 - R_MOVE_DEST */ 707c478bd9Sstevel@tonic-gate "S", /* 35 - S_ACCEPT_DEST */ 717c478bd9Sstevel@tonic-gate "H", /* 36 - R_ACCEPT_DEST */ 727c478bd9Sstevel@tonic-gate "SS", /* 37 - S_REJECT_DEST */ 737c478bd9Sstevel@tonic-gate "H", /* 38 - R_REJECT_DEST */ 747c478bd9Sstevel@tonic-gate "S", /* 39 - S_ENABLE_DEST */ 757c478bd9Sstevel@tonic-gate "H", /* 40 - R_ENABLE_DEST */ 767c478bd9Sstevel@tonic-gate "SSH", /* 41 - S_DISABLE_DEST */ 777c478bd9Sstevel@tonic-gate "HS", /* 42 - R_DISABLE_DEST */ 787c478bd9Sstevel@tonic-gate "", /* 43 - S_LOAD_FILTER_TABLE */ 797c478bd9Sstevel@tonic-gate "H", /* 44 - R_LOAD_FILTER_TABLE */ 807c478bd9Sstevel@tonic-gate "", /* 45 - S_UNLOAD_FILTER_TABLE */ 817c478bd9Sstevel@tonic-gate "H", /* 46 - R_UNLOAD_FILTER_TABLE */ 827c478bd9Sstevel@tonic-gate "S", /* 47 - S_LOAD_PRINTWHEEL */ 837c478bd9Sstevel@tonic-gate "H", /* 48 - R_LOAD_PRINTWHEEL */ 847c478bd9Sstevel@tonic-gate "S", /* 49 - S_UNLOAD_PRINTWHEEL */ 857c478bd9Sstevel@tonic-gate "H", /* 50 - R_UNLOAD_PRINTWHEEL */ 867c478bd9Sstevel@tonic-gate "", /* 51 - S_LOAD_USER_FILE */ 877c478bd9Sstevel@tonic-gate "H", /* 52 - R_LOAD_USER_FILE */ 887c478bd9Sstevel@tonic-gate "", /* 53 - S_UNLOAD_USER_FILE */ 897c478bd9Sstevel@tonic-gate "H", /* 54 - R_UNLOAD_USER_FILE */ 907c478bd9Sstevel@tonic-gate "S", /* 55 - S_LOAD_FORM */ 917c478bd9Sstevel@tonic-gate "H", /* 56 - R_LOAD_FORM */ 927c478bd9Sstevel@tonic-gate "S", /* 57 - S_UNLOAD_FORM */ 937c478bd9Sstevel@tonic-gate "H", /* 58 - R_UNLOAD_FORM */ 947c478bd9Sstevel@tonic-gate "S", /* 59 - S_GETSTATUS */ 957c478bd9Sstevel@tonic-gate "S", /* 60 - R_GETSTATUS */ 967c478bd9Sstevel@tonic-gate "SH", /* 61 - S_QUIET_ALERT */ 977c478bd9Sstevel@tonic-gate "H", /* 62 - R_QUIET_ALERT */ 987c478bd9Sstevel@tonic-gate "SLS", /* 63 - S_SEND_FAULT */ 997c478bd9Sstevel@tonic-gate "H", /* 64 - R_SEND_FAULT */ 1007c478bd9Sstevel@tonic-gate "H", /* 65 - S_SHUTDOWN */ 1017c478bd9Sstevel@tonic-gate "H", /* 66 - R_SHUTDOWN */ 1027c478bd9Sstevel@tonic-gate "", /* 67 - S_GOODBYE */ 103*0a44ef6dSjacobs "LHH", /* 68 - S_CHILD_DONE */ 1047c478bd9Sstevel@tonic-gate "", /* 69 - I_GET_TYPE */ 1057c478bd9Sstevel@tonic-gate "", /* 70 - I_QUEUE_CHK */ 1067c478bd9Sstevel@tonic-gate "SH", /* 71 - R_CONNECT */ 1077c478bd9Sstevel@tonic-gate "SSHH", /* 72 - S_GET_STATUS */ 1087c478bd9Sstevel@tonic-gate "HSHH", /* 73 - R_GET_STATUS */ 1097c478bd9Sstevel@tonic-gate "HSSSSS", /* 74 - S_INQUIRE_REQUEST_RANK */ 11045916cd2Sjpk "HSSSLLHSSSHS", /* 75 - R_INQUIRE_REQUEST_RANK */ 1117c478bd9Sstevel@tonic-gate "SSS", /* 76 - S_CANCEL */ 1127c478bd9Sstevel@tonic-gate "HLS", /* 77 - R_CANCEL */ 1137c478bd9Sstevel@tonic-gate "S", /* 78 - S_NEW_CHILD */ 1147c478bd9Sstevel@tonic-gate "SSH", /* 79 - R_NEW_CHILD */ 1157c478bd9Sstevel@tonic-gate "SHSD", /* 80 - S_SEND_JOB */ 1167c478bd9Sstevel@tonic-gate "SHD", /* 81 - R_SEND_JOB */ 1177c478bd9Sstevel@tonic-gate "HSS", /* 82 - S_JOB_COMPLETED */ 1187c478bd9Sstevel@tonic-gate "H", /* 83 - R_JOB_COMPLETED */ 1197c478bd9Sstevel@tonic-gate "S", /* 84 - S_INQUIRE_REMOTE_PRINTER */ 1207c478bd9Sstevel@tonic-gate /* "", */ /* - the R_INQUIRE_REMOTE_STATUS uses format 20 */ 1217c478bd9Sstevel@tonic-gate "H", /* 85 - S_CHILD_SYNC */ 1227c478bd9Sstevel@tonic-gate "S", /* 86 - S_LOAD_SYSTEM */ 1237c478bd9Sstevel@tonic-gate "H", /* 87 - R_LOAD_SYSTEM */ 1247c478bd9Sstevel@tonic-gate "S", /* 88 - S_UNLOAD_SYSTEM */ 1257c478bd9Sstevel@tonic-gate "H", /* 89 - R_UNLOAD_SYSTEM */ 1267c478bd9Sstevel@tonic-gate "SLS", /* 90 - S_CLEAR_FAULT */ 1277c478bd9Sstevel@tonic-gate "H", /* 91 - R_CLEAR_FAULT */ 1287c478bd9Sstevel@tonic-gate "SSSH", /* 92 - S_MOUNT_TRAY */ 1297c478bd9Sstevel@tonic-gate "H", /* 93 - R_MOUNT_TRAY */ 1307c478bd9Sstevel@tonic-gate "SSSH", /* 94 - S_UNMOUNT_TRAY */ 1317c478bd9Sstevel@tonic-gate "H", /* 95 - R_UNMOUNT_TRAY */ 1327c478bd9Sstevel@tonic-gate "SH", /* 96 - S_MAX_TRAYS */ 1337c478bd9Sstevel@tonic-gate "H", /* 97 - R_MAX_TRAY */ 1347c478bd9Sstevel@tonic-gate "SHSHH", /* 98 - S_PAPER_CHANGED */ 1357c478bd9Sstevel@tonic-gate "H", /* 99 - R_PAPER_CHANGED */ 1367c478bd9Sstevel@tonic-gate "S", /* 100 - S_PAPER_ALLOWED */ 1377c478bd9Sstevel@tonic-gate "HSS", /* 101 - R_PAPER_ALLOWED */ 13845916cd2Sjpk "", /* 102 - S_PASS_PEER_CONNECTION */ 13945916cd2Sjpk "H", /* 103 - R_PASS_PEER_CONNECTION */ 1407c478bd9Sstevel@tonic-gate 0, 1417c478bd9Sstevel@tonic-gate }; 142