Barcode compatible with PDF Export?

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

    Posted 10 Aug Link to this post

    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. Answer
    Eyup
    Admin
    Eyup avatar
    3535 posts

    Posted 14 Aug 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:
    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.
  3. Joe
    Joe avatar
    67 posts
    Member since:
    Dec 2007

    Posted 14 Aug in reply to Eyup Link to this post

    Works great. Thanks Eyup!
Back to Top