*
* "lpr" command for the Common UNIX Printing System (CUPS).
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2009 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
cupsSetEncryption(HTTP_ENCRYPT_REQUIRED);
#else
_cupsLangPrintf(stderr,
- _("%s: Sorry, no encryption support compiled in!\n"),
+ _("%s: Sorry, no encryption support compiled in\n"),
argv[0]);
#endif /* HAVE_SSL */
break;
{
_cupsLangPrintf(stderr,
_("%s: Error - expected username after "
- "\'-U\' option!\n"),
+ "\'-U\' option\n"),
argv[0]);
return (1);
}
{
_cupsLangPrintf(stderr,
_("%s: Error - expected hostname after "
- "\'-H\' option!\n"),
+ "\'-H\' option\n"),
argv[0]);
return (1);
}
{
_cupsLangPrintf(stderr,
_("%s: Error - expected value after \'-%c\' "
- "option!\n"), argv[0], ch);
+ "option\n"), argv[0], ch);
return (1);
}
}
case 'v' : /* Raster image */
_cupsLangPrintf(stderr,
_("%s: Warning - \'%c\' format modifier not "
- "supported - output may not be correct!\n"),
+ "supported - output may not be correct\n"),
argv[0], ch);
break;
{
_cupsLangPrintf(stderr,
_("%s: error - expected option=value after "
- "\'-o\' option!\n"),
+ "\'-o\' option\n"),
argv[0]);
return (1);
}
{
_cupsLangPrintf(stderr,
_("%s: Error - expected destination after "
- "\'-P\' option!\n"),
+ "\'-P\' option\n"),
argv[0]);
return (1);
}
{
_cupsLangPrintf(stderr,
_("%s: Error - expected copy count after "
- "\'-#\' option!\n"),
+ "\'-#\' option\n"),
argv[0]);
return (1);
}
{
_cupsLangPrintf(stderr,
_("%s: Error - expected name after \'-%c\' "
- "option!\n"), argv[0], ch);
+ "option\n"), argv[0], ch);
return (1);
}
default :
_cupsLangPrintf(stderr,
- _("%s: Error - unknown option \'%c\'!\n"),
+ _("%s: Error - unknown option \'%c\'\n"),
argv[0], argv[i][1]);
return (1);
}
if (printer && !cupsGetNamedDest(NULL, printer, NULL))
_cupsLangPrintf(stderr,
_("%s: Error - %s environment variable names "
- "non-existent destination \"%s\"!\n"),
+ "non-existent destination \"%s\"\n"),
argv[0], val, printer);
else if (cupsLastError() == IPP_NOT_FOUND)
_cupsLangPrintf(stderr,
argv[0]);
else
_cupsLangPrintf(stderr,
- _("%s: Error - scheduler not responding!\n"),
+ _("%s: Error - scheduler not responding\n"),
argv[0]);
return (1);