Much improved printer and resize handling.
Add a check for valid printer.