Choosing Print from your browser's File menu will always produce strange results. That option is really for printing exactly what you see, it varies dramatically between browsers, and often includes scrollbars etc.
To print your script correctly, choose "Print..." from the top YouMeScript menu, not your browser's menu.