[cups.general] how to print extended ascii code
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Fri Sep 12 20:19:06 PDT 2008
On 2008 Sep 12, at 23:13, 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.
>
> 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.
CUPS uses UTF-8 Unicode.
It seems to me that with a backend like tea4cups you could wire recode
into the output filters to convert whatever codepage is being used
into UTF-8.
--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
More information about the cups
mailing list