dont display file input when printing

closes #2464
Merge pull request #3717 from mark-5/master

dont display file input when printing