swedish characters (åäö) from lp or lpr print gibberish

Michael Sweet mike at easysw.com
Sun Dec 28 08:38:33 PST 2008


Fredrik Lundgren wrote:
>> Fredrik Lundgren wrote:
>>> Hello cupsers!
>>>
>>> I use Mac OS X 10.5.6, CUPS, Airport and have a HP LaserJet 1010 as networkprinter. From applications (emacs, textedit, neooffice, openoffice, etc) printing works OK both from the Mac and from a open SuSE 10.3 computer (even with swedish charcters 'åäö'). However, when I use lp or lpr from the 'terminal' or 'konsole' to print textfiles I get 'gibberish' for the sedish characters åäö. What shuld be tweaked and how? I'm using UTF-8.
>> It's a known bug in the Mac OS X text filter; as a temporary solution
>> you can comment out the text/plain line in /etc/cups/apple.convs and
>> then do:
>>
>>      sudo killall -HUP cupsd
>>
>> to register the change.
>>
>> --
>> ______________________________________________________________________
>> Michael Sweet, Easy Software Products           mike at easysw dot com
> Dear Michael,
> Thank you for the suggestion but now i get: lpr: The format ”text/plain” isn't supported! (my translation from swedish). So lpr or lp wouldn't print at all.

Hmm, make sure you have a /usr/libexec/cups/filter/texttops program,
and the /etc/cups/mime.convs file lists texttops as well.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list