Print always defaults to Letter size

Stimulsoft Reports.JS discussion
Post Reply
mauser1898
Posts: 1
Joined: Fri Sep 06, 2024 5:20 am

Print always defaults to Letter size

Post by mauser1898 »

Hi,
I'm using Stimulreport designer for JS v2024.2.5
I have set Paper Size to Legal
Screenshot 2024-09-05 232321.png
Screenshot 2024-09-05 232321.png (14.88 KiB) Viewed 1172 times

In the .mrt file:

Code: Select all

      "PaperSize": "Legal",
      "Orientation": "Landscape",
      "PageWidth": 35.61,
      "PageHeight": 21.59,
      "Watermark": {
        "TextBrush": "solid:50,0,0,0"
      },
      "Margins": {
        "Left": 0.5,
        "Right": 0.5,
        "Top": 0.5,
        "Bottom": 0.5
      }
The margin seems to be working in the print, but Chrome or Firefox always default the paper size to Letter.

I have checked the report object in page inspection, report.pages.list[0]._paperSize is set to 5 (assuming for legal, as letter reports are set to 1); the object doesn't have a paperSize property.

So my question is how do I let the print dialog default the paper size to what's set in the report?

Thanks!
Lech Kulikowski
Posts: 7333
Joined: Tue Mar 20, 2018 5:34 am

Re: Print always defaults to Letter size

Post by Lech Kulikowski »

Hello,

We require more time to investigate the issue thoroughly. Rest assured, we will keep you informed about the outcome as soon as possible.

Thank you.
Post Reply