Click here to Skip to main content
Licence CPOL
First Posted 7 Jul 2006
Views 137,382
Bookmarked 35 times

Zebra EPL2 Printing in .Net

By | 7 Jul 2006 | Article
Print to zebra printers using EPL2 commands

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)

About the Author

funkotron76

Software Developer (Senior)

United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
SuggestionHow to print Chinese character?? PinmemberMember 86611691:02 21 Feb '12  
QuestionHelp me todo same in c# . i dont know vb.net Pinmembersuhaskumar86.sg3:30 10 Feb '12  
QuestionHow to generate .lbl file in asp.net using c# PinmemberHarishkavita23:54 3 Aug '11  
QuestionWin7 problem PinmemberThomas Gander0:32 22 Feb '11  
AnswerRe: Win7 problem PinmemberEdMee13:05 7 Apr '11  
GeneralRe: Win7 problem PinmemberChi Nghia4:55 7 Dec '11  
GeneralMy vote of 1 PinmvpDave Kreskowiak17:01 28 Feb '10  
GeneralTHANKS VERY MUCH!!!!!!! [modified] Pinmemberw3rm9:24 18 May '09  
GeneralPrinting Asian Characters Pinmemberb_basa4:29 19 Mar '09  
GeneralZebra Track I PinmemberVHOGUE16: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 Antofi5:05 23 Jan '09  
Generalprinting from web app- Invalid handle. Parameter name: handle PinmemberGeniousSal2:44 15 Jan '09  
GeneralRe: printing from web app- Invalid handle. Parameter name: handle PinmemberGeniousSal23:38 15 Jan '09  
GeneralProblem Printing in QL420 Printer Pinmemberajsri7722:25 8 Oct '07  
GeneralRe: Problem Printing in QL420 Printer Pinmembersarria88@gmail.com7:03 25 Feb '09  
QuestionNew FileStream(hPortP, FileAccess.Write) PinmemberTheRealRhodieboy8:27 25 Sep '07  
AnswerRe: New FileStream(hPortP, FileAccess.Write) PinmemberMember 467369711:23 4 Jun '09  
GeneralRe: New FileStream(hPortP, FileAccess.Write) PinmemberShoaib Mateen18:34 11 May '10  
QuestionCAn anyone lend me ahand ? PinmemberJHONPABLO5:28 6 Sep '07  
AnswerRe: CAn anyone lend me ahand ? PinmemberJHONPABLO5:42 6 Sep '07  
QuestionVariable and Template? PinmemberNewZebraUser8:47 17 Jul '07  
Great example and greatly appreciate the work. Can someone help with adding in variable and how to use what template? Basically I am working in VB.NET 2005 in creating a small application that pulls data from a SQL database and than print it to the label.
 
I was able to take the Zebra design label software to create a template call templabel.lbl with some variable. How would I specify so that ID textfield is tied to variable ID and so on?
AnswerRe: Variable and Template? PinmemberBubba Ole10:49 23 Aug '07  
AnswerRe: Variable and Template? PinmemberBubba Ole10:39 24 Aug '07  
Generalexception error solved Pinmembersplinterz22:42 21 May '07  
GeneralZebra ID Card Printing Pinmemberpassmoren8:45 18 Mar '07  

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.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120529.1 | Last Updated 7 Jul 2006
Article Copyright 2006 by funkotron76
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid