InfoPath Formatting Nightmare! - InfoPath Dev
in

InfoPath Dev

InfoPath Formatting Nightmare!

Last post 07-29-2009 09:26 AM by dipeshgoel. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 06-04-2009 12:07 PM

    InfoPath Formatting Nightmare!

    I am having issues with formatting on documents exported from InfoPath forms.

    What I am doing is using the "this.CurrentView.Export" function to try and export the results of the InfoPath form to PDF. No matter what settings I modify on the view that holds the information to be exported I get these unworkable PDF documents that contain pages that are 11.5 x 10.5 inches.

    How can I get this output to fit properly on a standard page?

  • 06-04-2009 01:26 PM In reply to

    Re: InfoPath Formatting Nightmare!

    Here is some more data that may help you understand the situation better.

    Here is a link to a screenshot of the design view of the form:

     http://www.mediafire.com/imageview.php?quickkey=mkozlmymmt5&thumb=6

    Here is a link to a screenshot of the code that is associated with the Submit button on the form:

    http://www.mediafire.com/imageview.php?quickkey=jzguvedamnn&thumb=6

    Here is a link to the PDF file that is created by the code. Note the non-standard size and page formatting:

    http://www.mediafire.com/?3daznmmmnqy

  • 07-23-2009 01:55 AM In reply to

    Re: InfoPath Formatting Nightmare!

    Hi all....I am new to infopath. When i export infopath form having image to pdf, the image in pdf is with bigger font and because of this i am loosing part ot the image. Please help me....I have been searching in net for 2 days. I am dieing because of this... :(....please help me....

  • 07-29-2009 09:26 AM In reply to

    Re: InfoPath Formatting Nightmare!

    @gvrramana58 - I'm not sure why the image in increasing in font size, it should remain the same size since it's an image. However, you may try increasing the Margins for the view you are trying to output into PDF. If you use the "View" option in the toolbar and select the "View Properties" option, a window will appear. On this window, select the "Page Setup" tab. The last portion in this tab deals with margins. You may try reducing the left and/or right margins slightly to help you get your entire image to display in your PDF output.

    @RRaseley - I'm not sure if this will fix your problem, but there is a Microsoft hotfix (959638) for InfoPath that was released in December 2008 that deals with the width and height settings for a XPS/PDF output. http://support.microsoft.com/kb/959638
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.