473,624 Members | 2,346 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to print to a Zebra Printer Using vb.Net

2 New Member
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
Apr 25 '06 #1
2 24315
cyningeston
3 New Member
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.
Nov 22 '06 #2
DeborahAGiroux
1 New Member
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.
Oct 1 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

13
21654
by: Susan Beebe | last post by:
I have downloaded the code described in Microsoft article Q154078. I am trying to send raw ZPL (zebra barcode printer) code from Microsoft access. It works just fine if I hard code the actual data in the string being sent to the printer. However, if I prompt the user for data or if I insert data from a particular record/field in a form Access crashes/closes on its own. I have included the code below, if anyone has any suggestions,...
0
1336
by: zoneal | last post by:
I need to verify status of a zebra printer in Visual Basic 2005.
1
2864
by: paridaG | last post by:
Hi can any one help me? I am using RFID zebra printer and my os is linux. I try to print on it. I have no driver for linux and I can not communicate through minicom. I want to communicate with my printer through c program. Thanks in advance.
4
3173
by: =?Utf-8?B?UGF1bCBCdXp6YSwgb2xkc3RlciB1c2luZyBuZXcg | last post by:
I have developed a web-based inventory system for my estate jewelry business using ASP.Net 2.0 and Microsoft SQLServer. The inventory database is also the basis of my website (www.lookwhatifound.biz). I want to print jewelry tags on a local Zebra printer with the label consisting of fields from the web-based SQLServer database. I'm pretty sure I can create the label as a file using ZPL and download the file using the RESPONSE object. ...
1
5387
by: amcgary | last post by:
Hello, I am trying to print a System.Drawing.Printing.PrintDocument to a dot matrix printer using C# .NET. I have created an instance of the PrintDocument and create a event handler for the PrintPage property of the PrintDocument. PrintDocument document = new PrintDocument(); document.PrintPage += new PrintPageEventHandler(pd_PrintInvoicePage); document.Print(); However, when I try to print to the dot matrix printer the printer...
2
2353
by: ozipos | last post by:
I am trying to print text to a docket printer with the following command printer.print "trying to print" but I keep getting an error. Actually I want to print special keys so that the cah draw opens. I first need to know that the print commands work. If I can specify the printer as well it would be great. I have tried pinter.print Chr$(27);Chr$(0);Char$(80);Chr$(80) but this doesnt work in opening the draw. The printer doesn't respond at...
9
10277
by: id10t error | last post by:
Hello, I am going to be using a Symbol WT4090 to scan items. I need to printer a tag from the Zebra ql320 plus. I am trying to do this is Visual basic 2005. Does anyone know and good site to find out how to do this. I have looked everywhere i know with no luck. Thank you in advance for your help.
2
6700
by: Flying Kite | last post by:
Hi All, I want to know how to print chinese characters on Zebra Printer, following code working fine with English string, but it's not working for Chinese string. It shows ASCII characters instead of Chinese characters, on my machine I installed language pack and currently set language as Chinese PRC but still it's not working. Option Explicit Private Type DOCINFO pDocName As String pOutputFile As String pDatatype As String
3
4658
by: mabctn | last post by:
Hi... I am using Zebra 140XiIII Plus and Zebra 105 SL Printers... I need to create an app;ication that will display the current status of the printer. Please help me how to get the status of printer using c# or VB. Thanks in advance.... Bala.
0
8233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8170
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.