[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Code to print label to Zebra 2746e printer for VB.Net

Posted on 2006-05-16
5
Medium Priority
?
1,817 Views
Last Modified: 2012-08-14
How do I print to the Zebra (Eltron) 2746e using VB.net? Zebra has a program called LPrint that allowed you to select a label from a dialog box and print it without opening the Label design software, but it does not support the 2746e print driver. I started to create a similar program in VB.Net to do the same thing. I can get the program to access the path and file name to the label when it is selected, but I can not get it to print to the printer. Zebra hasn't much help with this problem. Any suggestions would be appreciated.
0
Comment
Question by:WesGoad
  • 3
  • 2
5 Comments
 
LVL 8

Expert Comment

by:bman9111
ID: 16695754
pretty basic to do...All i would do is make sure u have the printer installed on your pc. Then create a crystal report file and make the default printer the zebra printer. I have the same one at one time and it worked great. I then had my crystal report tied to a dataset and then populated it with data I wanted to display on the report.

Pretty easy way of doing things...

Hope that helped..
0
 

Author Comment

by:WesGoad
ID: 16699024
These reports are created using the Zebra Software. They have a .lbl extension. Will these still print using this method?
0
 
LVL 8

Accepted Solution

by:
bman9111 earned 750 total points
ID: 16704879
no....I thought u had data from a database and just wanted to print to the zebra printer....What u could do is check to see if zebra has any coms u could reference....Or give me a link to the software u are using and I can try to see if there is a way to incorporate it into vb...


Up to u

0
 

Author Comment

by:WesGoad
ID: 16709136
I emailed Zebra for a Com Ref. I've seen many posts to send the epl2 commands for the label to the printer, but I don't know how to be that with VB .NET.

Thanks
0
 

Author Comment

by:WesGoad
ID: 16720386
Zebra sent me the following link to a VB.NET sample. It worked with a little head scratching and trial and error. Thanks for the help!

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

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question