Printing an infopath form - InfoPath Dev
in

InfoPath Dev

Printing an infopath form

Last post 03-14-2007 01:18 AM by Kalyan Gaddam. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-13-2007 04:04 AM

    Printing an infopath form

    Hello All,

    I have a button on my InfoPath form on the click of which i want that, a prompt appears which prints the infopath form. Just like u go to File-> Print for any application. Is that possible ? Please help :)

    Regards,
    Anandhi
  • 03-13-2007 04:47 AM In reply to

    Re: Printing an infopath form

    You can use code within the onclick event of your button.
    thisXDocument.PrintOut() should do the trick (C# code).

    for scripting i guess it something like XDocuemnt.PrintOut();
    Keep in mind if i remember correctly you have to set your from to FullTrust when using the PrintOut method, hmm or was it the SaveAs method. Just give it a try.
    Listen to Motörhead cos they play Rock'n Roll :)
  • 03-14-2007 01:18 AM In reply to

    Re: Printing an infopath form

    Hello Anandhi

    Please read the links below
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=3969
    http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1491

    Hope it helps you.
    Kalyan G Reddy
    Infopath MVP 2007 and 2008
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.