从 Windows Mobile 打印到蓝牙打印机
我想使用蓝牙打印机(Zebra 或任何其他打印机)从 MC75 [Windows mobile 6] 打印包含文本和条形码的收据。
我对 Windows Mobile 非常陌生,不知道从哪里开始以及如何连接蓝牙设备。
请有人给我提供一些链接或代码,以通过蓝牙打印机在 C# 中开始打印“hello world”。
I want to print a receipt containing text and barcode from MC75 [Windows mobile 6] and using a bluetooth printer (Zebra or any other).
I am very new to windows mobile and I don't know where to start and how to connect with bluetooth devices.
Please can someone provide me with some link or code to start with a print "hello world" via a bluetooth printer in c#.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Zebra 提供适用于 Windows mobile 的 SDK 其中有许多示例、简短的示例应用程序,甚至还有演示实用程序。您只需调用提供的 API,SDK 就会通过蓝牙(或 TCP)为您建立与打印机的正确连接。
Zebra provides an SDK for Windows mobile which has many examples, short sample applications, and even a demo utility. You just simply call the APIs provided and the SDK will make the proper connection to the printer via Bluetooth (or TCP) for you.
您可以截取设备上信息的屏幕截图(例如>>此处<<),然后发送通过蓝牙文件。
我能想到的唯一另一个想法是在文本文件中写入足够的数据,以完整描述设备上显示的所有控件(控件类型、位置、大小、颜色、任何文本、条形码字体),然后发送该文本文件到配对 PC 上的 Windows 程序以获取该信息并重新创建您的表单
...然后从 Windows 进行打印。
You could take a screen shot of the information on your device (example >> HERE <<), then send the file via Bluetooth.
The only other idea I could think of would be to write enough data in a text file to completely describe all of the controls displayed on the device (control type, location, size, color, any text, barcode font) then send that text file to a Windows program on the paired PC to take that information and recreate your form
...then Print from Windows.