Connecting Tech Pros Worldwide Forums | Help | Site Map

How to print to a Zebra Printer Using vb.Net

Newbie
 
Join Date: Apr 2006
Posts: 2
#1: Apr 25 '06
Hi, I am trying to print labels to a zebra printer using the print document object in vb.net. Printing works fine to my local printer but with the Zebra, the data light indicator just flickers a couple of times and nothing else happens? Any help on this would be greatly appreciated

Thanks

Newbie
 
Join Date: Nov 2006
Posts: 3
#2: Nov 22 '06

re: How to print to a Zebra Printer Using vb.Net


The way I did it, and I don't know if this was half-assed or not, was to create a file containing the Zebra printer commands, barcodes, images, etc.

In the program I opened the Zebra printer port as binary, then did either a write or put to the printer port. It's been 4 months since then, and I'm no longer at that job, so my memory is a little hazy.

If you need to bone up on Zebra Printer Language, search on "ZPL II" and tutorial.
Newbie
 
Join Date: Mar 2008
Posts: 1
#3: Oct 1 '09

re: How to print to a Zebra Printer Using vb.Net


I was having this problem as well while trying to use the print Document object in VB.net. No matter what I tried I was never able to get the labels to print. I found this article which worked BEAUTIFULLY!
http://blogs.lessthandot.com/index.p...er-from-vb-net

The search words to use to get this article incase you cant get to the whole thing is printing to a zebra printer & vb.net. It was the first article that appeared in the list when I searched.
Reply