Re: Cups and charactersets
- From: Torfinn Ingolfsen <tingo@xxxxxxxx>
- Date: Tue, 14 Nov 2006 21:03:53 +0100
Eivind E wrote:
Greets. I run cups on a freebsdmachine (6.2-PRERELEASE), and everything
I'm using FreeBSD 6.2-BETA2, but I don't think that it makes a difference.
I'm using HPLIP, but it uses CUPS as a spooler and so on. My printer is a HP Photosmart 8250.
works when printing non-text. When trying to print a pure textfile
using lpr (I've renamed the lpr and associates meant for lpd in /usr/bin
to avoid interference), I don't get Norwegian characters like æøå.
I have the same problem.
I've tried setting DefaultCharset iso-8859-1 in
/usr/local/etc/cups/cupsd.conf and it doesn't help.
You have restarted cupsd after that, of course?
Anyway, I've tried the same, and it doesn't change anything.
The LANG variable is
also set to no_NO.ISO8859-1.
I have tried printing a text file (with norwegian characters in it) in two ways, for both the command was
lpr textfile
('file textfile' reports that the file contains "ISO-8859 text")
a) from the root shell (ok, a xterm in which I did 'su -' first). This shell doesn't have a LANG variable set at all.
The output in this case are missing all norwegian characters.
b) from my user's shell (again, an xterm). This shell have LANG=en_US.ISO8859-1.
In this case, the output contain norwegian characters
However, in both cases a part of the text is missing (it varies, but the first line is always mssing, sometimes it is the first two lines, etc.)
The default text filter is 'texttops', ad I think it is swallowing lines of my text.
DefaultCharset should be enough. Does anybody have a clue of what's
Have you found any documentation that says that DefaultCharset affects the printed output at all?
From the documentation I have read, it looks like it is affecting the web page output of cupsd.
(IMO, it _should_ define charset for printed output as well, I have not been able to find documentation that conforms this)
--
Torfinn Ingolfsen,
Norway
.
- Follow-Ups:
- Re: Cups and charactersets
- From: Eivind E
- Re: Cups and charactersets
- References:
- Cups and charactersets
- From: Eivind E
- Cups and charactersets
- Prev by Date: Re: ogle playing too fast?
- Next by Date: How can I avoid the "set owner/mode for" question of restore?
- Previous by thread: Re: Cups and charactersets
- Next by thread: Re: Cups and charactersets
- Index(es):
Relevant Pages
|