Getting print of Exported PDF is not working

4 posts, 0 answers
  1. Varinder
    Varinder avatar
    5 posts
    Member since:
    Apr 2020

    Posted 13 Aug 2020 Link to this post

    Hi Team,

    We are facing issue with exported PDF.

    We are not able to get print out from the exported PDF file.

    When we try to get print out then only small portion from the pdf is printed on single page.

    Please help us how we can take print out from exported PDF.

    Thanks!

  2. Aleksandar
    Admin
    Aleksandar avatar
    267 posts

    Posted 17 Aug 2020 Link to this post

    Hello Varinder,

    Are you experiencing issues with exporting to PDF or printing the already exported PDF file? 

    If the issue is related to exporting the PDF file can you provide additional details? Can you modify this sample so the issue is reproduced?

    If the issue is related to the printing of the already exported PDF file, note that when exporting to PDF, the document size might be larder than the default A4 paper size, if that is the target paper size. To fit the whole exported document you can set the scale of the printer to the printable area or the page size, depending on your preferences.

    Regards,
    Aleksandar
    Progress Telerik

  3. Varinder
    Varinder avatar
    5 posts
    Member since:
    Apr 2020

    Posted 18 Aug 2020 in reply to Aleksandar Link to this post

    Hi Aleksandar

    Please tell me where I have to define document paper size while exporting to PDF.

    Please share some piece of code.

    Thanks!

  4. Aleksandar
    Admin
    Aleksandar avatar
    267 posts

    Posted 19 Aug 2020 Link to this post

    Hi Varinder,

    The Scheduler API provides a pdf configuration option that allows you to set the paperSize.

    <div id="scheduler"></div>
    <script>
    $("#scheduler").kendoScheduler({
      toolbar: ["pdf"],
      pdf: {
        paperSize: "A4"
      },
      date: new Date("2013/6/6"),
      dataSource: [
        {
          id: 1,
          start: new Date("2013/6/6 08:00 AM"),
          end: new Date("2013/6/6 09:00 AM"),
          title: "Interview"
        }
      ]
    });
    </script>

    Regards,
    Aleksandar
    Progress Telerik

Back to Top