Page 1 of 1

[ANGULAR] Print Scheduler - View Span

Posted: Thu Sep 22, 2022 2:41 pm
by tomerPlanit

Hi,
I use scheduler 5.1.3 version with angular 13.
I am trying to print the scheduler by use "window.print()" command.
It works fine if pc scale is 100%:

Screenshot 2022-09-22 153356.png
Screenshot 2022-09-22 153356.png (68.02 KiB) Viewed 343 times
Screenshot 2022-09-22 153439.png
Screenshot 2022-09-22 153439.png (29.77 KiB) Viewed 343 times

But if pc scale is not 100% the view span in print window is not the same as in the view:

Screenshot 2022-09-22 153634.png
Screenshot 2022-09-22 153634.png (62.74 KiB) Viewed 343 times

In some laptops the recommended and the default scale is not 100%


Re: [ANGULAR] Print Scheduler - View Span

Posted: Thu Sep 22, 2022 2:46 pm
by tomerPlanit

Example that I debug on


Re: [ANGULAR] Print Scheduler - View Span

Posted: Thu Sep 22, 2022 4:47 pm
by alex.l

window.print is a native API method that we cannot debug and see what it actually do and if we can do something with that.
If no errors in console, I don't see any points how and what can we do to "fix" that, unfortunately, as well as see what's the actual problem - our code or some bugs with printing scaled SVG objects in window.print.


Re: [ANGULAR] Print Scheduler - View Span

Posted: Sun Sep 25, 2022 9:11 am
by tomerPlanit

Ok so what is the best solution for print the scheduler without show any configurations to the user(the configurations must to by the view as the user is seeing now)


Re: [ANGULAR] Print Scheduler - View Span

Posted: Mon Sep 26, 2022 3:05 pm
by saki

We have PDF Export demo (also an Angular version of it) that you could probably use to get the PDF and then print that.