从 Windows Mobile 应用程序打印

发布于 2024-10-04 03:38:01 字数 154 浏览 0 评论 0原文

我正在使用 dot net Framework 3.5 开发一个 Windows 移动应用程序。

我想在蓝牙打印机 Zebra MZ 320 上从我的应用程序打印收据。该收据将包含一些文本和一些图像。有人可以指导我如何实现它吗:)

谢谢和问候, 姆纳尔·杰斯瓦尔

I am developing a windows mobile application using dot net framework 3.5.

I want to print a reciept from my application on a bluetooth printer Zebra MZ 320. That reciept will contain some text and some images. Can someone guide me how i can achieve it :)

Thanks and Regards,
Mrinal Jaiswal

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

末蓝 2024-10-11 03:38:01

使用适用于 Windows Mobile(或您所针对的相应平台)的 ZebraSDK 将 ZPL II 代码发送到您所针对的打印机。您需要一台支持蓝牙或以太网的 Zebra 打印机。

就我个人而言,我避免使用所有 SDK,只是使用 GDI+ 创建位图,根据 Zebra 规范对位图进行编码,然后通过 .NET TCP 连接将带有一些包装器 ZPL II 代码的位图发送到打印机。

阅读 ZPL 编程指南第一卷和第二卷肯定会帮助您学习如何做您想做的事情。确实没有简单的捷径。

Use the ZebraSDK for Windows Mobile (or the appropriate platform you are targeting) to send ZPL II code to the printer you are targeting. You will need either a Bluetooth or Ethernet enabled Zebra Printer.

Personally, I have avoided all SDKs and simply used GDI+ to create a bitmap, encoded the bitmap according to the Zebra spec and then sent the bitmap with some wrapper ZPL II code to the printer via .NET TCP connection.

Reading the ZPL Programming Guides both volume I and II will definitely help you on your way to learning how to do what you want. There really are no easy shortcuts.

恏ㄋ傷疤忘ㄋ疼 2024-10-11 03:38:01

看看 codeplex 上的 32feet 库

Take a look at 32feet library on codeplex

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文