Print.print optimization. Closes #1760