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

Barcode compatible with PDF Export?

2 Answers 216 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 2
Joe asked on 10 Aug 2018, 03:59 PM

Hi,

My question is not specific to jQuery but to Kendo UI Barcode and PDF Export in general. 

If I have an HTML page that contains some text and a Kendo UI Barcode (svg), will PDF Export correctly render the barcode?

Also, if I were to generate an HTML page with text, barcode, tables, etc... kind of like a big long report or reciept, will PDF Export automatically resize the content and add page breaks for me? For example, if you try to print this page using Acrobat it automatically adjusts the HTML to fit the paper size and automatically adds page breaks.

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 14 Aug 2018, 12:13 PM
Hi Joe,

The Kendo toolset provides the Drawing framework which is a powerful tool to help in such tasks and provides rich customization capability depending on your exporting preferences:
https://demos.telerik.com/kendo-ui/drawing/index

You can check the implementation demonstrated in the following sample, more specifically the kendo.drawing.exportPDF() and kendo.saveAs() methods:
https://demos.telerik.com/kendo-ui/pdf-export/index

Some widgets provide exporting functionality built-in:
https://demos.telerik.com/kendo-ui/grid/pdf-export

I've prepared a live dojo sample which demonstrate how you can export Kendo barcode widget to PDF:
https://dojo.telerik.com/OrAHeTIn/2

In addition, here is an article which shows how you can directly print the barcode element:
https://docs.telerik.com/kendo-ui/knowledge-base/barcode-how-to-print-the-barcode

And this is the corresponding dojo sample:
https://dojo.telerik.com/aDuyUsaC

I hope this will prove helpful.

Regards,
Eyup
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Joe
Top achievements
Rank 2
answered on 14 Aug 2018, 12:37 PM
Works great. Thanks Eyup!
Tags
Barcode
Asked by
Joe
Top achievements
Rank 2
Answers by
Eyup
Telerik team
Joe
Top achievements
Rank 2
Share this question
or