As someone who is new to javascript, I recently created a canvas function that allows me to successfully print. However, I am encountering an issue with printing large canvas areas. When I navigate to the further regions of the canvas and try to print, it only prints up to a certain point and ignores the rest. I attempted to create a printCanvas function that mirrors the parameters of the canvas, but it only ends up printing the vertical part rather than the horizontal part. My main question now is: how can I ensure that the entire canvas gets printed without any cutoffs?