Barcode compatible with PDF Export?

3 posts, 1 answers
  1. Joe
    Joe avatar
    69 posts
    Member since:
    Dec 2007

    Posted 10 Aug 2018 Link to this post


    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.


  2. Answer
    Eyup avatar
    3962 posts

    Posted 14 Aug 2018 Link to this post

    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:

    You can check the implementation demonstrated in the following sample, more specifically the kendo.drawing.exportPDF() and kendo.saveAs() methods:

    Some widgets provide exporting functionality built-in:

    I've prepared a live dojo sample which demonstrate how you can export Kendo barcode widget to PDF:

    In addition, here is an article which shows how you can directly print the barcode element:

    And this is the corresponding dojo sample:

    I hope this will prove helpful.

    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.
  3. Joe
    Joe avatar
    69 posts
    Member since:
    Dec 2007

    Posted 14 Aug 2018 in reply to Eyup Link to this post

    Works great. Thanks Eyup!
Back to Top