The way it looks in print
"autoPageOrientation " is not available in the js version
code
At design time, the print direction is Portrait, but the actual direction is Landscape
-
lyn182059724
- Posts: 4
- Joined: Thu Oct 26, 2023 8:42 am
-
Lech Kulikowski
- Posts: 7532
- Joined: Tue Mar 20, 2018 5:34 am
Re: At design time, the print direction is Portrait, but the actual direction is Landscape
Hello,
In the web versions, it is not possible to provide any settings in the print dialog menu, browsers security limitations.
Thank you.
In the web versions, it is not possible to provide any settings in the print dialog menu, browsers security limitations.
Thank you.
-
lyn182059724
- Posts: 4
- Joined: Thu Oct 26, 2023 8:42 am
Re: At design time, the print direction is Portrait, but the actual direction is Landscape
Is there a way to solve this problem, turn off automatic direction change, or solve it in code
-
lyn182059724
- Posts: 4
- Joined: Thu Oct 26, 2023 8:42 am
Re: At design time, the print direction is Portrait, but the actual direction is Landscape
The print driver set is portrait, but when printing, 'stimulsoft' forced the driver set to landscape
-
Lech Kulikowski
- Posts: 7532
- Joined: Tue Mar 20, 2018 5:34 am
Re: At design time, the print direction is Portrait, but the actual direction is Landscape
Hello,
There is no explicit option to change page size and orientation in the print menu in the browser. But we set these parameters in the report styles. And sometimes Chrome understands them.
In this case, we can see from the first screen that you have set the page parameters incorrectly: the orientation is Portrait, and the dimensions are from Landscape. And most likely Chrome sees the Portrait orientation and tries to rotate it to place it correctly on the label.
Try to set the template page to the correct dimensions: orientation Landscape, dimensions PageWidth=7 PageHeight=10.
Thank you.
There is no explicit option to change page size and orientation in the print menu in the browser. But we set these parameters in the report styles. And sometimes Chrome understands them.
In this case, we can see from the first screen that you have set the page parameters incorrectly: the orientation is Portrait, and the dimensions are from Landscape. And most likely Chrome sees the Portrait orientation and tries to rotate it to place it correctly on the label.
Try to set the template page to the correct dimensions: orientation Landscape, dimensions PageWidth=7 PageHeight=10.
Thank you.