Ruby code to print multiple copies of the current view (in Landscape)?

It’s SketchUp 8.0.16846.

Thank you for the PNG function. I guess if I have an image saved to the hard-drive, I could write the “auto printer” in just about anything (and have ruby call it somehow), but I may do the SendKeys thing that you linked to. It seems like it might be less code to write. Thanks again for that.