Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 2004 23:14:29 -0700
From:      "HarryH" <forHarryH@hotmail.com>
To:        <freebsd-performance@freebsd.org>
Subject:   CUPS Printing setup problems.
Message-ID:  <BAY22-DAV16zchK4hse00015f55@hotmail.com>

next in thread | raw e-mail | index | archive | help
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").



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY22-DAV16zchK4hse00015f55>