LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2005, 05:16 PM   #1
Osborne1934
Member
 
Registered: Mar 2005
Location: Meldreth, Cambs, UK
Posts: 30

Rep: Reputation: 15
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
 
Old 06-12-2005, 05:24 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
If your printer has Parallel, try that telling cups to use /dev/lp0

KC
 
Old 06-13-2005, 12:43 PM   #3
Osborne1934
Member
 
Registered: Mar 2005
Location: Meldreth, Cambs, UK
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print failure in Kubuntu Breezy esteeven Ubuntu 5 11-18-2005 04:19 PM
Redhat 7.1 Installation Failure gardgreg Linux - General 3 03-18-2004 08:01 AM
Redhat insall failure dkunce Linux - Newbie 10 11-09-2002 09:13 AM
Can't print to Windows printer from Linux RedHat 7.2 LinuxJuanaBe Linux - Newbie 10 05-05-2002 11:47 PM
RedHat 6.2 Installation Failure dstovall Linux - Software 3 02-06-2001 05:53 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration