Print Size Too Small

I am trying to create a simple script to print out the contents of the rootContainer for a project, however it always prints too small to fill out a full page (about 75% of the correct scaling). I’ve tried adjusting the margins, orientation, and actual window proportions, but nothing seems to work. There doesn’t appear to be a logical explanation for this behavior, so I assume it is a glitch. I also tried manually setting a zoom factor, but this caused a separate glitch where the image is shifted to the right and the right side is cut off.