swedish characters =?UTF-8?B?KMOlw6TDtikgZnJvbSBscCBvciBscHIg?==?UTF-8?B?cHJpbnQgZ2liYmVyaXNo?=

Fredrik Lundgren fredrik.bg.lundgren at gmail.com
Sun Dec 28 10:26:39 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
Thanks again,

Well, I have /private/etc/cups/mime.convs
but in the /usr/libexec/cups/filter only:

cgpdftopdf             nstexttopdf            pstoraster
cgpdftops              pdftopm                rastertodymo
cgpdftoraster          pictwpstops            rastertoepson
commandtocanon         pstoappleps            rastertogimpprint.5.0
commandtoepson         pstocupsraster         rastertogutenprint.5.1
gziptoany              pstopdffilter          rastertohp
hpgltops               pstops                 rastertolabel
nsimagetopdf           pstopxl                rastertotiff

and as far as I see no texttops and locate texttops is also negative?

In mime.convs:

application/x-cshell    application/postscript  33      texttops
application/x-csource   application/postscript  33      texttops
application/x-perl      application/postscript  33      texttops
application/x-shell     application/postscript  33      texttops
text/plain              application/postscript  33      texttops
text/html               application/postscript  33      texttops

so texttops is referred to but maybe non-existant.

Where can I find that filter?

Fredrik





More information about the cups mailing list