Click here to Skip to main content
6,629,885 members and growing! (23,667 online)
Email Password   helpLost your password?
Languages » VB.NET » General     Intermediate

Zebra EPL2 Printing in .Net

By funkotron76

Print to zebra printers using EPL2 commands
VB, .NET, WinXPVS.NET2003, VS2005, Dev
Posted:7 Jul 2006
Views:66,986
Bookmarked:27 times
Unedited contribution
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
5 votes for this article.
Popularity: 2.36 Rating: 3.38 out of 5
1 vote, 20.0%
1

2
1 vote, 20.0%
3
1 vote, 20.0%
4
2 votes, 40.0%
5

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

funkotron76


Member

Occupation: Software Developer (Senior)
Location: United States United States

Other popular VB.NET articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 25 of 43 (Total in Forum: 43) (Refresh)FirstPrevNext
GeneralTHANKS VERY MUCH!!!!!!! [modified] Pinmemberw3rm10:24 18 May '09  
GeneralPrinting Asian Characters Pinmemberb_basa5:29 19 Mar '09  
GeneralZebra Track I PinmemberVHOGUE17:42 28 Jan '09  
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. PinmemberMihai Antofi6:05 23 Jan '09  
Generalprinting from web app- Invalid handle. Parameter name: handle PinmemberGeniousSal3:44 15 Jan '09  
GeneralRe: printing from web app- Invalid handle. Parameter name: handle PinmemberGeniousSal0:38 16 Jan '09  
GeneralProblem Printing in QL420 Printer Pinmemberajsri7723:25 8 Oct '07  
GeneralRe: Problem Printing in QL420 Printer Pinmembersarria88@gmail.com8:03 25 Feb '09  
QuestionNew FileStream(hPortP, FileAccess.Write) PinmemberTheRealRhodieboy9:27 25 Sep '07  
AnswerRe: New FileStream(hPortP, FileAccess.Write) PinmemberMember 467369712:23 4 Jun '09  
GeneralCAn anyone lend me ahand ? PinmemberJHONPABLO6:28 6 Sep '07  
GeneralRe: CAn anyone lend me ahand ? PinmemberJHONPABLO6:42 6 Sep '07  
GeneralVariable and Template? PinmemberNewZebraUser9:47 17 Jul '07  
GeneralRe: Variable and Template? PinmemberBubba Ole11:49 23 Aug '07  
AnswerRe: Variable and Template? PinmemberBubba Ole11:39 24 Aug '07  
Generalexception error solved Pinmembersplinterz23:42 21 May '07  
GeneralZebra ID Card Printing Pinmemberpassmoren9:45 18 Mar '07  
GeneralRe: Zebra ID Card Printing Pinmemberorcl_cnsv23:10 11 Aug '07  
Generalhow to retrieve the values of ~HS/~HI Pinmemberjagger_mack23:16 28 Feb '07  
GeneralSame problem PinmemberTrigrhapy8:16 29 Jan '07  
Generalprinting from web app- Invalid handle. Parameter name: handle PinmemberJoonbug475:21 21 Dec '06  
GeneralRe: printing from web app- Invalid handle. Parameter name: handle Pinmembermircea_de_autogari23:16 21 Oct '08  
GeneralRe: printing from web app- Invalid handle. Parameter name: handle Pinmembermihaiantofi6:29 29 Oct '08  
AnswerRe: printing from web app- Invalid handle. Parameter name: handle Pinmembermircea_de_autogari8:36 29 Oct '08  
AnswerRe: printing from web app- Invalid handle. Parameter name: handle Pinmembermihaiantofi4:56 31 Oct '08  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 7 Jul 2006
Editor:
Copyright 2006 by funkotron76
Everything else Copyright © CodeProject, 1999-2009
Web18 | Advertise on the Code Project