Add Print button in InfoPath form to print the form? RRS feed

  • Question

  • I know there is already standard print button in infopath but i still need to add a button and clicking on a button needs to print the form. Googling for a while i only found couple of suggestions but none of them work at all. My form has full trust security setting and will be deployed by administrator. I tried using this.Print(), XDocument.Print(), this.PrintOut(), thisxdocument.PrintOut() etc..but none of them worked. Everytime i get his error "....does not contain definiton for Print". 

    Could any one suggest how i can achieve this?



    Friday, July 8, 2011 1:51 PM