Premium support for our pure JavaScript UI components


Post 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 180 times
Screenshot 2022-09-22 153439.png
Screenshot 2022-09-22 153439.png (29.77 KiB) Viewed 180 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 180 times

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


Post by tomerPlanit »

Example that I debug on

Attachments
basic.rar
(267.42 KiB) Downloaded 25 times

Post 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.

All the best,
Alex


Post 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)


Post 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.


Post Reply