ThermalLabel Web Editor for ASP.NET just released!!!

We’re very excited to announce the launch of our brand new ThermalLabel Web Editor for ASP.NET !!!

ThermalLabel Web Editor for ASP.NET Add-on

ThermalLabel Web Editor Add-on is a first-class barcode label designer component for ASP.NET websites (MVC & WebForms) which empowers your WebApps by providing an end-user visual label editor! The ThermalLabel Editor component leverages and requires the ThermalLabel SDK and was designed based on jQueryand HTML5 Canvas (Fabric.js)! Built on top of latest web platform and standards, this Web Label Editor can be used in Windows, Linux, Mac & Android Clients with latest browsers!

Checkout Online Demo!

WebClientPrint 2.0 for ASP.NET CORE just released!

We’re glad to announce the release of WebClientPrint 2.0 for ASP.NET CORE

ASP.NET CORE is on the way and with this WebClientPrint release we’re bringing the client-side plugin-free printing features of our product to this brand new cross platform Web development technology.

Getting Started with WebClientPrint for ASP.NET CORE

 

WebClientPrint 2.0 for Windows clients Update – New User Agent setting & Print Copies for Files

We’re glad to announce a new update to WebClientPrint 2.0 for Windows clients (wcpp.exe). This new update includes:

  • New! Added User Agent settings for WCPP for Windows
  • Fixed! Now number of copies is honored when printing files is done through the Print Dialog.
  • Improved! HTTP Connection Timeout increased for big print jobs.

This update requires the installation of the client software only.

Download WebClientPrint Processor2.0 for Windows

The “File version” value for this update is:

> wcpp.exe patched to v2.0.14.0106

Print ESC/POS commands from ASP.NET right to the client printer

We’ve just published a new article about How to print raw ESC/POS commands from ASP.NET directly to the client printer that shows you how to get fast printing outputs with dot-matrix, impact, thermal or inkjet printers that support ESC/POS-compatible commands. The article shows you how to create ESC/POS commands for a simple receipt and how to get it printed from ASP.NET right to the client printer. Works with any popular browser (Chrome, IE, Firefox, Safari, Opera) on Windows, Linux or Mac!

 A Sample Receipt printed from ASP.NET and created by using ESC/POS commands

WebClientPrint 2.0 for PHP just released!

We’re proud to announce v2.0 of our WebClientPrint for PHP solution!

WebClientPrint allows you to easily send raw data, text and native commands to printers installed at the client machine without showing or displaying any print dialog box from PHP websites!

In addition to print raw printer commands, you can also print most common file formats like PDF, TXT, Word DOC, Excel XLS, JPG/JPEG, PNG, multipage-TIFF, and more!

WebClientPrint for PHP is a plug-in free solution based on jQuery and works with Windows, Linux & Mac clients through most popular browsers i.e. Internet Explorer, Firefox, Chrome, Opera and Safari!

Try the new WebClientPrint for PHP online and download a fully-functional evaluation version

For any tech questions please contact our engineers at http://www.neodynamic.com/support

How to print barcode labels to the default thermal printer of the client machine in ASP.NET with ThermalLabel SDK

In this short article we’ll show you how to print to the default thermal printer of the client machine (a.k.a. client-side printing) without showing any print dialog to the end-user in an ASP.NET scenario by referring to the same scenario stated in our guide about ASP.NET Client-side cross-browser barcode thermal label printing with ThermalLabel SDK

Please read the above guide to learn more about how our client-side barcode thermal printing approach works before trying the following code.

To print to the default printer of the user (at the client machine) and based our code on the same wrote in our ASP.NET Client-side cross-browser barcode thermal label printing with ThermalLabel SDK guide, you should:

  • The first thing to do is to instruct to the user to set up in Windows OS the thermal printer as the default printer in the client machine. The following screenshot is from Windows 7 on which the user has set up the Zebra GK420tprinter as the default printer.
    Setting the default printer on Windows 7

    Note on the Windows Driver for the client printer.

    In this case the user installed the Zebra ZDesigner driver for the printer. However, in most cases the simple “Generic / Text Only” driver that comes with Windows will work just fine too.

  • The ThermalLabel SDK does support both Zebra ZPL and EPL printer languages i.e. on a given ThermalLabel object, you can instruct our product to generate ZPL or EPL commands and send them to the target printer. So the second important thing you need to knowis what kind of language the default client printer does support i.e. if it a ZPL or EPL printer. Some Zebra printer models (like the GK420t) do support both languages in which case you should not be worried about it (by default our SDK generates ZPL commands). However, others like the LP/TLP-2844 or TLP-3842 which only supports EPL should be taken into account.So you should get that info somehow from the client/user if this is a variable factor. In some enterprise scenarios, thing is sometimes simplified as the whole environment could be using the same printer model and then, the printer command language is already known. So please consider this topic when you need to “print to the default client printer”.
  • In addition to know the client printer’s language (ZPL or EPL) you also need to know the printing resolution (DPI) supported by the client printer. Nowadays, Zebra thermal printers come with 203, 300 and 600 dpi. The same method for getting if the client printer is ZPL or EPL capable may be applied for getting the DPI support.
  • So based on the above considerations, we could change the code from our main guide to the following. We know (somehow) that the printer is ZPL-capable and that it has 203 dpi of printing resolution. With that info we can print the label to the default client printer without showing any dialog to the user by modifying the code in the Page_Init event handler of our ASP.NET page to the following:

    For VB code:

    Protected Sub Page_Init(sender As Object, e As System.EventArgs) Handles Me.Init
    
            'is this a request for a WebPrintJob handler?
            If Not Request("webPrintJob") Is Nothing Then
                'Create a WebPrintJob obj
                Dim webPj As New WebPrintJob()
    
                'set a ThermalLabel obj
                webPj.ThermalLabel = GenerateBasicThermalLabel()
    
                'Print to the defaul client printer
                  webPj.ShowPrintDialog = False
                  webPj.PrinterSettings = New PrinterSettings()
                  webPj.PrinterSettings.Communication.CommunicationType = CommunicationType.PrinterDriver
                  webPj.PrinterSettings.ProgrammingLanguage = ProgrammingLanguage.ZPL
                  webPj.PrinterSettings.Dpi = 203
                  webPj.PrinterSettings.UseDefaultPrinter = True
    
                'Serialize WebPrintJob and send it back to the client
                'so it can be processed by the TLClientPrint utility
                Response.ContentType = "text/plain"
                Response.Write(webPj.ToString())
                Response.Flush()
                Response.End()
            End If
    
    End Sub
    
    

    For C# code:

    protected void Page_Init(object sender, EventArgs e)
    {
        //is this a request for a WebPrintJob handler?
        if (Request["webPrintJob"] != null)
        {
            //Create a WebPrintJob obj
            WebPrintJob webPj = new WebPrintJob();
    
            //set a ThermalLabel obj
            webPj.ThermalLabel = GenerateBasicThermalLabel();
    
            //Print to the defaul client printer
            webPj.ShowPrintDialog = false;
            webPj.PrinterSettings = new PrinterSettings();
            webPj.PrinterSettings.Communication.CommunicationType = CommunicationType.PrinterDriver;
            webPj.PrinterSettings.ProgrammingLanguage = ProgrammingLanguage.ZPL;
            webPj.PrinterSettings.Dpi = 203;
            webPj.PrinterSettings.UseDefaultPrinter = true;
    
            //Serialize WebPrintJob and send it back to the client
            //so it can be processed by the TLClientPrint utility
            Response.ContentType = "text/plain";
            Response.Write(webPj.ToString());
            Response.Flush();
            Response.End();
        }
    }
    
    

    With that change of the Page_Init event handler, when the user clicks on the “Print Basic Label…” button of the page, the TLClientPrint utility will run and based on the WebPrintJob settings we did, the label should automatically be printed to the client printer without showing any print dialog at all.

If you need further assistance do not hesitate to contact our tech support.