Click here to Skip to main content
11,647,748 members (68,461 online)
Click here to Skip to main content

Zebra EPL2 Printing in .Net

, 7 Jul 2006 CPOL 193.1K 7.1K 37
Rate this:
Please Sign up or sign in to vote.
Print to zebra printers using EPL2 commands
<!-- Article Starts - DO NOT ADD HTML/BODY START TAGS-->

Introduction

Attached is a good example on how to print to Zebra printers using the EPL2 commands in .Net.  In the attached file you will find 2 VB.Net 2003 Projects.  The project ZebraPrint is a good reuseable dll file (or you could just use the class) that you can use in VB.Net 2003 or 2005.  The project ZebraTest demonstrates how to print using ZebraPrint.  I have tested it using a Zebra TLP 2844 over a TCP/IP network.  I have not tested it over a COM or Parallel port yet, but in theory it should work.

 

Referances:

https://support.zebra.com/cpws/docs/zpl/zpl_elp_vbnet.htm

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

funkotron76
Software Developer (Senior)
United States United States
No Biography provided

You may also be interested in...

Comments and Discussions

 
SuggestionHow to print Chinese character?? Pin
Member 866116921-Feb-12 1:02
memberMember 866116921-Feb-12 1:02 
QuestionHelp me todo same in c# . i dont know vb.net Pin
suhaskumar86.sg10-Feb-12 3:30
membersuhaskumar86.sg10-Feb-12 3:30 
QuestionHow to generate .lbl file in asp.net using c# Pin
Harishkavita3-Aug-11 23:54
memberHarishkavita3-Aug-11 23:54 
QuestionWin7 problem Pin
Thomas Gander22-Feb-11 0:32
memberThomas Gander22-Feb-11 0:32 
AnswerRe: Win7 problem Pin
EdMee7-Apr-11 13:05
memberEdMee7-Apr-11 13:05 
GeneralRe: Win7 problem Pin
Chi Nghia7-Dec-11 4:55
memberChi Nghia7-Dec-11 4:55 
GeneralMy vote of 1 Pin
Dave Kreskowiak28-Feb-10 17:01
mvpDave Kreskowiak28-Feb-10 17:01 
GeneralTHANKS VERY MUCH!!!!!!! [modified] Pin
w3rm18-May-09 9:24
memberw3rm18-May-09 9:24 
GeneralPrinting Asian Characters Pin
b_basa19-Mar-09 4:29
memberb_basa19-Mar-09 4:29 
GeneralZebra Track I Pin
VHOGUE28-Jan-09 16:42
memberVHOGUE28-Jan-09 16:42 
QuestionAccess to object C:\WINNT\System32\spool\PRINTERS\00004.SPL was blocked by rule Anti-virus Standard Protection:Prevent remote creation/modification of executable and configuration files. Pin
Mihai Antofi23-Jan-09 5:05
memberMihai Antofi23-Jan-09 5:05 
Generalprinting from web app- Invalid handle. Parameter name: handle Pin
GeniousSal15-Jan-09 2:44
memberGeniousSal15-Jan-09 2:44 
GeneralRe: printing from web app- Invalid handle. Parameter name: handle Pin
GeniousSal15-Jan-09 23:38
memberGeniousSal15-Jan-09 23:38 
GeneralProblem Printing in QL420 Printer Pin
ajsri778-Oct-07 22:25
memberajsri778-Oct-07 22:25 
GeneralRe: Problem Printing in QL420 Printer Pin
sarria88@gmail.com25-Feb-09 7:03
membersarria88@gmail.com25-Feb-09 7:03 
QuestionNew FileStream(hPortP, FileAccess.Write) Pin
TheRealRhodieboy25-Sep-07 8:27
memberTheRealRhodieboy25-Sep-07 8:27 
AnswerRe: New FileStream(hPortP, FileAccess.Write) Pin
Member 46736974-Jun-09 11:23
memberMember 46736974-Jun-09 11:23 
GeneralRe: New FileStream(hPortP, FileAccess.Write) Pin
Shoaib Mateen11-May-10 18:34
memberShoaib Mateen11-May-10 18:34 
QuestionCAn anyone lend me ahand ? Pin
JHONPABLO6-Sep-07 5:28
memberJHONPABLO6-Sep-07 5:28 
AnswerRe: CAn anyone lend me ahand ? Pin
JHONPABLO6-Sep-07 5:42
memberJHONPABLO6-Sep-07 5:42 
QuestionVariable and Template? Pin
NewZebraUser17-Jul-07 8:47
memberNewZebraUser17-Jul-07 8:47 
AnswerRe: Variable and Template? Pin
Bubba Ole23-Aug-07 10:49
memberBubba Ole23-Aug-07 10:49 
AnswerRe: Variable and Template? Pin
Bubba Ole24-Aug-07 10:39
memberBubba Ole24-Aug-07 10:39 
Generalexception error solved Pin
splinterz21-May-07 22:42
membersplinterz21-May-07 22:42 
GeneralZebra ID Card Printing Pin
passmoren18-Mar-07 8:45
memberpassmoren18-Mar-07 8:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150804.3 | Last Updated 7 Jul 2006
Article Copyright 2006 by funkotron76
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid