Completed
Last Updated: 24 Sep 2026 14:03 by ADMIN
Jeff
Created on: 25 Dec 2020 09:53
Category: PDFViewer
Type: Bug Report
1
PDFViewer print dialog appears with small dimensons for certain PDF documents

I have a screen that I'm manually calling the print functionality of the kendo-pdfviewer from a button click.   It is working, but the problem is that the resulting print dialog window is really small.   Even if I open the print dialog, resize the dialog, and then try to print again it gets reset to the original small size.  This is preventing our users from previewing what the resulting page will print like.   



This is the code for my pdf viewer

 

<div class="row">
    <div class="col">

        <div id="example">

            <kendo-pdfviewer name="pdfviewer" height="300">
                <pdfjs-processing file="@(Url.Page("/Badges/Details", "VisitorBadge", new { BadgeId = @Model.Id }))" />
                <toolbar enabled="false">
                    <pdfviewer-toolbar-items>
                        <pdfviewer-toolbar-item command="PrintCommand" type="button" name="print" icon="print"></pdfviewer-toolbar-item>
                    </pdfviewer-toolbar-items>
                </toolbar>
            </kendo-pdfviewer>
        </div>

        <style>
            html body #pdfviewer {
                width: 100% !important;
            }
        </style>
    </div>
</div>

 

This is the javascript used to open the print dialog
 
    badgereport.onWindowOpen = function () {
        $pdfviewer = $("#pdfviewer").data("kendoPDFViewer");
        $printBadgePdf = $("#printBadgePdf");
        $closeBadgePdf = $("#closeBadgePdf");
        $badgeWindow = $("#badgeWindow").data("kendoWindow");

        $printBadgePdf.on("click", function (e) {
            e.preventDefault();
            $pdfviewer.execute({ command: "PrintCommand" });

        });
        $closeBadgePdf.on("click", function (e) {
            e.preventDefault();
            $badgeWindow.close();
        });

    };
2 comments
ADMIN
Neli
Posted on: 24 Sep 2026 14:03

Hello,

This behavior was originally reported several years ago and has not received significant demand or follow-up from the community since then. This is why we plan to prioritize more impactful and widely requested improvements. 

If this limitation is still affecting your scenario, please share additional context or use cases. This will help us better assess severity and reconsider prioritization in the future. Thank you!

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Misho
Posted on: 25 Dec 2020 09:55

Hi,

Hello,

Thank you for the additional details you've provided. I could confirm the issue is reproducible also in my side with the specific pdf file from your project. I was able to also reproduce it on the Online demos and logged a bug in our public GitHub repository:

https://github.com/telerik/kendo-ui-core/issues/6206 

You could observe its status also from our public feedback portal where other users could also vote for raising its priority:

https://feedback.telerik.com/aspnet-core-ui/1500095-print-dialog-size 

As a small token of gratitude I'm updating your Telerik points.

Thank you for your collaboration.

Regards,
Misho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.