views:

284

answers:

3

Hi

I need to print to barcode printer (zebra) from windows-mobile 2005 (motorola hc700)

I search any sdk...not fount how to print.

thank's for any help

+1  A: 

This is based on my experience from 2006.

I had to use sockets in C# to send ZPL code to the printer. The "ZPL Code Generator" was hard-coded specifically to the one label format we needed; however, a template file with strategically placed search-and-replace strings would have been a better solution. There was a ZPL guide included with the printer and I'm sure you can get one from their website.

The Windows drivers were awful at the time and only produced garbage output. A couple developers before me had other approaches and both failed after a few weeks.

Edit:
Link to MSDN .Net Sockets. When
From my project, the port you should use is 6101. But that may be specific to the QL320.
The ZPL guides from Zebra are pretty good and I had little reason to devote the language to memory because it was just one small project.

Also, your printer may use EPL instead of ZPL but Zebra's guide for that is equally good. Either way, if the text you are sending to the printer is relatively constant, just create a file that correctly prints when streamed to the printer and then put in "replace me" blocks for your app to put in the dynamic values.

I'm also assuming that you are accessing this via a network. If your connecting it directly to the device, this changes slightly (I believe it gets mapped to COM port for most devices).

Austin Salonen
can i get sample code ?
Gold
Sockets or ZPL?
Austin Salonen
+1  A: 

All that, and no mention of

http://www.zebra.com/id/zebra/na/en/index/products/software/label_design_software/label_vista.html

We developed our label code by creating the labels in label vista and using telnet to send them to the printer for printing. Repeat until you have it like you want, then code it.

sylvanaar
+2  A: 

Check out the new mobile SDK from Zebra. It works with BlackBerry and Windows Mobile

ZebraLink Multiplatform SDK

OTisler