Under Review
Last Updated: 24 Feb 2026 07:37 by ADMIN
Andrew
Created on: 17 Feb 2026 09:19
Category: Reporting
Type: Bug Report
0
Wide Edge leading print media prints in wrong orientation

When using A4 paper or narrow-edge leading media the Web Viewer prints everything perfectly.

When using a 60mm x 30mm label, therefore "wide-edge" leading media, the web viewer prints the label in landscape, even though the print is in portrait!

Just because the media is "landscape" surely it is the print on the media that determines the orientation?

When using the Windows System Print Dialogue this does not occur, on the using the print from the Web Viewer. This is because the Web Viewer converts it to PDF first to print (I believe). Surely, in the code you can state NOT to rotate, OR rotate it back to the correct orientation for wide edge leading media.

The label design is portrait so all the "print / pdf" code needs to do is to query this and not assume that wide edge leading media automatically prints in landscape.

1 comment
ADMIN
Todor
Posted on: 24 Feb 2026 07:37

Hello Andrew,

Thank you for your input.

As already explained in the support ticket you have opened on the issue, the web viewer doesn't print the report due to browser restrictions. I will summarize the information I shared with you here, so it is publicly available to our users.

Upon triggering the Print functionality of the Web Report Viewer, the latter requests the PDF document from the Reporting REST Service and invokes the Printing functionality of the browser's PDF plugin. Here is the code we add to the PDF Device Information Settings when generating the PDF document for printing:

deviceInfo["JavaScript"] = "this.print({bUI: true, bSilent: false, bShrinkToFit: true});";

And the meaning of the options:

bUI: true

Shows the Print dialog UI. The user will see the standard print dialog and can pick the printer, pages, copies, etc.

bSilent: false

Do not print silently. In other words, it requires user interaction (consistent with bUI: true). Silent printing (true) attempts to send the job directly to the default printer without prompts (but is usually restricted by Acrobat’s security settings and generally not allowed from untrusted scripts or in Reader).

bShrinkToFit: true

If the page content is larger than the printer’s printable area, scale down to fit so it doesn’t get clipped. If the content is smaller, it won’t scale up—this only shrinks oversized pages.

We will consider your request and check whether there is a setting we may apply to ensure the printed pages are not rotated on "wide-edge" leading media.

    Regards,
    Todor
    Progress Telerik

    Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.