Print button for predefined file - InfoPath Dev
in

InfoPath Dev

Print button for predefined file

Last post 02-22-2012 08:07 AM by ldkud50. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-11-2012 10:13 AM

    Print button for predefined file

    I want to create a button in an InfoPath 2010 client form that when pushed it will automatically print a predefined pdf or doc etc. I want to avoid the document from opening then having to hit print. Can this be done? Currently my button uses this code System.Diagnostics.Process.Start (url) to open the document (pdf) stored in a SharePoint document library. It would be nice to avoid the document from opening and just print it.
  • 02-16-2012 12:33 PM In reply to

    Re: Print button for predefined file

    Hi Ldkud50,

    You can export InfoPath forms to PDF easily using custom code. Your InfoPath form tempalte needs to have security set to full trust to do this and to automate printing. 

    For PDF documents on SharePoint, I suggest creating a custom workflow or installing a third party app (for example, Muhimbi's) that will print from the server.

    Best of luck!

    Patrick Halstead
    Project Manager at Qdabra
  • 02-17-2012 02:05 AM In reply to

    Re: Print button for predefined file

    >> I suggest creating a custom workflow or installing a third party app (for example, Muhimbi's)

    Which can be found here. :-)

    Also see this, and this, InfoPath related post.

    Filed under: ,
  • 02-22-2012 08:07 AM In reply to

    Re: Print button for predefined file

    What I want is not to export the the infopath form. I want to click a button and a document prints out that I have defined.
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.