Merge "Make sure PrintAttributes have sane values." into nyc-dev