infopath 2007 page margin problem - InfoPath Dev
in

InfoPath Dev

infopath 2007 page margin problem

Last post 08-04-2010 03:27 AM by imransulehri. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-03-2010 08:47 AM

    infopath 2007 page margin problem

    Hello, Do please give suggestions to this post in earliest possibility for i have project deadline in few days Here is my situation i have infopath form 2007 deployed on server.Client access the form from this server. Client needs to have infopath installed on his local machine,so the form is not webbrowser form. I also want to give the user possibility to change the page margins via configuration tool. This tool takes the page margins and then make changes in infopath manifest file. infact exactly the way described here http://blogs.msdn.com/b/infopath/archive/2004/03/18/92383.aspx?wa=wsignin1.0 In my form i wanted to allow mutiple view to print. I really cant understand the page setup options Print Multiple View. It says that it takes parameter as cm but infact it behaves strange e.g if i want top margin=4 bottom margin= 4 left margin=2 and right margin=2 it fails and infact even didnt allow infopath to open the form. Infact i want to have functionality same as offered by infopath Page Setup. My problem is that i cant allow user to allow to print by itself so in form settings i have to uncheck the print option given to user also i want that user can only change via my configuration tool. Quick pointers in this direction are highly appreciated Thanks Imran Khalid
    Filed under:
  • 08-03-2010 09:06 AM In reply to

    Re: infopath 2007 page margin problem

     hi imransulehri, do you try to change : marginUnitsType="in"  by  marginUnitsType="cm" ?

  • 08-04-2010 12:20 AM In reply to

    Re: infopath 2007 page margin problem

    Hello Potemkine, Thanks for replying.Infact i am doing with "cm" already.Infact it was working untill i opted to allow multiView print by selecting "Print Multiple Views". Under printer settings the page margin selection is strange it says i can enter in cm(accpeting values between 0-100) but i can enter betweek 1-2 if i enter other values it then even didnt allow the infopath form to open(By the way i am using VS2008 to develop infopath templates). if i run the project and open the infopath form Under File->page setup i can enter the page margins and it really works good. I want to have same functionality,but i do want it programatically through config tool. Any other suggestions do please share with me. Thanks Imran
  • 08-04-2010 03:27 AM In reply to

    Re: infopath 2007 page margin problem

    Hello, I have figured it out here was the solution: All i had to do was to make changes at this place printSettings copies="1" collate="yes" topMargin="10" leftMargin="2" bottomMargin="10" rightMargin="2" marginUnitsType="cm" in manifest.xsf file. if i try to do make changes in VS(Print Multiple Views->Print settings) it didnt allow and infact takes the parameters in strange way which i didn't understand. Anyhow now it works. I posted the answer so that if some one had same problem might it is helpful Thanks Imran
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.