C# 调用Fnthex32.dll如何实现打印汉字功能
求助,C#使用COM口来实现打印汉字
[DllImport("Fnthex32.dll ", CharSet = CharSet.Ansi)]
public static extern int GETFONTHEX(
                       string chnstr,
                       string fontname,
                       int orient,
                       int height,
                       int width,
                       int bold,
                       int italic,
                       StringBuilder hexbuf);
  StringBuilder sb = new StringBuilder(255);
             int count;
             count = FontHex.GETFONTHEX("测试 ", "宋体", 0, 5, 30, 0, 0, sb);
             if (count > 0)
             {
                 Print(sb.ToString() + "^XA\n^FO10,140^XGOUTSTR01,1,2^FS");
             }
打不出来,请高手指点,万分感谢!
------解决方案--------------------http://blog.csdn.net/Breze_ralf/archive/2010/03/30/5433106.aspx
希望有用!!!
------解决方案--------------------
开发时
fnthex32.dll我是放在BIN目录
发布安装至用户的电脑
fnthex32.dll我是放在程序的安装目录