Escape Character for

2 posts, 0 answers
  1. Joel
    Joel avatar
    1 posts
    Member since:
    Aug 2014

    Posted 01 Aug 2014 Link to this post


    We are trying to create a report that contains a PCL escape sequence for a HP printer to read and then generate a 2D barcode using the Barcodejet software installed on the printer.


    Is it possible to insert the PCL escape sequence into a Telerik report and if so what is the escape character that should be used to represent the start of the escape sequence?

    Thanks in advance

  2. Nasko
    Nasko avatar
    944 posts

    Posted 06 Aug 2014 Link to this post

    Hello Joel,

    Expressions in Telerik Reporting are evaluated by the Reporting engine in the report processing stage and then the report with all of its items is rendered to a specific format (Image, PDF, XPS, etc.). This means that the text in the described escape sequence will not be passed directly to the printer. Thus, it is not possible to pass an escape sequence to your device from a Telerik Reporting report.
    You need to pass a value to the Barcode.Value property which will then be converted internally to an image and this image is then passed to the printer. However, the Barcode item currently does not support 2D barcodes. We are planning to introduce the QR code and PDF417 barcode types for the next official release of the Reporting suite.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top