10Sstevel@tonic-gate/* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*3781Sceastha * Common Development and Distribution License (the "License"). 6*3781Sceastha * You may not use this file except in compliance with the License. 70Sstevel@tonic-gate * 80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate * See the License for the specific language governing permissions 110Sstevel@tonic-gate * and limitations under the License. 120Sstevel@tonic-gate * 130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate * 190Sstevel@tonic-gate * CDDL HEADER END 200Sstevel@tonic-gate */ 210Sstevel@tonic-gate 220Sstevel@tonic-gate#pragma ident "%Z%%M% %I% %E% SMI" 230Sstevel@tonic-gate 240Sstevel@tonic-gate/* 25*3781Sceastha * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 260Sstevel@tonic-gate * Use is subject to license terms. 270Sstevel@tonic-gate */ 280Sstevel@tonic-gate 290Sstevel@tonic-gate/** 300Sstevel@tonic-gate ** 310Sstevel@tonic-gate ** This file contains definitions for the E_... symbols 320Sstevel@tonic-gate ** used with the LP_ERRMSG routines. The definitions are 330Sstevel@tonic-gate ** linked with the text in this file, but they have to be split: 340Sstevel@tonic-gate ** The E_... symbols go into a header file, and the text 350Sstevel@tonic-gate ** go into separate, compilable files. 360Sstevel@tonic-gate **/ 370Sstevel@tonic-gate 380Sstevel@tonic-gate/* 390Sstevel@tonic-gate * 400Sstevel@tonic-gate * Format of lines in this file: 410Sstevel@tonic-gate * 420Sstevel@tonic-gate * E_... 430Sstevel@tonic-gate * "text-for-error-message" 440Sstevel@tonic-gate * "text-for-TO-FIX-statement" 450Sstevel@tonic-gate * 460Sstevel@tonic-gate * Lines that DON'T begin with E_..., " (double quote), or # 470Sstevel@tonic-gate * (after leading spaces or tabs) are skipped. Thus these comment 480Sstevel@tonic-gate * lines are ignored, but the C preprocessor directives are kept. 490Sstevel@tonic-gate * 500Sstevel@tonic-gate * Note: The preprocessor directives DO NOT keep text from being 510Sstevel@tonic-gate * generated, nor do they keep the E_... symbols from being numbered 520Sstevel@tonic-gate * (which is consistent). The directives ARE useful for keeping them 530Sstevel@tonic-gate * from being needlessly defined in a program that includes "oam.h" 540Sstevel@tonic-gate */ 550Sstevel@tonic-gate 560Sstevel@tonic-gate#define I_AM_CANCEL 1 570Sstevel@tonic-gate#define I_AM_COMB 2 580Sstevel@tonic-gate#define I_AM_LP 3 590Sstevel@tonic-gate#define I_AM_LPADMIN 4 600Sstevel@tonic-gate#define I_AM_LPFILTER 5 610Sstevel@tonic-gate#define I_AM_LPFORMS 6 620Sstevel@tonic-gate#define I_AM_LPMOVE 7 630Sstevel@tonic-gate#define I_AM_LPNETWORK 8 640Sstevel@tonic-gate#define I_AM_LPPRIVATE 9 650Sstevel@tonic-gate#define I_AM_LPSCHED 10 660Sstevel@tonic-gate#define I_AM_LPSHUT 11 670Sstevel@tonic-gate#define I_AM_LPSTAT 12 680Sstevel@tonic-gate#define I_AM_LPUSERS 13 690Sstevel@tonic-gate#define I_AM_LPSYSTEM 14 700Sstevel@tonic-gate#define I_AM_OZ 99 710Sstevel@tonic-gate 720Sstevel@tonic-gate/** 730Sstevel@tonic-gate ** COMMON MESSAGES USED BY ALL PROGRAMS 740Sstevel@tonic-gate **/ 750Sstevel@tonic-gate 760Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 770Sstevel@tonic-gateE_LP__MSGS 780Sstevel@tonic-gate 790Sstevel@tonic-gateE_LP_OPTION 800Sstevel@tonic-gate "Unrecognized option \"%s\"." 810Sstevel@tonic-gate "" 820Sstevel@tonic-gateE_LP_MALLOC 830Sstevel@tonic-gate "Not enough memory." 840Sstevel@tonic-gate "Try again later or give a simpler\ncommand." 850Sstevel@tonic-gateE_LP_AGAIN 860Sstevel@tonic-gate "Another process is using the file\n\"%s\"." 870Sstevel@tonic-gate "Try again later." 880Sstevel@tonic-gateE_LP_ANYNONE 890Sstevel@tonic-gate "The names \"any\" and \"none\" are reserved." 900Sstevel@tonic-gate "You must use a different name." 910Sstevel@tonic-gateE_LP_ACCESS 920Sstevel@tonic-gate "Can't access the file\n\"%s\"." 930Sstevel@tonic-gate "Check its file permissions." 940Sstevel@tonic-gateE_LP_NOTNAME 950Sstevel@tonic-gate "\"%s\" doesn't have the correct syntax." 960Sstevel@tonic-gate "Give a name that has 1 to 14 letters,\ndigits, dashes, or underscores." 970Sstevel@tonic-gateE_LP_OPTARG 980Sstevel@tonic-gate "The option %s requires an argument." 990Sstevel@tonic-gate "" 1000Sstevel@tonic-gateE_LP_UNKREQID 1010Sstevel@tonic-gate "Request \"%s\" doesn't exist." 1020Sstevel@tonic-gate "" 1030Sstevel@tonic-gateE_LP_MSEND 1040Sstevel@tonic-gate "Can't send message to the LP print service." 1050Sstevel@tonic-gate "The LP print service apparently has been\nstopped. Get help from your system\nadministrator." 1060Sstevel@tonic-gateE_LP_MRECV 1070Sstevel@tonic-gate "Can't receive message from the LP print service." 1080Sstevel@tonic-gate "The LP print service apparently has been\nstopped. Get help from your system\nadministrator." 1090Sstevel@tonic-gateE_LP_BADSTATUS 1100Sstevel@tonic-gate "Received unexpected status %d in a reply from the\nLP print service." 1110Sstevel@tonic-gate "It's likely there is an error in this\nsoftware. Please get help from your\nsystem administrator." 1120Sstevel@tonic-gateE_LP_PGONE 1130Sstevel@tonic-gate "Printer \"%s\" has disappeared!" 1140Sstevel@tonic-gate "The administrator should completely\nremove the printer." 1150Sstevel@tonic-gateE_LP_PNBUSY 1160Sstevel@tonic-gate "Printer \"%s\" was not busy." 1170Sstevel@tonic-gate "" 1180Sstevel@tonic-gateE_LP_MOPEN 1190Sstevel@tonic-gate "Can't establish contact with the LP print service." 1200Sstevel@tonic-gate "Either the LP print service has stopped,\nor all message channels are busy. If the\nproblem continues, get help from your\nsystem administrator." 1210Sstevel@tonic-gateE_LP_MLATER 1220Sstevel@tonic-gate "All message channels busy." 1230Sstevel@tonic-gate "Try again later." 1240Sstevel@tonic-gateE_LP_AMBIG 1250Sstevel@tonic-gate "Ambiguous or invalid combination of\n%s and %s options." 1260Sstevel@tonic-gate "Give only one of the two options." 1270Sstevel@tonic-gateE_LP_2MANY 1280Sstevel@tonic-gate "Multiple -%c options given." 1290Sstevel@tonic-gate "The last one will be used;\nprocessing continues." 1300Sstevel@tonic-gateE_LP_BADREPLY 1310Sstevel@tonic-gate "Received unexpected message %d from the LP print service." 1320Sstevel@tonic-gate "It's likely there is an error in this\nsoftware. Please get help from your\nsystem administrator." 1330Sstevel@tonic-gateE_LP_DSTUNK 1340Sstevel@tonic-gate "Destination \"%s\" is unknown to the\nLP print service." 1350Sstevel@tonic-gate "" 1360Sstevel@tonic-gateE_LP_NOTADM 1370Sstevel@tonic-gate "You aren't allowed to do that." 1380Sstevel@tonic-gate "You must be logged in as \"lp\" or \"root\"." 1390Sstevel@tonic-gateE_LP_NODEST 1400Sstevel@tonic-gate "No destinations specified." 1410Sstevel@tonic-gate "" 1420Sstevel@tonic-gateE_LP_BADFILE 1430Sstevel@tonic-gate "Cannot access the file:\n%s." 1440Sstevel@tonic-gate "Make sure file names are valid." 1450Sstevel@tonic-gateE_LP_EMPTY 1460Sstevel@tonic-gate "\"%s\" is empty." 1470Sstevel@tonic-gate "" 1480Sstevel@tonic-gateE_LP_NOFILES 1490Sstevel@tonic-gate "No (or empty) input files." 1500Sstevel@tonic-gate "" 1510Sstevel@tonic-gateE_LP_OPTCOMB 1520Sstevel@tonic-gate "Illegal combination of options." 1530Sstevel@tonic-gate "Check the manual for proper usage." 1540Sstevel@tonic-gateE_LP_NOSPACE 1550Sstevel@tonic-gate "No space to allocate temp files." 1560Sstevel@tonic-gate "Clean up disk, or try again later." 1570Sstevel@tonic-gateE_LP_ISDIR 1580Sstevel@tonic-gate "\"%s\" is a directory." 1590Sstevel@tonic-gate "A regular file is needed here; check the\nname." 1600Sstevel@tonic-gateE_LP_BADSCALE 1610Sstevel@tonic-gate "Improper scaled decimal number." 1620Sstevel@tonic-gate "Number must be greater than zero. You\ncan use only 'i' and 'c' for scaling\nnumbers ('i' inches, 'c' centimeters).\nFor setting cpi (horizontal pitch),\nsynonyms \"pica\", \"elite\", \"compressed\"\nare allowed." 1630Sstevel@tonic-gateE_LP_EXTRA 1640Sstevel@tonic-gate "Extra command line arguments starting with\n\"%s\"." 1650Sstevel@tonic-gate "Processing continues, but check for a\nmissing option. Use the -? option to see\na list of valid options." 1660Sstevel@tonic-gateE_LP_BADPRI 1670Sstevel@tonic-gate "Bad priority value \"%s\"." 1680Sstevel@tonic-gate "Use an integer value from 0 to 39." 1690Sstevel@tonic-gateE_LP_2LATE 1700Sstevel@tonic-gate "Request \"%s\" is done." 1710Sstevel@tonic-gate "It is too late to do anything with it." 1720Sstevel@tonic-gateE_LP_BUSY 1730Sstevel@tonic-gate "Request \"%s\" is busy." 1740Sstevel@tonic-gate "If the request is printing, disable the\nprinter and resubmit this command." 1750Sstevel@tonic-gateE_LP_NULLARG 1760Sstevel@tonic-gate "Null argument given for %s option." 1770Sstevel@tonic-gate "You have to give a non-empty value for\nthis option." 1780Sstevel@tonic-gateE_LP_BADOARG 1790Sstevel@tonic-gate "Argument to option -%c is invalid: \"%s\"." 1800Sstevel@tonic-gate "Re-enter with valid option arguments." 1810Sstevel@tonic-gateE_LP_NEEDSCHED 1820Sstevel@tonic-gate "The LP print service isn't running or can't be\nreached." 1830Sstevel@tonic-gate "Your request can't be completely handled\nwithout the LP print service. If this\nproblem continues, get help from your\nsystem administrator." 1840Sstevel@tonic-gateE_LP_BADDEST 1850Sstevel@tonic-gate "Destination \"%s\" does not exist." 1860Sstevel@tonic-gate "Use a printer or class that exists on\nthis system." 1870Sstevel@tonic-gateE_LP_PUTCLASS 1880Sstevel@tonic-gate "Error writing class \"%s\" to disk\n(%s)." 1890Sstevel@tonic-gate "" 1900Sstevel@tonic-gateE_LP_GETCLASS 1910Sstevel@tonic-gate "Error reading class \"%s\" from disk\n(%s)." 1920Sstevel@tonic-gate "" 1930Sstevel@tonic-gateE_LP_DELCLASS 1940Sstevel@tonic-gate "Error deleting class \"%s\" from disk\n(%s)." 1950Sstevel@tonic-gate "" 1960Sstevel@tonic-gateE_LP_GETPRINTER 1970Sstevel@tonic-gate "Error reading printer information for \"%s\"\n(%s)." 1980Sstevel@tonic-gate "" 1990Sstevel@tonic-gateE_LP_PUTPRINTER 2000Sstevel@tonic-gate "Error writing printer information for \"%s\"\n(%s)." 2010Sstevel@tonic-gate "" 2020Sstevel@tonic-gateE_LP_DELPRINTER 2030Sstevel@tonic-gate "Error deleting printer information for \"%s\"\n(%s)." 2040Sstevel@tonic-gate "" 2050Sstevel@tonic-gateE_LP_GETFORM 2060Sstevel@tonic-gate "Error reading form information for \"%s\"\n(%s)." 2070Sstevel@tonic-gate "" 2080Sstevel@tonic-gateE_LP_PUTFORM 2090Sstevel@tonic-gate "Error writing form information for \"%s\"\n(%s)." 2100Sstevel@tonic-gate "" 2110Sstevel@tonic-gateE_LP_DELFORM 2120Sstevel@tonic-gate "Error deleting form information for \"%s\"\n(%s)." 2130Sstevel@tonic-gate "" 2140Sstevel@tonic-gateE_LP_GETREQUEST 2150Sstevel@tonic-gate "Error reading request file.\n(%s)." 2160Sstevel@tonic-gate "" 2170Sstevel@tonic-gateE_LP_PUTREQUEST 2180Sstevel@tonic-gate "Error writing request file.\n(%s)." 2190Sstevel@tonic-gate "" 2200Sstevel@tonic-gateE_LP_NOCLASS 2210Sstevel@tonic-gate "Class \"%s\" does not exist." 2220Sstevel@tonic-gate "Use the \"lpstat -c all\" command to list\nall known classes." 2230Sstevel@tonic-gateE_LP_NOPRINTER 2240Sstevel@tonic-gate "Printer \"%s\" does not exist." 2250Sstevel@tonic-gate "Use the \"lpstat -p all\" command to list\nall known printers." 2260Sstevel@tonic-gateE_LP_NOFORM 2270Sstevel@tonic-gate "Form \"%s\" does not exist." 2280Sstevel@tonic-gate "Use the \"lpstat -f all\" command to list\nall known forms." 2290Sstevel@tonic-gateE_LP_GETMSG 2300Sstevel@tonic-gate "Failed to parse message from the LP print service.\n(%s)" 2310Sstevel@tonic-gate "" 2320Sstevel@tonic-gateE_LP_HAVEREQS 2330Sstevel@tonic-gate "The LP print service isn't running." 2340Sstevel@tonic-gate "Your request may affect print jobs, but\nthe LP print service isn't running to\nevaluate this. Start it by running the\n/usr/lib/lp/lpsched command." 2350Sstevel@tonic-gateE_LP_DENYDEST 2360Sstevel@tonic-gate "You are not allowed to use the destination\n\"%s\"." 2370Sstevel@tonic-gate "Use the lpstat -p command to list all\nknown printers; you can use those marked\n\"available\"." 2380Sstevel@tonic-gateE_LP_NOFILTER 2390Sstevel@tonic-gate "There is no filter to convert the file content." 2400Sstevel@tonic-gate "Use the lpstat -p -l command to find a\nprinter that can handle the file type\n directly, check your filters using lpfilter -f all -l, or consult with your system\nadministrator." 2410Sstevel@tonic-gateE_LP_REQDENY 2420Sstevel@tonic-gate "Requests for destination \"%s\" aren't\nbeing accepted." 2430Sstevel@tonic-gate "Use the \"lpstat -a\" command to see why\nthis destination is not accepting\nrequests." 2440Sstevel@tonic-gateE_LP_PTRCHK 2450Sstevel@tonic-gate "The following options can't be handled:\n%s" 2460Sstevel@tonic-gate "The printer(s) that otherwise qualify\nfor printing your request can't handle\none or more of these options. Try\nanother printer, or change the options." 2470Sstevel@tonic-gateE_LP_MNOMEM 2480Sstevel@tonic-gate "No room for this request!" 2490Sstevel@tonic-gate "The spooling directory is full, or the\nLP print service can't allocate enough\nmemory for this request." 2500Sstevel@tonic-gateE_LP_UALLOWDENY 2510Sstevel@tonic-gate "Invalid argument to the -u option." 2520Sstevel@tonic-gate "The argument must begin with either\n\"allow:\" or \"deny:\" and be followed with\na list of user names." 2530Sstevel@tonic-gateE_LP_NOQUIET 2540Sstevel@tonic-gate "No alerts are active for \"%s\"." 2550Sstevel@tonic-gate "" 2560Sstevel@tonic-gateE_LP_GARBNMB 2570Sstevel@tonic-gate "Illegal value for the -%c option." 2580Sstevel@tonic-gate "Give an integer value with this option." 2590Sstevel@tonic-gateE_LP_NEGARG 2600Sstevel@tonic-gate "Illegal value for the -%c option." 2610Sstevel@tonic-gate "This must be a non-negative number, that\nis also small enough to be interpreted\ncorrectly (numbers too large might be\nconverted to negative values)." 2620Sstevel@tonic-gateE_LP_GONEREMOTE 2630Sstevel@tonic-gate "Request %s is on the remote system." 2640Sstevel@tonic-gate "The LP print service currently does not\nallow you to change or move a request,\nonce it is on the remote system." 2650Sstevel@tonic-gateE_LP_ZEROARG 2660Sstevel@tonic-gate "Illegal value for the -%c option." 2670Sstevel@tonic-gate "Give a positive value for the option." 2680Sstevel@tonic-gateE_LP_MISSING 2690Sstevel@tonic-gate "No list given after the \"%s:\"." 2700Sstevel@tonic-gate "You seem to have left something out;\nhowever, processing of the rest of the\ncommand line options continues." 2710Sstevel@tonic-gateE_LP_ACCESSINFO 2720Sstevel@tonic-gate "Error writing access information to disk\n(%s)." 2730Sstevel@tonic-gate "" 2740Sstevel@tonic-gateE_LP_GARBAGE 2750Sstevel@tonic-gate "Too many bad input lines." 2760Sstevel@tonic-gate "Fix the input and try again." 2770Sstevel@tonic-gateE_LP_USAGE 2780Sstevel@tonic-gate "Unrecognized option \"%s\".\nEnter command with -? option for proper usage." 2790Sstevel@tonic-gate "" 2800Sstevel@tonic-gateE_LP_NOREQ 2810Sstevel@tonic-gate "No request ids available." 2820Sstevel@tonic-gate "Check for faulted or disabled printer(s) with \n\"lpstat -a\"." 2830Sstevel@tonic-gateE_LP_LARGEFILE 2840Sstevel@tonic-gate "Large File encountered, can't print:\n%s." 2850Sstevel@tonic-gate "Make sure the file is not a Large File." 2860Sstevel@tonic-gate/** 2870Sstevel@tonic-gate ** MESSAGES FOR THE LPFILTER PROGRAM 2880Sstevel@tonic-gate **/ 2890Sstevel@tonic-gate 2900Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 2910Sstevel@tonic-gateE_FL__MSGS 2920Sstevel@tonic-gate 2930Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPFILTER || WHO_AM_I == I_AM_OZ 2940Sstevel@tonic-gate#define E_FL_IGNORE E_LP_EXTRA 2950Sstevel@tonic-gate#define E_FL_GARBAGE E_LP_GARBAGE 2960Sstevel@tonic-gate 2970Sstevel@tonic-gateE_FL_ACCESS 2980Sstevel@tonic-gate "Can't access filter table\n\"%s\"." 2990Sstevel@tonic-gate "Check its file permissions." 3000Sstevel@tonic-gateE_FL_ACCESSI 3010Sstevel@tonic-gate "Can't access archived filter table\n\"%s\"." 3020Sstevel@tonic-gate "Check its file permissions." 3030Sstevel@tonic-gateE_FL_NOCMD 3040Sstevel@tonic-gate "No command specified." 3050Sstevel@tonic-gate "You must give a command or program name." 3060Sstevel@tonic-gateE_FL_NOFACTY 3070Sstevel@tonic-gate "No filters are archived." 3080Sstevel@tonic-gate "See if any were installed originally." 3090Sstevel@tonic-gateE_FL_FACTYNM 3100Sstevel@tonic-gate "No filter by that name was archived." 3110Sstevel@tonic-gate "Check the name again." 3120Sstevel@tonic-gateE_FL_NOFILT 3130Sstevel@tonic-gate "No filter name given." 3140Sstevel@tonic-gate "You must specify a filter name;\nuse the -f option." 3150Sstevel@tonic-gateE_FL_OPEN 3160Sstevel@tonic-gate "Can't open the file for reading: \"%s\"" 3170Sstevel@tonic-gate "Check that it exists and that you\ncan read it." 3180Sstevel@tonic-gateE_FL_READ 3190Sstevel@tonic-gate "Error reading input." 3200Sstevel@tonic-gate "" 3210Sstevel@tonic-gateE_FL_UNKFILT 3220Sstevel@tonic-gate "No filter by the name \"%s\" exists." 3230Sstevel@tonic-gate "Check the name again." 3240Sstevel@tonic-gateE_FL_UNKNOWN 3250Sstevel@tonic-gate "Error accessing filter table\n\"%s\"\n(%s)." 3260Sstevel@tonic-gate "" 3270Sstevel@tonic-gateE_FL_HEADING 3280Sstevel@tonic-gate "Input line %d can not be used." 3290Sstevel@tonic-gate "Fix the input if necessary;\nprocessing continues." 3300Sstevel@tonic-gateE_FL_NOACT 3310Sstevel@tonic-gate "Nothing to do." 3320Sstevel@tonic-gate "You must give one of these options:\n-F, -, -x, -l." 3330Sstevel@tonic-gateE_FL_NOTALL 3340Sstevel@tonic-gate "Can't add a filter named \"all\"." 3350Sstevel@tonic-gate "You must use another name." 3360Sstevel@tonic-gateE_FL_STRANGE 3370Sstevel@tonic-gate "Could not read all filters from table\n\"%s\"." 3380Sstevel@tonic-gate "" 3390Sstevel@tonic-gateE_FL_NOSPLOAD 3400Sstevel@tonic-gate "The LP print service didn't load the filter table." 3410Sstevel@tonic-gate "Try restarting the LP print service by\nrunning the /usr/lib/lp/lpsched command." 3420Sstevel@tonic-gateE_FL_BADTEMPLATE 3430Sstevel@tonic-gate "Missing option template." 3440Sstevel@tonic-gate "There appears to be an incomplete option\ntemplate. This can be caused by a double\ncomma in the option list. Resubmit the\nentire input." 3450Sstevel@tonic-gateE_FL_BADKEY 3460Sstevel@tonic-gate "Unrecognized keyword in option template." 3470Sstevel@tonic-gate "Resubmit the entire input. Check the\nlpfilter(1M) manual page for the list of\nvalid keywords." 3480Sstevel@tonic-gateE_FL_BADPATT 3490Sstevel@tonic-gate "Missing pattern in option template." 3500Sstevel@tonic-gate "Resubmit the entire input; make sure all\noption templates include a keyword,\npattern, and replacement:\nkeyword pattern = replacement\n(e.g. MODES * = -m *)." 3510Sstevel@tonic-gateE_FL_BADRESULT 3520Sstevel@tonic-gate "Missing replacement in option template." 3530Sstevel@tonic-gate "Resubmit the entire input; make sure all\noption templates include a keyword,\npattern, and replacement:\nkeyword pattern = replacement\n(e.g. MODES * = -m *)." 3540Sstevel@tonic-gateE_FL_BADREGEX 3550Sstevel@tonic-gate "Error in regular expression:\n %s" 3560Sstevel@tonic-gate "Resubmit the entire input with the\ncorrect regular expression." 3570Sstevel@tonic-gate#endif 3580Sstevel@tonic-gate 3590Sstevel@tonic-gate/** 3600Sstevel@tonic-gate ** MESSAGES FOR THE CANCEL PROGRAM 3610Sstevel@tonic-gate **/ 3620Sstevel@tonic-gate 3630Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 3640Sstevel@tonic-gateE_CAN__MSGS 3650Sstevel@tonic-gate 3660Sstevel@tonic-gate#if WHO_AM_I == I_AM_CANCEL || WHO_AM_I == I_AM_OZ 3670Sstevel@tonic-gate 3680Sstevel@tonic-gateE_CAN_BADARG 3690Sstevel@tonic-gate "\"%s\" is not a request id or a printer." 3700Sstevel@tonic-gate "Cancel requests by id or by\nname of printer where printing." 3710Sstevel@tonic-gateE_CAN_CANT 3720Sstevel@tonic-gate "Can't cancel request \"%s\"." 3730Sstevel@tonic-gate "You are not allowed to cancel\nanother's request." 3740Sstevel@tonic-gateE_CAN_NOUSERP 3750Sstevel@tonic-gate "No jobs on printer %s for user(s) %s." 3760Sstevel@tonic-gate "Use the lpstat -o or lpstat -u commands\nto see what requests have been queued." 3770Sstevel@tonic-gateE_CAN_ANYUSERP 3780Sstevel@tonic-gate "No user has a job on printer %s." 3790Sstevel@tonic-gate "Use the lpstat -o or lpstat -u commands\nto see what requests have been queued." 3800Sstevel@tonic-gateE_CAN_NOUSERANYP 3810Sstevel@tonic-gate "No jobs on any printer for user(s) %s." 3820Sstevel@tonic-gate "Use the lpstat -o command to see what\nrequests have been queued." 3830Sstevel@tonic-gateE_CAN_ANYUSERANYP 3840Sstevel@tonic-gate "No requests queued." 3850Sstevel@tonic-gate "" 3860Sstevel@tonic-gateE_CAN_NOACT 3870Sstevel@tonic-gate "Nothing to do." 3880Sstevel@tonic-gate "You need to give a request ID or printer\nname, or the -u option to specify a user." 3890Sstevel@tonic-gate 3900Sstevel@tonic-gate#endif 3910Sstevel@tonic-gate 3920Sstevel@tonic-gate/** 3930Sstevel@tonic-gate ** MESSAGES FOR THE ACCEPT, REJECT, ENABLE, DISABLE PROGRAMS 3940Sstevel@tonic-gate **/ 3950Sstevel@tonic-gate 3960Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 3970Sstevel@tonic-gateE_CMB__MSGS 3980Sstevel@tonic-gate 3990Sstevel@tonic-gate#if WHO_AM_I == I_AM_COMB || WHO_AM_I == I_AM_OZ 4000Sstevel@tonic-gate 4010Sstevel@tonic-gateE_REJ_2TIME 4020Sstevel@tonic-gate "Destination \"%s\" was already\nnot accepting requests." 4030Sstevel@tonic-gate "" 4040Sstevel@tonic-gate 4050Sstevel@tonic-gateE_ACC_2TIME 4060Sstevel@tonic-gate "Destination \"%s\" was already accepting\nrequests." 4070Sstevel@tonic-gate "" 4080Sstevel@tonic-gate 4090Sstevel@tonic-gateE_DIS_2TIME 4100Sstevel@tonic-gate "Destination \"%s\" was already disabled." 4110Sstevel@tonic-gate "" 4120Sstevel@tonic-gateE_DIS_CLASS 4130Sstevel@tonic-gate "\"%s\" is a class." 4140Sstevel@tonic-gate "You can only disable printers, not\nclasses. If you want to prevent people\nfrom submitting requests to this class,\nuse the /usr/sbin/reject command." 4150Sstevel@tonic-gate 4160Sstevel@tonic-gateE_ENA_2TIME 4170Sstevel@tonic-gate "Destination \"%s\" was already enabled." 4180Sstevel@tonic-gate "" 4190Sstevel@tonic-gateE_ENA_CLASS 4200Sstevel@tonic-gate "\"%s\" is a class." 4210Sstevel@tonic-gate "You can only enable printers, not\nclasses. If you want to allow people to\nsubmit requests to this class, use the\n/usr/sbin/accept command." 4220Sstevel@tonic-gate 4230Sstevel@tonic-gate#endif 4240Sstevel@tonic-gate 4250Sstevel@tonic-gate/** 4260Sstevel@tonic-gate ** MESSAGES FOR THE LPMOVE PROGRAM 4270Sstevel@tonic-gate **/ 4280Sstevel@tonic-gate 4290Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 4300Sstevel@tonic-gateE_MOV__MSGS 4310Sstevel@tonic-gate 4320Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPMOVE || WHO_AM_I == I_AM_OZ 4330Sstevel@tonic-gate 4340Sstevel@tonic-gateE_MOV_BADDEST 4350Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4360Sstevel@tonic-gate "" 4370Sstevel@tonic-gateE_MOV_NOMEDIA 4380Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4390Sstevel@tonic-gate "The form or character set needed by the\nrequest no longer exists. You should\ncancel this request." 4400Sstevel@tonic-gateE_MOV_DENYMEDIA 4410Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4420Sstevel@tonic-gate "The form needed by the request is no\nlonger available to the user. You should\ncancel this request." 4430Sstevel@tonic-gateE_MOV_NOMOUNT 4440Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4450Sstevel@tonic-gate "The form needed by the request can't be\nmounted on the destined printer. Try\nanother destination, or wait for the\nrequest to finish printing or cancel it." 4460Sstevel@tonic-gateE_MOV_PTRCHK 4470Sstevel@tonic-gate "Request \"%s\" cannot be moved\nbecause the following options can't be handled:\n%s" 4480Sstevel@tonic-gate "Try moving the request to another\ndestination, or wait for the request to\nfinish printing or cancel it." 4490Sstevel@tonic-gateE_MOV_DENYDEST 4500Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4510Sstevel@tonic-gate "The person who submitted the request is\nnot allowed to use the printer(s). Try\nanother destination, or wait for the\nrequest to finish printing or cancel it." 4520Sstevel@tonic-gateE_MOV_NOFILTER 4530Sstevel@tonic-gate "Request \"%s\" cannot be moved." 4540Sstevel@tonic-gate "There is no filter to convert the file\ncontent for the printer(s). Try another\ndestination, or wait for the request to\nfinish printing or cancel it." 4550Sstevel@tonic-gate 4560Sstevel@tonic-gate#endif 4570Sstevel@tonic-gate 4580Sstevel@tonic-gate/** 4590Sstevel@tonic-gate ** MESSAGES FOR THE LPUSERS PROGRAM 4600Sstevel@tonic-gate **/ 4610Sstevel@tonic-gate 4620Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 4630Sstevel@tonic-gateE_LPU__MSGS 4640Sstevel@tonic-gate 4650Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPUSERS || WHO_AM_I == I_AM_OZ 4660Sstevel@tonic-gate 4670Sstevel@tonic-gateE_LPU_BADFILE 4680Sstevel@tonic-gate "Bad file: %s, errno=%d." 4690Sstevel@tonic-gate "" 4700Sstevel@tonic-gateE_LPU_BADFORM 4710Sstevel@tonic-gate "Bad user profile:\n\"%s\"." 4720Sstevel@tonic-gate "" 4730Sstevel@tonic-gateE_LPU_DEFTWICE 4740Sstevel@tonic-gate "Default listed twice." 4750Sstevel@tonic-gate "" 4760Sstevel@tonic-gateE_LPU_NOLOAD 4770Sstevel@tonic-gate "The LP print service did not load new priority\ndefinitions." 4780Sstevel@tonic-gate "Try restarting the LP print service." 4790Sstevel@tonic-gateE_LPU_BADU 4800Sstevel@tonic-gate "Bad user specified: %s" 4810Sstevel@tonic-gate "" 4820Sstevel@tonic-gateE_LPU_NOUSER 4830Sstevel@tonic-gate "User \"%s\" did not have a limit set\n(or is illegal)" 4840Sstevel@tonic-gate "" 4850Sstevel@tonic-gate 4860Sstevel@tonic-gate#endif 4870Sstevel@tonic-gate 4880Sstevel@tonic-gate/** 4890Sstevel@tonic-gate ** MESSAGES FOR THE LP PROGRAM 4900Sstevel@tonic-gate **/ 4910Sstevel@tonic-gate 4920Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 4930Sstevel@tonic-gateE_LPP__MSGS 4940Sstevel@tonic-gate 4950Sstevel@tonic-gate#if WHO_AM_I == I_AM_LP || WHO_AM_I == I_AM_OZ 4960Sstevel@tonic-gate#define E_LPP_BADDEST E_LP_BADDEST 4970Sstevel@tonic-gate 4980Sstevel@tonic-gateE_LPP_ILLARG 4990Sstevel@tonic-gate "Illegal file arguments with change request." 5000Sstevel@tonic-gate "To change which files should be printed,\ncancel this request and resubmit it." 5010Sstevel@tonic-gateE_LPP_NOSTART 5020Sstevel@tonic-gate "End change received, but no start." 5030Sstevel@tonic-gate "Internal error, report to administrator." 5040Sstevel@tonic-gateE_LPP_FPUTREQ 5050Sstevel@tonic-gate "Could not write request." 5060Sstevel@tonic-gate "" 5070Sstevel@tonic-gateE_LPP_FGETREQ 5080Sstevel@tonic-gate "Could not read request \"%s\"." 5090Sstevel@tonic-gate "Check argument to -i option." 5100Sstevel@tonic-gateE_LPP_NODEST 5110Sstevel@tonic-gate "No default destination." 5120Sstevel@tonic-gate "You must identify which printer should\nhandle your request by naming it or a\nclass of printers (-d name) or by naming\na type of printer (-T type)." 5130Sstevel@tonic-gateE_LPP_NOMEDIA 5140Sstevel@tonic-gate "Form or character set not available." 5150Sstevel@tonic-gate "Check the spelling of the form/character\nset name. Use the lpstat -f -S command\nto list all known forms and character\nsets." 5160Sstevel@tonic-gateE_LPP_DENYMEDIA 5170Sstevel@tonic-gate "You are not allowed to use the form\n\"%s\"." 5180Sstevel@tonic-gate "Use the lpstat -f command to list all\nknown forms; you can use those marked\n\"available\"." 5190Sstevel@tonic-gateE_LPP_NOMOUNT 5200Sstevel@tonic-gate "The form or print wheel can't be used." 5210Sstevel@tonic-gate "The printer(s) that otherwise qualify\nfor printing your request are not\nallowed to have the form or print wheel\nmounted. Use the lpstat -p -l command\nto list printers where it (they) can be\nmounted." 5220Sstevel@tonic-gateE_LPP_COMBMW 5230Sstevel@tonic-gate "Illegal combination of -w and -m options." 5240Sstevel@tonic-gate "Notification will be by mail only;\nthe \"-w\" option is ignored." 5250Sstevel@tonic-gateE_LPP_NOOPEN 5260Sstevel@tonic-gate "The LP print service could not read your request\nfile." 5270Sstevel@tonic-gate "See if the spooling file system is full.\nGet help from your system administrator." 5280Sstevel@tonic-gateE_LPP_FORMCHARSET 5290Sstevel@tonic-gate "The character set can't be used with the form." 5300Sstevel@tonic-gate "Since the form is defined as needing a\nparticular character set, just resubmit\nthe command without the -S option." 5310Sstevel@tonic-gateE_LPP_CURDIR 5320Sstevel@tonic-gate "Can't determine the current directory." 5330Sstevel@tonic-gate "The LP print service can not determine\nwhere all your files are located because\nit doesn't have the same current\ndirectory. Give the -c option to copy\nthe file(s)." 5340Sstevel@tonic-gateE_LPP_ODDFILE 5350Sstevel@tonic-gate "One or more files can't be used or found." 5360Sstevel@tonic-gate "Either the files are illegal (fifos,\nblock devices, etc.), or can't be found\nby the LP print service. The latter\ntypically happens when your files are on\nlocal resources not accessible over RFS." 5370Sstevel@tonic-gate 5380Sstevel@tonic-gate#endif 5390Sstevel@tonic-gate 5400Sstevel@tonic-gate/** 5410Sstevel@tonic-gate ** MESSAGES FOR THE LPSHUT PROGRAM 5420Sstevel@tonic-gate **/ 5430Sstevel@tonic-gate 5440Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 5450Sstevel@tonic-gateE_SHT__MSGS 5460Sstevel@tonic-gate 5470Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPSHUT || WHO_AM_I == I_AM_OZ 5480Sstevel@tonic-gate 5490Sstevel@tonic-gateE_SHT_CANT 5500Sstevel@tonic-gate "You can't shut down the LP print service." 5510Sstevel@tonic-gate "You must be logged in as \"lp\" or \"root\"." 5520Sstevel@tonic-gate 5530Sstevel@tonic-gate#endif 5540Sstevel@tonic-gate 5550Sstevel@tonic-gate/** 5560Sstevel@tonic-gate ** MESSAGES FOR THE LPADMIN PROGRAM 5570Sstevel@tonic-gate **/ 5580Sstevel@tonic-gate 5590Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 5600Sstevel@tonic-gateE_ADM__MSGS 5610Sstevel@tonic-gate 5620Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPADMIN || WHO_AM_I == I_AM_OZ 5630Sstevel@tonic-gate#define E_ADM_ZEROARG E_LP_ZEROARG 5640Sstevel@tonic-gate#define E_ADM_MISSING E_LP_MISSING 5650Sstevel@tonic-gate#define E_ADM_ACCESSINFO E_LP_ACCESSINFO 5660Sstevel@tonic-gate 5670Sstevel@tonic-gateE_ADM_NOTLOCAL 5680Sstevel@tonic-gate "You have specified a remote printer\nand supplied one or more of the following\noptions: A,a,e,F,H,h,i,l,m,M,o,U,v,Q,W." 5690Sstevel@tonic-gate "" 5700Sstevel@tonic-gateE_ADM_ANYALLSYS 5710Sstevel@tonic-gate "The names \"any\" and \"all\" are reserved." 5720Sstevel@tonic-gate "You must use a system name that has\nbeen defined with the lpsystem command." 5730Sstevel@tonic-gateE_ADM_DALONE 5740Sstevel@tonic-gate "Other options given with -d option." 5750Sstevel@tonic-gate "Give only the -d option to define\na default destination." 5760Sstevel@tonic-gateE_ADM_XALONE 5770Sstevel@tonic-gate "Other options given with -x option." 5780Sstevel@tonic-gate "Give only the -x option to delete a\nprinter." 5790Sstevel@tonic-gateE_ADM_SALONE 5800Sstevel@tonic-gate "Confusing options given." 5810Sstevel@tonic-gate "You are either missing the -p option or\nhave given extraneous options while\ntrying to define alerting for a\nprint wheel." 5820Sstevel@tonic-gateE_ADM_JALONE 5830Sstevel@tonic-gate "Wrong combination of options." 5840Sstevel@tonic-gate "The -j option should not be given when\nadding a new printer." 5850Sstevel@tonic-gateE_ADM_MNTNONE 5860Sstevel@tonic-gate "Nothing to mount." 5870Sstevel@tonic-gate "Give the -f or -S option to identify\nform or print wheel to mount." 5880Sstevel@tonic-gateE_ADM_PNOQ 5890Sstevel@tonic-gate "Illegal use of the -Q option." 5900Sstevel@tonic-gate "Don't give the -Q option when setting\na printer fault alert." 5910Sstevel@tonic-gateE_ADM_NODEST 5920Sstevel@tonic-gate "Destination \"%s\" doesn't exist." 5930Sstevel@tonic-gate "Check the name again. Use the lpstat -p\nor lpstat -c command to see if the\nprinter or class exists." 5940Sstevel@tonic-gateE_ADM_NOACT 5950Sstevel@tonic-gate "Nothing to do." 5960Sstevel@tonic-gate "You must give one of these options:\n-p, -d, -x, -S." 5970Sstevel@tonic-gateE_ADM_CNOU 5980Sstevel@tonic-gate "No -u option given." 5990Sstevel@tonic-gate "Give the -C option only with the\n-u option." 6000Sstevel@tonic-gateE_ADM_JNOF 6010Sstevel@tonic-gate "No -F option given." 6020Sstevel@tonic-gate "Give the -j option only with the\n-F option." 6030Sstevel@tonic-gateE_ADM_2MANY 6040Sstevel@tonic-gate "Multiple -o %s options given." 6050Sstevel@tonic-gate "The last one will be used;\nprocessing continues." 6060Sstevel@tonic-gateE_ADM_QUOTES 6070Sstevel@tonic-gate "Missing right %c quote in stty= argument." 6080Sstevel@tonic-gate "" 6090Sstevel@tonic-gateE_ADM_BADTYPE 6100Sstevel@tonic-gate "Printer type \"%s\" is not in the\nTerminfo database." 6110Sstevel@tonic-gate "Check the name again; if it is correct\nyou have to make an entry for it in the\nTerminfo database." 6120Sstevel@tonic-gateE_ADM_MIXEDTYPES 6130Sstevel@tonic-gate "Inconsistent printer types." 6140Sstevel@tonic-gate "The printer types do not agree on\nwhether the printer takes print wheels\nor not. Check the printer types or the\nTerminfo database." 6150Sstevel@tonic-gateE_ADM_MUNKNOWN 6160Sstevel@tonic-gate "\"unknown\" not allowed with multiple printer types." 6170Sstevel@tonic-gate "Your list of printer types includes the\ntype \"unknown\"; either remove that type\nfrom the list or give just the type\n\"unknown\"." 6180Sstevel@tonic-gateE_ADM_BADCAP 6190Sstevel@tonic-gate "\"%s\" setting impossible." 6200Sstevel@tonic-gate "" 6210Sstevel@tonic-gateE_ADM_BADCAPS 6220Sstevel@tonic-gate "The printer can't handle all the above setting(s)." 6230Sstevel@tonic-gate "Check the manual for the printer to make\nsure each value is correct; check that\nthe Terminfo entry/entries are correct." 6240Sstevel@tonic-gateE_ADM_NBADCAPS 6250Sstevel@tonic-gate "Settings won't work on these printer types:\n %s" 6260Sstevel@tonic-gate "The incompatible settings won't be\napplied when these types are used to\nprint a request. Change the settings or\nlist of types, if you want." 6270Sstevel@tonic-gateE_ADM_PRCL 6280Sstevel@tonic-gate "Can't create the printer \"%s\"." 6290Sstevel@tonic-gate "This is an existing class name;\nchoose another name." 6300Sstevel@tonic-gateE_ADM_NOUV 6310Sstevel@tonic-gate "Missing -U or -v option." 6320Sstevel@tonic-gate "Local printers must have\na port defined (-v option) or\nhave dial-out instructions (-U option)." 6330Sstevel@tonic-gateE_ADM_BOTHUV 6340Sstevel@tonic-gate "Both -U and -v given." 6350Sstevel@tonic-gate "Give only one of these options, the\n-v option to name the direct connect\nport or the -U to identify the dial-out\nmethod." 6360Sstevel@tonic-gateE_ADM_NOTMEM 6370Sstevel@tonic-gate "The printer \"%s\" is not a member of\nthe class \"%s\"." 6380Sstevel@tonic-gate "Use the lpstat -c command to find the\ncorrect class." 6390Sstevel@tonic-gateE_ADM_TOPT 6400Sstevel@tonic-gate "No printer type (-T option) given." 6410Sstevel@tonic-gate "The printer type must be known:\n* to set default cpi, lpi, length, width\n* to define character sets, print wheels\n* to allow forms." 6420Sstevel@tonic-gateE_ADM_INTCONF 6430Sstevel@tonic-gate "The options -e, -i and -m are mutually exclusive." 6440Sstevel@tonic-gate "Give just one of these options to define\nan interface program." 6450Sstevel@tonic-gateE_ADM_NOPR 6460Sstevel@tonic-gate "The printer \"%s\" does not exist." 6470Sstevel@tonic-gate "You must give the name of an existing\nprinter in the -e option." 6480Sstevel@tonic-gateE_ADM_SAMEPE 6490Sstevel@tonic-gate "The -p and -e options have the same value." 6500Sstevel@tonic-gate "You must name a different printer\nin the -e option." 6510Sstevel@tonic-gateE_ADM_SAMECR 6520Sstevel@tonic-gate "The -c and -r options have the same value." 6530Sstevel@tonic-gate "Don't try to remove the printer from the\nsame class to which you are adding it." 6540Sstevel@tonic-gateE_ADM_NOMODEL 6550Sstevel@tonic-gate "The model \"%s\" does not exist." 6560Sstevel@tonic-gate "Use the command\n ls /usr/lib/lp/model\nto find the list of known models." 6570Sstevel@tonic-gateE_ADM_CONFLICT 6580Sstevel@tonic-gate "The options \"-%c\" and \"-%c\" are contradictory." 6590Sstevel@tonic-gate "Give the -l option if the printer is\nalso a login terminal, give the\n-h option if it is not." 6600Sstevel@tonic-gateE_ADM_ISDIR 6610Sstevel@tonic-gate "\"%s\" is a directory." 6620Sstevel@tonic-gate "If this is not what you intended, enter\nthe command again with the correct name." 6630Sstevel@tonic-gateE_ADM_ISBLK 6640Sstevel@tonic-gate "\"%s\" is a block device." 6650Sstevel@tonic-gate "If this is not what you intended, enter\nthe command again with the correct name." 6660Sstevel@tonic-gateE_ADM_ISMISMATCH 6670Sstevel@tonic-gate "\"%s\" is a symlink that points to a file with a different owner." 6680Sstevel@tonic-gate "Retry this operation with a new device." 6690Sstevel@tonic-gateE_ADM_ISNOTROOTOWNED 6700Sstevel@tonic-gate "\"%s\" is a symlink owned by an unprivileged user.\nThis introduces a potential security hole in your configuration." 6710Sstevel@tonic-gate "If this is not what you intended, enter\nthe command again with the correct name." 6720Sstevel@tonic-gateE_ADM_DEVACCESS 6730Sstevel@tonic-gate "\"%s\" is accessible by others." 6740Sstevel@tonic-gate "If other users can access it you may get\nunwanted output. If this is not what you\nwant change the owner to \"lp\" and change\nthe mode to 0600.\nProcessing continues." 6750Sstevel@tonic-gateE_ADM_NOENT 6760Sstevel@tonic-gate "\"%s\" doesn't exist." 6770Sstevel@tonic-gate "Create the file, special device, or FIFO\nfor the -v option before running this\ncommand." 6780Sstevel@tonic-gateE_ADM_INCLASS 6790Sstevel@tonic-gate "The printer \"%s\" is already a member\nof the class \"%s\"." 6800Sstevel@tonic-gate "If you made a mistake, rerun the command\nwith the correct names;\nprocessing continues." 6810Sstevel@tonic-gateE_ADM_GETCLASSES 6820Sstevel@tonic-gate "Error reading all classes from disk\n(%s)." 6830Sstevel@tonic-gate "" 6840Sstevel@tonic-gateE_ADM_GETPRINTERS 6850Sstevel@tonic-gate "Error reading all printers from disk\n(%s)." 6860Sstevel@tonic-gate "" 6870Sstevel@tonic-gateE_ADM_FALLOWDENY 6880Sstevel@tonic-gate "Invalid argument to the -f option." 6890Sstevel@tonic-gate "The argument must begin with either\n\"allow:\" or \"deny:\" and be followed with\na list of form names. On the other hand,\nperhaps you forgot the -M option?" 6900Sstevel@tonic-gateE_ADM_ICKFORM 6910Sstevel@tonic-gate "Form \"%s\" is not listed as available\nfor the printer \"%s\"." 6920Sstevel@tonic-gate "Check the name; if wrong enter the\ncommand again.\nProcessing continues." 6930Sstevel@tonic-gateE_ADM_PWHEELS 6940Sstevel@tonic-gate "-S must not give a character set map." 6950Sstevel@tonic-gate "The printer takes only print wheels.\nFix the type or change the value in the\n-S option." 6960Sstevel@tonic-gateE_ADM_CHARSETS 6970Sstevel@tonic-gate "-S must give a character set map." 6980Sstevel@tonic-gate "The printer has only selectable\ncharacter sets. Fix the type or change\nthe value in the -S option." 6990Sstevel@tonic-gateE_ADM_BADSET 7000Sstevel@tonic-gate "Illegal character set \"%s\"." 7010Sstevel@tonic-gate "" 7020Sstevel@tonic-gateE_ADM_NBADSET 7030Sstevel@tonic-gate "Character set \"%s\" won't work with\nthese printer types:\n %s" 7040Sstevel@tonic-gate "" 7050Sstevel@tonic-gateE_ADM_BADSETS 7060Sstevel@tonic-gate "The printer's type(s) don't have the\nabove character sets defined." 7070Sstevel@tonic-gate "Check the manual for the printer to make\nsure each name is correct; check that\nthe Terminfo entry/entries are correct." 7080Sstevel@tonic-gateE_ADM_NOPWHEEL 7090Sstevel@tonic-gate "The printer doesn't take print wheels." 7100Sstevel@tonic-gate "Check that you named the right printer.\nCheck that the Terminfo database is\ncorrect; if wrong, fix it and add the\nprint wheel list for the printer." 7110Sstevel@tonic-gateE_ADM_ICKPWHEEL 7120Sstevel@tonic-gate "Print wheel \"%s\" is not listed as\navailable for the printer \"%s\"." 7130Sstevel@tonic-gate "Check the name; if wrong enter the\ncommand again with the correct name.\nProcessing continues." 7140Sstevel@tonic-gateE_ADM_MNTLATER 7150Sstevel@tonic-gate "The printer is busy; can't mount/unmount now." 7160Sstevel@tonic-gate "Wait until the current job(s) are\nfinished, or disable the printer." 7170Sstevel@tonic-gateE_ADM_NOMEDIA 7180Sstevel@tonic-gate "Can't mount/unmount the form or print wheel." 7190Sstevel@tonic-gate "Check the name. The one you gave isn't\nrecognized." 7200Sstevel@tonic-gateE_ADM_DELSTRANGE 7210Sstevel@tonic-gate "Strange, the LP print service took the request to\ndelete printer or class \"%s\" but the disk copy\ncan't be deleted.\n(%s)" 7220Sstevel@tonic-gate "" 7230Sstevel@tonic-gateE_ADM_DESTBUSY 7240Sstevel@tonic-gate "There are jobs currently queued for destination\n\"%s\"" 7250Sstevel@tonic-gate "Use the /usr/sbin/lpmove command to\nassign them to another destination,\nor wait for them to finish printing." 7260Sstevel@tonic-gateE_ADM_WRDEFAULT 7270Sstevel@tonic-gate "Error writing default destination\n(%s)." 7280Sstevel@tonic-gate "" 7290Sstevel@tonic-gateE_ADM_PUTPWHEEL 7300Sstevel@tonic-gate "Error writing print wheel information for \"%s\"\n(%s)." 7310Sstevel@tonic-gate "" 7320Sstevel@tonic-gateE_ADM_FBAD 7330Sstevel@tonic-gate "Illegal value for the -F option" 7340Sstevel@tonic-gate "You must give one of the values\n\"continue\", \"wait\", or \"beginning\"." 7350Sstevel@tonic-gate#if defined(J_OPTION) 7360Sstevel@tonic-gateE_ADM_FBADJ 7370Sstevel@tonic-gate "Illegal value for the -F option" 7380Sstevel@tonic-gate "You must give one of the values\n\"wait\" or \"beginning\".\n(\"continue\" is not allowed if you also\ngive the -j option.)" 7390Sstevel@tonic-gate#endif 7400Sstevel@tonic-gateE_ADM_BADO 7410Sstevel@tonic-gate "\"%s\" is an illegal value for the\n-o option" 7420Sstevel@tonic-gate "You must give one of the values\nbanner, nobanner,\ncpi=X, lpi=X, width=X, length=X,\nstty=... (if ... is a list, surround IT\nwith single quotes (') and put the whole\nthing in double quotes (\")),\nor filebreak or nofilebreak (with -a)." 7430Sstevel@tonic-gateE_ADM_FORMCAP 7440Sstevel@tonic-gate "The form \"%s\" requires capabilities\nnot provided by the printer." 7450Sstevel@tonic-gate "" 7460Sstevel@tonic-gateE_ADM_FORMCAPS 7470Sstevel@tonic-gate "Can't allow one or more forms." 7480Sstevel@tonic-gate "You have to adjust each form definition,\nif possible. Leave each form out of the\nallow list to continue defining the\nprinter." 7490Sstevel@tonic-gateE_ADM_BADINTF 7500Sstevel@tonic-gate "Can't access the file \"%s\"\nto copy the interface program." 7510Sstevel@tonic-gate "Make sure the name is correct;\nmake sure the file exists." 7520Sstevel@tonic-gateE_ADM_CLPR 7530Sstevel@tonic-gate "Can't create class \"%s\"." 7540Sstevel@tonic-gate "This is an existing printer name;\nchoose another name." 7550Sstevel@tonic-gateE_ADM_BADQUIETORLIST 7560Sstevel@tonic-gate "Illegal -A option for printer/print wheel\n\"%s\"." 7570Sstevel@tonic-gate "You can't give the -A quiet or the\n-A list option for a printer or print\nwheel that doesn't exist yet." 7580Sstevel@tonic-gateE_ADM_PLONELY 7590Sstevel@tonic-gate "Nothing to do." 7600Sstevel@tonic-gate "The -p option identifies a printer; give\nother options to do something with it." 7610Sstevel@tonic-gateE_ADM_NOAWQ 7620Sstevel@tonic-gate "Nothing to do." 7630Sstevel@tonic-gate "The -S option identifies a print wheel;\ngive a -A, -W, and/or -Q option to set\nor change the alerting for it." 7640Sstevel@tonic-gateE_ADM_MALIGN 7650Sstevel@tonic-gate "Missing the -M or -f option" 7660Sstevel@tonic-gate "The -a option asks for an alignment\npattern, but you need to tell what form\nto mount." 7670Sstevel@tonic-gateE_ADM_NOALIGN 7680Sstevel@tonic-gate "No alignment pattern has been registered with\nthe form \"%s\"." 7690Sstevel@tonic-gate "The form will be mounted anyway. If you\nneed to check the alignment of the form,\nregister an alignment pattern using the\nlpforms command, unmount the form, then\nissue this command again." 7700Sstevel@tonic-gateE_ADM_LISTWQ 7710Sstevel@tonic-gate "Illegal combination of options." 7720Sstevel@tonic-gate "Don't give the \"-A list\" option with the\n-W or -Q options." 7730Sstevel@tonic-gateE_ADM_NOPSPACE 7740Sstevel@tonic-gate "The LP print service can't take another printer." 7750Sstevel@tonic-gate "The printer configuration has been saved\non disk nonetheless. Stop the LP print\nservice (/usr/sbin/lpshut) and restart it\n(/usr/lib/lp/lpsched) to have it recognize\nthe new printer." 7760Sstevel@tonic-gateE_ADM_NOCSPACE 7770Sstevel@tonic-gate "The LP print service can't take another class." 7780Sstevel@tonic-gate "The class configuration has been saved\non disk nonetheless. Stop the LP print\nservice (/usr/sbin/lpshut) and restart it\n(/usr/lib/lp/lpsched) to have it\nrecognize the new class." 7790Sstevel@tonic-gateE_ADM_NOPWSPACE 7800Sstevel@tonic-gate "The LP print service can't take in another print\nwheel alert." 7810Sstevel@tonic-gate "The alert configuration has been saved\non disk nonetheless. Stop the LP print\nservice (/usr/sbin/lpshut) and restart it\n(/usr/lib/lp/lpsched) to have it\nrecognize the new print wheel alert." 7820Sstevel@tonic-gateE_ADM_BADMOUNT 7830Sstevel@tonic-gate "Shouldn't mount the form." 7840Sstevel@tonic-gate "You may want to adjust the form\ndefinition, if possible. Check that the\nTerminfo database gives correct\nattributes for the printer type.\nThe form is considered mounted anyway." 7850Sstevel@tonic-gateE_ADM_NBADMOUNT 7860Sstevel@tonic-gate "The form \"%s\" won't work with these\nprinter types:\n %s" 7870Sstevel@tonic-gate "" 7880Sstevel@tonic-gateE_ADM_CLNPR 7890Sstevel@tonic-gate "Can't create both class and printer \"%s\"." 7900Sstevel@tonic-gate "Make the two names different." 7910Sstevel@tonic-gateE_ADM_GETSYS 7920Sstevel@tonic-gate "Error reading system information for \"%s\"\n(%s)." 7930Sstevel@tonic-gate "" 7940Sstevel@tonic-gateE_ADM_NOSYS 7950Sstevel@tonic-gate "System \"%s\" does not exist." 7960Sstevel@tonic-gate "Use the \"lpsystem -l\" command to list\nall known systems." 7970Sstevel@tonic-gateE_ADM_NAMEONLOCAL 7980Sstevel@tonic-gate "You may not specify a remote printer\nname with a local system name." 7990Sstevel@tonic-gate "Either specify a remote system name\nor omit the remote printer name." 8000Sstevel@tonic-gateE_ADM_ANYALLNONE 8010Sstevel@tonic-gate "The names \"any\", \"all\" and \"none\" are reserved." 8020Sstevel@tonic-gate "Use a different name when adding a\nprinter. The name \"all\" can be used with\nthe -A, -x, -r, or -c options." 8030Sstevel@tonic-gateE_ADM_NFIFO 8040Sstevel@tonic-gate "Can't open FIFO to print alignment pattern.\n(%s)" 8050Sstevel@tonic-gate "" 8060Sstevel@tonic-gateE_ADM_NFILTER 8070Sstevel@tonic-gate "No filter to convert the alignment pattern." 8080Sstevel@tonic-gate "The printer can't print the alignment\npattern directly, and there's no filter\nthat will convert it. Check the form\ndefinition. Check the printer type." 8090Sstevel@tonic-gateE_ADM_NPAGES 8100Sstevel@tonic-gate "There may be extra lines in the alignment pattern." 8110Sstevel@tonic-gate "If the printed alignment pattern is too\nlong, either add a filter that can print\na subset of pages or redefine the form\nwith a manually truncated pattern.\nProcessing continues." 8120Sstevel@tonic-gateE_ADM_FILEBREAK 8130Sstevel@tonic-gate "Ignoring the -o filebreak option." 8140Sstevel@tonic-gate "This is only used with the -a option\nwhen mounting a form, to insert a page\nbreak between alignment patterns.\nPerhaps you left out the -a option?" 8150Sstevel@tonic-gateE_ADM_UNALIGN 8160Sstevel@tonic-gate "Ignoring the -a option." 8170Sstevel@tonic-gate "This is only used when MOUNTING a form,\nto print a pattern to help you align it.\nUnmounting a form means you're replacing\nit with blank paper, which needs no\nalignment." 8180Sstevel@tonic-gateE_ADM_ERRDEST 8190Sstevel@tonic-gate "The LP print service could not read the disk file\ncontaining this configuration information." 8200Sstevel@tonic-gate "This is probably due to a full spooling\nfile system. If it is, clean out files\nto free up space, then resubmit this\ncommand." 8210Sstevel@tonic-gateE_ADM_MANDCHSET 8220Sstevel@tonic-gate "The form requires the character set\n\"%s\"." 8230Sstevel@tonic-gate "Check the form name and form definition.\nSince a particular character set is\nmandatory with this form but the printer\ncan't select that character set, you\ncan't mount the form on this printer." 8240Sstevel@tonic-gateE_ADM_MANDPWHEEL1 8250Sstevel@tonic-gate "The form requires the print wheel\n\"%s\"." 8260Sstevel@tonic-gate "This print wheel has been listed as\nmandatory for the form, but it is not\ncurrently mounted. If you don't want the\ncurrent print wheel used, enter the\ncommand again, and identify the print\nwheel to be mounted." 8270Sstevel@tonic-gateE_ADM_MANDPWHEEL2 8280Sstevel@tonic-gate "The form requires the print wheel\n\"%s\"." 8290Sstevel@tonic-gate "This print wheel has been listed as\nmandatory for the form. If you made a\nmistake, enter the command again and\nchange the print wheel to be mounted." 8300Sstevel@tonic-gateE_ADM_ASINGLES 8310Sstevel@tonic-gate "Only one print wheel at a time, please." 8320Sstevel@tonic-gate "You can only give a single print wheel\nname, not a list of names, when defining\na print wheel alert. Only the first\nprint wheel will be defined. (Maybe you\nleft out the -p option?)" 8330Sstevel@tonic-gateE_ADM_MSINGLES 8340Sstevel@tonic-gate "Only one print wheel at a time, please." 8350Sstevel@tonic-gate "You can only give a single print wheel\nname, not a list of names, when mounting\na print wheel. Only the first one will\nbe mounted." 8360Sstevel@tonic-gateE_ADM_ONLYSIMPLE 8370Sstevel@tonic-gate "Input types not allowed with multiple printer\ntypes." 8380Sstevel@tonic-gate "The LP print service currently doesn't\nallow input types other than \"simple\"\nwhen more than one printer type is\ngiven. You have to change the printer\ntypes or input types." 8390Sstevel@tonic-gateE_ADM_SIGNORE 8400Sstevel@tonic-gate "Certain options ignored for remote printer\n %s." 8410Sstevel@tonic-gate "When you try to change the configuration\nof all printers at once some options are\nignored for remote printers." 8420Sstevel@tonic-gateE_ADM_BADPWHEEL 8430Sstevel@tonic-gate "There are no alerts defined for the print wheel\n\"%s\"." 8440Sstevel@tonic-gate "Check the name again." 8450Sstevel@tonic-gateE_ADM_BADTRAY 8460Sstevel@tonic-gate "The printer does not have the tray number you specified." 8470Sstevel@tonic-gate "Try using the -t option with -M to set the total number of trays." 8480Sstevel@tonic-gateE_ADM_MAXTRAY 8490Sstevel@tonic-gate "The number of trays specified with the -t option must between 1 and 100." 8500Sstevel@tonic-gate "" 8510Sstevel@tonic-gateE_ADM_ALSO_SEP_FORM 8520Sstevel@tonic-gate "`%s' cannot be used as a paper name because it\nis already defined as an old style form." 8530Sstevel@tonic-gate "Either use another name, or remove the conflicting form using `lpforms'." 8540Sstevel@tonic-gateE_ADM_NOPPD 8550Sstevel@tonic-gate "The ppd \"%s\" does not exist." 856*3781Sceastha "Use the command\n find <PPD file repository> -type f\n" 857*3781Sceastha "where <PPD file repository> is one or more of the following:\n" 858*3781Sceastha " /usr/share/ppd/*/*/\n /usr/share/local/ppd/*/*/\n" 859*3781Sceastha " /opt/share/ppd/*/*/\n /var/lp/ppd/*/*/\n" 860*3781Sceastha "to find the list of known printer ppd definitions." 8610Sstevel@tonic-gate 8620Sstevel@tonic-gate#endif 8630Sstevel@tonic-gate 8640Sstevel@tonic-gate/** 8650Sstevel@tonic-gate ** MESSAGES FOR THE LPFORMS PROGRAM 8660Sstevel@tonic-gate **/ 8670Sstevel@tonic-gate 8680Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 8690Sstevel@tonic-gateE_FOR__MSGS 8700Sstevel@tonic-gate 8710Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPFORMS || WHO_AM_I == I_AM_OZ 8720Sstevel@tonic-gate#define E_FOR_MOPENREQX E_LP_HAVEREQS 8730Sstevel@tonic-gate#define E_FOR_UALLOWDENY E_LP_UALLOWDENY 8740Sstevel@tonic-gate#define E_FOR_EXTRAARG E_LP_EXTRA 8750Sstevel@tonic-gate 8760Sstevel@tonic-gateE_FOR_FORMNAME 8770Sstevel@tonic-gate "No form name given." 8780Sstevel@tonic-gate "You must specify a form name using the\n-f option." 8790Sstevel@tonic-gateE_FOR_NOACT 8800Sstevel@tonic-gate "Nothing to do." 8810Sstevel@tonic-gate "You must give one of these options:\n- -F (new form)\n- -F -l -x -u -A -W -Q (existing form)" 8820Sstevel@tonic-gateE_FOR_EMPTYFILE 8830Sstevel@tonic-gate "Empty form description file given." 8840Sstevel@tonic-gate "All defaults will be used; resubmit the\ncommand if this is not what you want.\nProcessing continues." 8850Sstevel@tonic-gateE_FOR_DELSTRANGE 8860Sstevel@tonic-gate "Strange, the LP print service accepted\nthe delete form request but the disk\ncopy can't be deleted." 8870Sstevel@tonic-gate "" 8880Sstevel@tonic-gateE_FOR_CTMPFILE 8890Sstevel@tonic-gate "Unable to create temporary file." 8900Sstevel@tonic-gate "Set the TMPDIR environment variable to a\nsuitable temporary directory name." 8910Sstevel@tonic-gateE_FOR_OPEN 8920Sstevel@tonic-gate "Can't open \"%s\" for reading." 8930Sstevel@tonic-gate "Check that it exists and that you\ncan read it." 8940Sstevel@tonic-gateE_FOR_ANYNONE 8950Sstevel@tonic-gate "Reserved words \"any\" and \"none\" are not\nappropriate in this context." 8960Sstevel@tonic-gate "" 8970Sstevel@tonic-gateE_FOR_NOFORMS 8980Sstevel@tonic-gate "No forms currently defined." 8990Sstevel@tonic-gate "" 9000Sstevel@tonic-gateE_FOR_NOSHCMDERR 9010Sstevel@tonic-gate "No alert given." 9020Sstevel@tonic-gate "You must give a shell command to use as\nthe alert." 9030Sstevel@tonic-gateE_FOR_NOSHCMDWARN 9040Sstevel@tonic-gate "No alert defined for form \"%s\"." 9050Sstevel@tonic-gate "Use the -A option to define a shell\ncommand to use as the alert.\nProcessing continues." 9060Sstevel@tonic-gateE_FOR_BADHDR 9070Sstevel@tonic-gate "Bad input header in form description file on\nline %d." 9080Sstevel@tonic-gate "" 9090Sstevel@tonic-gateE_FOR_BADSCALE 9100Sstevel@tonic-gate "Improper scaled decimal number on line %d." 9110Sstevel@tonic-gate "You can use only 'i' and 'c' for scaling numbers." 9120Sstevel@tonic-gateE_FOR_BADINT 9130Sstevel@tonic-gate "Invalid integer given on line %d." 9140Sstevel@tonic-gate "You must give a positive non-zero\ninteger value." 9150Sstevel@tonic-gateE_FOR_BADCHSETQUALIFIER 9160Sstevel@tonic-gate "Bad qualifier given after character set on\nline %d." 9170Sstevel@tonic-gate "The only legal qualifier immediately\nfollowing a character set name is\n\",mandatory\"." 9180Sstevel@tonic-gateE_FOR_TRAILIN 9190Sstevel@tonic-gate "Bad input follows legal input on line %d." 9200Sstevel@tonic-gate "Check to the System Administrator's\nReference manual for the correct syntax." 9210Sstevel@tonic-gateE_FOR_NOTNAME 9220Sstevel@tonic-gate "Incorrect syntax for name on line %d." 9230Sstevel@tonic-gate "Give a name that has 1 to 14 letters,\ndigits, or underscores." 9240Sstevel@tonic-gateE_FOR_NOTCTYPE 9250Sstevel@tonic-gate "Incorrect syntax for content type on line %d." 9260Sstevel@tonic-gate "Give a content type that has 1 to 14\nletters, digits, or dashes." 9270Sstevel@tonic-gateE_FOR_UNKNOWN 9280Sstevel@tonic-gate "Error accessing form \"%s\"\n(%s)." 9290Sstevel@tonic-gate "" 9300Sstevel@tonic-gateE_FOR_FORMBUSY 9310Sstevel@tonic-gate "There are jobs currently queued for form\n\"%s\"" 9320Sstevel@tonic-gate "Either wait for the requests to finish\nprinting or cancel them. Use the\nlpstat -o -l command to find out which\nneed this form." 9330Sstevel@tonic-gateE_FOR_NOSPACE 9340Sstevel@tonic-gate "The LP print service can't take in another form." 9350Sstevel@tonic-gate "The form definition has been saved on\ndisk nonetheless. Stop the LP print\nservice (/usr/sbin/lpshut) and restart it\n(/usr/lib/lp/lpsched) to have it\nrecognize the new form." 9360Sstevel@tonic-gateE_FOR_ANYDEL 9370Sstevel@tonic-gate "Nothing will happen." 9380Sstevel@tonic-gate "The \"-f any\" option is used to set an\nalert for those forms without an alert,\nbut \"-A none\" defines no alert." 9390Sstevel@tonic-gateE_FOR_ALSO_SEP_FORM 9400Sstevel@tonic-gate "The form `%s' cannot be defined with\npaper `%s' because `%s' is already\ndefined as an old style form. " 9410Sstevel@tonic-gate "Either use another name, or remove the\nconflicting form using `lpforms'." 9420Sstevel@tonic-gate 9430Sstevel@tonic-gate#endif 9440Sstevel@tonic-gate 9450Sstevel@tonic-gate/** 9460Sstevel@tonic-gate ** MESSAGES FOR THE LPSTAT PROGRAM 9470Sstevel@tonic-gate **/ 9480Sstevel@tonic-gate 9490Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 9500Sstevel@tonic-gateE_STAT__MSGS 9510Sstevel@tonic-gate 9520Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPSTAT || WHO_AM_I == I_AM_OZ 9530Sstevel@tonic-gate 9540Sstevel@tonic-gateE_STAT_BADSET 9550Sstevel@tonic-gate "Non-existent character set \"%s\"." 9560Sstevel@tonic-gate "Check the name again; use the\n\"lpstat -S all\" command to get a list of\nall known character sets." 9570Sstevel@tonic-gateE_STAT_BADSTAT 9580Sstevel@tonic-gate "\"%s\" isn't a request ID or destination" 9590Sstevel@tonic-gate "Use the \"lpstat -p all -c all\" command\nto get a list of valid destinations.\nUse the \"lpstat -o all\" command to get a\nlist of all outstanding print requests." 9600Sstevel@tonic-gateE_STAT_DONE 9610Sstevel@tonic-gate "\"%s\" already printed." 9620Sstevel@tonic-gate "You can't get any information about this\nrequest, since no record of it remains." 9630Sstevel@tonic-gateE_STAT_USER 9640Sstevel@tonic-gate "\"%s\" is not currently a user on this system." 9650Sstevel@tonic-gate "Check the spelling of the name.\nUse the \"lpstat -u all\" command to get a\nlist of outstanding print requests." 9660Sstevel@tonic-gate 9670Sstevel@tonic-gate#endif 9680Sstevel@tonic-gate 9690Sstevel@tonic-gate/** 9700Sstevel@tonic-gate ** MESSAGES FOR THE LPSYSTEM PROGRAM 9710Sstevel@tonic-gate **/ 9720Sstevel@tonic-gate 9730Sstevel@tonic-gate/* DON'T TOUCH THE NEXT LINE */ 9740Sstevel@tonic-gateE_SYS__MSGS 9750Sstevel@tonic-gate 9760Sstevel@tonic-gate#if WHO_AM_I == I_AM_LPSYSTEM || WHO_AM_I == I_AM_OZ 9770Sstevel@tonic-gate 9780Sstevel@tonic-gateE_SYS_NOTCPIP 9790Sstevel@tonic-gate "TCP/IP is not installed on this system." 9800Sstevel@tonic-gate "" 9810Sstevel@tonic-gate#endif 982