Print a form from a button - InfoPath Dev
in

InfoPath Dev

Print a form from a button

Last post 04-01-2015 12:16 AM by Jedzbatz. 20 replies.
Page 2 of 2 (21 items) < Previous 1 2
Sort Posts: Previous Next
  • 08-09-2010 11:07 PM In reply to

    Re: Print a form from a button

    Hi, I am extremly new about infoPath and i use InfoPath2010 now. I try to make a print button on my form, but ı don t know how can ı write codes of my button and where? And in my InfoPath i cant use code editor? how can i fix that?And could you tell me please how can ı add a new Rule, step by step. All articals are about infoPath 2003 or 2007, but 20010 has a different design and i could n t find anything which i searched. Could you help me Please. thank you
  • 01-26-2011 11:33 AM In reply to

    Re: Print a form from a button

     I'm using InfoPath 2007 with MOSS 2007 however I'm not designing it to be opened in a browser yet so if you are, I'm not certain if this method to create a print button would still work.  Also am using C#:

     

    1.       In the button properties, click “Edit Form Code” button.  In event handler method for your print button click event, add this code:

               this.print();

          2.       In Form Options menu from Tools menu, under Category select Security and Trust. 

                    Under Security Level, check Full Trust (may need to uncheck “Automatically determine security level” first).

                    In Form Template Signature, click Create Certificate

                   

     

  • 02-09-2011 08:55 PM In reply to

    Re: Print a form from a button

     Hi folks..

     

    I try this: this.print() and it underlines "this" and says it is not declared... furthermore it wont let me publish my form unless I remove that bit of code.

     

    I'm using IP2010 and coding in VB

     

    Anyone know what i am doing wrong?

  • 02-10-2011 12:30 AM In reply to

    Re: Print a form from a button

    hi, I already reply your other post but I just learn you use Vb so try to replace this for Me.
  • 03-28-2012 12:01 PM In reply to

    • NWFTC
    • Not Ranked
    • Joined on 02-15-2012
    • Posts 19

    Re: Print a form from a button

    HI Hilary

    i have read the post on useing a print button but i don't know how to add code behind the button. is this somthing you can show me?

  • 04-01-2015 12:16 AM In reply to

    Re: Print a form from a button

    Dear Guys, It seems that i am the beginner of this blog and i don't have any idea when i am going to start question regarding my problem and i found out there is a reply button here so i supposed to click and post my issue. My issue is regarding print button from the info path, i tried many times to get rules but it doesn't work, web part into share point itself isn't, i supposed to set the the full trust from FORM OPTION but i didn't found , and i follow all the thread from different website but isn't enough too, so i decided to ask personally to resolve my problem, i can't able to get print button. anyone there a good heart to help me to resolve my issue in step by step? Many thanks, Eduard
Page 2 of 2 (21 items) < Previous 1 2
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.