开发者

Print from Windows Mobile Application

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 achiev开发者_JAVA百科e it :)

Thanks and Regards, Mrinal Jaiswal


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.


Take a look at 32feet library on codeplex

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜