Printing infopath forms - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Printing infopath forms

Last post 09-24-2009 11:56 PM by Qazi Anis. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-22-2009 07:25 AM

    Printing infopath forms

    I need to select few items from my custom list (Grid View) and look for the corresponding infopath form in the list and print them. I should also be able to print any attachment if any. Is it possible?

  • 09-23-2009 01:27 AM In reply to

    Re: Printing infopath forms

    this is possible, you will need to code for that. something similar to below

    this is for printing

    Microsoft.Office.Interop.InfoPath.Application moipApp = null;
        moipApp = new Microsoft.Office.Interop.InfoPath.Application();
        XDocument docume = moipApp.XDocuments.Open(arguments);
        docume.PrintOut();

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 09-24-2009 12:48 PM In reply to

    Re: Printing infopath forms

    Thanks for the reply. I would like to print bulk of forms and I would not want the user to see the forms as it is getting printed.

  • 09-24-2009 11:56 PM In reply to

    Re: Printing infopath forms

    well try a little bit of tweaking on it. in XDocuments.open() there will be an argument to open it in background mode

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.