This is a migrated thread and some comments may be shown as answers.

Escape Character for

1 Answer 225 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 1
Joel asked on 01 Aug 2014, 10:19 AM
Hello

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.

<esc>27(s0p0v20,0b24830TBARCODE.<esc>

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

Joel

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 06 Aug 2014, 06:27 AM
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.

Regards,
Nasko
Telerik
 

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.

 
Tags
Report Designer (standalone)
Asked by
Joel
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or