From: mike Date: Fri, 14 Feb 2003 21:23:51 +0000 (+0000) Subject: LanguageEncoding was introduced in PPD version 4.1. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9c06e0548a4df7e3a74e0404ff519e5dee1f998;p=thirdparty%2Fcups.git LanguageEncoding was introduced in PPD version 4.1. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3369 7a7537e8-13f0-0310-91df-b6672ffda945 --- diff --git a/systemv/cupstestppd.c b/systemv/cupstestppd.c index 8f04f33cc8..93d8b3da4a 100644 --- a/systemv/cupstestppd.c +++ b/systemv/cupstestppd.c @@ -1,5 +1,5 @@ /* - * "$Id: cupstestppd.c,v 1.8 2003/02/14 21:08:29 mike Exp $" + * "$Id: cupstestppd.c,v 1.9 2003/02/14 21:23:51 mike Exp $" * * PPD test program for the Common UNIX Printing System (CUPS). * @@ -301,6 +301,11 @@ main(int argc, /* I - Number of command-line arguments */ if (verbose > 0) puts(" PASS LanguageEncoding"); } + else if (ppdversion < 41) + { + if (verbose > 0) + puts(" WARN REQUIRED LanguageEncoding"); + } else { errors ++; @@ -656,5 +661,5 @@ usage(void) /* - * End of "$Id: cupstestppd.c,v 1.8 2003/02/14 21:08:29 mike Exp $". + * End of "$Id: cupstestppd.c,v 1.9 2003/02/14 21:23:51 mike Exp $". */