我的应用程序在本地 CF 2.0 下运行,我想知道如何连接并发送内容以在 http://www.milliontech.com/home/content/view/195/95/的嵌入式打印机中打印'>Bluebird BIP-1300 设备。
理想情况下,我想要一个 C# 示例。
提前谢谢您。
最佳答案
使用bbpdaapi.dll(通过google搜索) 在 C# 中
using Bluebird.BIP.Printer;
...
this.prn1 = new Bluebird.BIP.Printer.Printer();
if (!this.prn1.Open(0))
{
MessageBox.Show("Can not open Printer", "Printer problem");
}
this.prn1.PrintText("sdfgidfui", 0);
this.prn1.PrintBitmap(@"\My Documents\sample.bmp", 0);
if (this.prn1.WaitUntilPrintEnd() == 1)
{
MessageBox.Show("No paper in Printer", "Printer problem");
}
}
this.prn1.Close();
等等..
关于c# - 如何从 C# 打印到 Bluebird BIP-1300 热敏打印机?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/182306/