Printing Chinese on Printer

Nick Lee <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
Hi,

I'm trying to print Chinese to a printer using PHP's
printer module (php_printer.dll). My platform is W2K,
English. I've printed Chinese successfully from
Notepad, so I know the printer can print Chinese.

I send the bytes to the printer using
printer_draw_text(). The printer just intreprets the
bytes as ascii characters, and prints out a string of
those weird characters. I've used
mb_convert_encoding() to convert the string to UTF-8
format before sending it to printer, but the result is
just another string of weird ascii characters.

So, where is the problem? How do I force the printer
to interpret the bytes in another encoding? Or ...
should I convert the bytes into another encoding, such
as UTF-7, UTF-16, etc???????

Thanks in advance for any help,
Nick


______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.