Setting form name for printing as PDF - InfoPath Dev
in

InfoPath Dev

Setting form name for printing as PDF

Last post 08-11-2010 12:29 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-10-2010 09:26 AM

    Setting form name for printing as PDF

    We have some custom print code to print an Infopath form on the user's default printer as well as a server-based PDF printer for loading into a document management system. This is working perfectly, but we would like to control the name of the generated PDF file. The PDF print utility can automatically generate a file name using various parameters such as file name, current date/time, etc. Since we cannot programmatically interface with the PDF print utility, the easiest way to control the name of the generated file would be to set the file name in InfoPath and allow the utility to append a date/time stamp.

    I have tried setting the form caption as described in the forum thread here and setting the Save As file name as described in the forum thread here, but regardless, the PDF print utility still uses the default form name (Form1, Form2, etc.). Is there another way to set the form name in code?

    Thanks in advance for your help!
  • 08-11-2010 12:29 AM In reply to

    Re: Setting form name for printing as PDF

    To be honest, I would like to know the answer to your question as well but I want a codeless solution. Using code, anything is possible. We set the form name today on load and that actually maps through to the PDF utility that we use. I'm thinking we need to add some rule to our qRules library that just sets the form name. Send me a private email if you are interested in beta testing that.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.