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

Posted on 2006-05-16
Last Modified: 2012-08-14
How do I print to the Zebra (Eltron) 2746e using 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.
Question by:WesGoad
    LVL 8

    Expert Comment

    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..

    Author Comment

    These reports are created using the Zebra Software. They have a .lbl extension. Will these still print using this method?
    LVL 8

    Accepted Solution

    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


    Author Comment

    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.


    Author Comment

    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!


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now