LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   failure to print from Redhat Linux (https://www.linuxquestions.org/questions/linux-newbie-8/failure-to-print-from-redhat-linux-332837/)

Osborne1934 06-12-2005 04:16 PM

failure to print from Redhat Linux
 
I am still struggling - after 3 months since I installed (Redhat) Linux-
with my inability to print. I am using KPRINTER & CUPS.
KPRINTER has an install wizard which is straight forward. My printer is
a Lexmark Z42.
The hardware part of Linux has obviously configured the printer because,
if I tell KPRINTER the printer is local, it comes up with the correct
port : (USB #1> Lexmark Z42). It then gives a list of printer makes & Models, among
which are Lexmark & Z42.
It comes up with 3 drivers one of which it recomends (Fomatic + drv_z42)
It then invites me to print a test page.
It then thinks it has printed the page successfully but, in fact
nothing happens.
However, although the kprinter GUI shows no problem, I find that if I
start kprinter from a Terminal, I get the following output:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


Can anyone clarify please?

NB there is nothing wrong with my hardware - the printer works
beautifully with Windows!
AlexO

kencaz 06-12-2005 04:24 PM

If your printer has Parallel, try that telling cups to use /dev/lp0

KC

Osborne1934 06-13-2005 11:43 AM

My printer is USB only
Since I posted my problem, I find that 'locale' is a command and gives:
root@localhost root]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
[root@localhost root]#
Why should my printer installation have anything to do with the Time Zone I'm in (LC_TIME),
the currency I use (LC_MONETARY) etc etc?
i.e. Why should printer installation need to set 'locale'
the perl warning is ambiguous; e.g. Is it saying LANGUAGE is unset or that it ought to be etc?
How can I know whether LANGUAGE, LC-ALL & LANG are supported & installed on my system?
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
It is all extremely user unfriendly!
Osborne1934


All times are GMT -5. The time now is 12:34 AM.