If you look at the documentation/help for PrintOut, you see that it is a "security level 3" method. That means that your form needs to be 'full trust' to use it.
Set your form to be full trust (Tools | Form Options | Security). This will require you to sign your form, register your form, or create an MSI to install it. You should be able to find information about each of these options in these forums.