none
How to print on Thermal Printer in Windows Forms?

    Question

  • Dear All

    If anybody know about how to print using .Net (Winforms) and Crystal Report

    on Thermal Printer, please reply

    Thanks in advance.


    Shyam.

    Wednesday, April 25, 2012 9:13 AM

All replies

  • Hi Shyam Vaidya,

      Here are two code samples about Using Crystal Report and these code samples are  all integrated with Windows Form.

      Crystal Report Basics and Integration with DataSet 

      http://www.codeproject.com/Articles/18332/Crystal-Report-Basics-and-Integration-with-DataSet

      How to use Crystal Reports in your project

      http://www.codeproject.com/Articles/10948/How-to-use-Crystal-Report-in-your-project

      Sincerely,

      Jason Wang


    Jason Wang [MSFT]
    MSDN Community Support | Feedback to us

    Thursday, April 26, 2012 4:37 AM
  • Hi Jason 

    Thanks for your reply

    But what I looking for is print on "Thermal Printers" using Crystal Report.

    One of our client using Thermal Printer for printing Bar code and Labels.For that I want to check which printing method is suitable for printing on thermal printer.

    I know the basic of Crystal reports,but I want to know that whether Crystal Report will support printing on Thermal printer or we need

    any coding for sending commands to printer like DOT Matrix printer using Windows API?

    Thanks once again.


    Shyam.

    Monday, April 30, 2012 9:25 AM
  • What you need to do is to send the printer commands (in the language that your Thermal printer supports e.g. ZPL, EPL, IPL, DPL, etc) by following this MSKB http://support.microsoft.com/kb/322091/en-us

    Crystal Reports is not designed for dealing with those kind of printers.

    PS: if your printer supports ZPL or EPL (i.e. Zebra printers) and you do not want to learn those printer languages, then we can help you on that with ThermalLabel SDK for .NET

    Wednesday, September 19, 2012 5:44 PM
  • Hey Shyam Vaidya,

    Im not sure if you have resolved this already or if this will help you. I ran into the same problem where I can not print properly to the thermal printers using crystal reports applications, so I had to export the report to adobe and then print to the thermal printer from there. Today I got mine to work. Before running the report, for some reason I have to set the thermal printer as the default printer, then run the report and select print. After I select print I resize the prefrences to the stock I am using. I also had to play around with the portrait/ landscape setting to get it to work right. Im not sure if this will help or not.


    • Edited by Edelacruz90 Friday, December 14, 2012 4:45 PM
    Friday, December 14, 2012 4:44 PM