Zebra MZ320 printer

jlalterno

New Member
I'm about to evaluate Basic4Android before buying. Please need to know if an application developed in Basic4Android can print to a Zebra MZ320.
 

hdtvirl

Active Member
Licensed User
Longtime User
Take a look here,

http://www.b4x.com/forum/basic4andr...92-bluetooth-printing-via-spp.html#post101457

I managed to get the printek field s working straight away using timwils example code.

I hope this helps you make the purchase of B4A as you won,t (1) get a more rapid development tool for android (2) you won't get support like this site anywhere else for Android development. (3) a great developers community who are always willing to help with problems, hints and tips and libraries.

Regards

BOB
 
Upvote 0

timwil

Active Member
Licensed User
Longtime User
When I was developing for Windows Mobile I once tried to print to the Zebra MZ320 but could not quite get it going. The difficulty was in the sequence of commands (they use their own print language) that you have to send to the printer.

If it is Bluetooth then yes it CAN work but you just have to work out what to send to it.

In the end I gave up without getting the Zebra to work as I had been working with the Citizen CMPs which were MUCH easier to work with.

Tim
 
Upvote 0

rboeck

Well-Known Member
Licensed User
Longtime User
Try following for printing: Create an ready label with your prefered Software. Use only fonts, which are build in the printer. Not all programs show you this type of font. For this label use the longest possible strings and use unique placeholders; for example 'aaaaaaaaaa' , 'bbbbbbbbbbbbbbb' and so on.
After the label is ready, print to file instead to the printer.
Transfer this file to you android device, open it at runtime. Then replace the strings 'aaaaaaaa' ,'bbbbbbbbb' and so on with the strings you wanted to print.
Not easy, but you dont have to study how your printer commands work and it is useable for different types of command languages.
Greetings from austria
Reinhard Böck
 
Upvote 0

Ricky D

Well-Known Member
Licensed User
Longtime User
I just did a quick search for this

Zebra Cpcl command language

I chose first link which gave me a PDF. Try doing this maybe to get more understanding.

Regards, Ricky
 
Upvote 0
Top