I'd say that you should wrap them in an IF clause, but if you can't add a parameter or logic, that might not help.
Are the print statements used? If not, I'd comment them out and alter the proc so they don't execute.
AFAIK, there's no way to prevent them if they're in code.