点阵打印机中的阿拉伯字符 [英] Arabic Character in Dot-Matrix Printer

查看:141
本文介绍了点阵打印机中的阿拉伯字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用功能使用LPrinter将原始模式下的打印文本发送到My LQ300打印机

将阿拉伯语字符串发送到打印机并将此字符串转换为UTF8打印机打印????

如何解决这个问题?

I Use a Function Use LPrinter to send print text in Raw Mode to My LQ300 Printer
when Send arabic string to printer and convert this string to UTF8 printer prints ????
How to solve this problem?

推荐答案

您的打印机型号似乎不支持unicode。您必须将字符串转换为位图并打印出来。从 PrintDocument 开始[ ^ ]类的示例。有趣的部分是行
Your printer model doesn't seem to support unicode. You will have to transform your string into a bitmap and print that. Start with the PrintDocument[^] class's example. The interesting part ist the line
ev.Graphics.DrawString(...

在这里,您可以使用操作系统中安装的任何字体。它将转换为位图然后发送到打印机。

Here, you can use any font that is installed in your OS. It is converted to a bitmap and then sent to the printer.


这篇关于点阵打印机中的阿拉伯字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆