You can do it from your own button, but you can't enforce that on the built-in Print command (Ctrl+P, File - Print, etc.).
What you can do in those instances, though, is show the user an error message (in a pop-up window or even on the page itself), or even reset (or hide) the fields just before the file is printed.