Merge pull request #2638 from gofman/fixprintsettings