From owner-freebsd-performance@FreeBSD.ORG Fri Aug 13 06:14:28 2004 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB18416A4CE for ; Fri, 13 Aug 2004 06:14:28 +0000 (GMT) Received: from hotmail.com (bay22-dav16.bay22.hotmail.com [64.4.16.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B1343D1F for ; Fri, 13 Aug 2004 06:14:28 +0000 (GMT) (envelope-from forharryh@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 12 Aug 2004 23:14:28 -0700 Received: from 66.81.120.73 by bay22-dav16.bay22.hotmail.com with DAV; Fri, 13 Aug 2004 06:14:28 +0000 X-Originating-IP: [66.81.120.73] X-Originating-Email: [forharryh@hotmail.com] X-Sender: forharryh@hotmail.com From: "HarryH" To: Date: Thu, 12 Aug 2004 23:14:29 -0700 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Message-ID: X-OriginalArrivalTime: 13 Aug 2004 06:14:28.0820 (UTC) FILETIME=[CA599940:01C480FC] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: CUPS Printing setup problems. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 06:14:29 -0000 Hi, I have FreeBSD 4.10 installed and decided make it a print server using = CUPS instead of LPD. I followed all instructions and have CUPS up and = running. When I print a test page, CUPS acts as though all is fine and = declares the job "completed" yet there is not output to the printer and = nothing in the print queue. A problem (see below) appears to be where = Perl cannot find the Locale. I set LANG, LC_ALL and LC_CTYPE all equal = to en_US.ISO.8859-1 in the .cshrc script for startup but it does not = work. I added DefaultLanguage=3Den_US.ISO.8859-1 in the cupsd.conf file = - still no change. When I do a "env" to check the variables, all of = them look good and set correctly. =20 I have spent days all over the Web but have yet to find any answers that = work. It appears to me that Perl is trying to get the LANG and other = variables from some other place but where? I checked the locale = directories in /usr/share/locale and all seems to be there. One site Linux suggested that they fixed it by adding $ENV {'LC_ALL'} = =3D 'en_US'; to some Perl startup script, but I do not know Perl and = where its parts are. Any ideas as to what I need to do to fix this? =20 Any suggestions GREATLY appreciated! Thanks, Harry Heim =20 couldn't set locale correctly D [11/Mar/2004:02:38:33 +0500] [Job 55] perl: warning: Setting locale = failed. D [11/Mar/2004:02:38:33 +0500] [Job 55] perl: warning: Please check that = your locale settings: D [11/Mar/2004:02:38:33 +0500] [Job 55] LC_ALL =3D (unset), D [11/Mar/2004:02:38:33 +0500] [Job 55] LANG =3D "en" D [11/Mar/2004:02:38:33 +0500] [Job 55] are supported and installed on = your system. D [11/Mar/2004:02:38:33 +0500] [Job 55] perl: warning: Falling back to = the standard locale ("C").