On the web page, double-click on the "Print Label..." button to add the printing code on the Click event.
IMPORTANT NOTICE
• Although ThermalLabel SDK supports both ZPL and EPL printers, a label design you write using .NET code like C# or VB.NET will not produce the same output printing under ZPL and EPL printers. If you need to support both printer languages in your project then you will have to design two different labels targeting each printer language separately.
• In the following code you will have to change the Thermal Printer settings like printer name, type of communication, DPI, printer programming language, etc. to match yours.
Remember that is a simple sample code. The following code will try to print a barcode on a thermal label encoding the product ID provided by the user on the ASP.NET web page.