how to print extended ascii code
Helge Blischke
h.blischke at srz.de
Thu Sep 18 07:55:39 PDT 2008
William Anthony wrote:
>>William Anthony wrote:
>>
>>>My Java application currently running on windows, and there are some printout form that use extended ascii code (128-255), eg: box characters.
>>>When I tested them with cups, it show scrambled characters.
>>>Is there any workaround? Thanks.
>>
>>Those aren't "extended ASCII" (there is no such thing), those are one
>>of the old IBM code pages, and we do not provide support for them.
>>
>>Sorry...
>>
>>--
>>______________________________________________________________________
>>Michael Sweet, Easy Software Products mike at easysw dot com
>
>
> OK, I understand it's the "old" thing that cups won't support. So, is there the "new" thing cups supported that I can use to implement box characters? Thanks.
You could use the "alternate texttops filter" from the CUPS links which is a wrapper for the
original texttops filter that uses Perl's encode suite to encode nearly
arbitrary text to UTF8. The mentioned encode suite supports most of
the PC codepages by default.
Helge
--
Helge Blischke
Softwareentwicklung
H.Blischke at acm.org
More information about the cups
mailing list