.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Infopath 2007 not printing footer in browser print view

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :SharePoint
I have added a footer to the print view of a browser enabled form and it is not printing when printing the form. The footer is relatively sinmple, however when I click on print view on the browser form and use print preview, I cannot see the footer at all. I have set bottom margins to auto, however I am using an image in my header and therefore have a section at the top of each page where my page top margin is set to 0 and the margins lie within the bounds of the section at .25". The footer that is not displaying in print preview in the form is as follows;"Quote Number: &{/my:myFields/my:sqnumber&} &b&pof&P&b &b &{/my:myFields/my:group28/my:sqdate&}Revision: &{xdFormatting:FormatString("/my:myFields/my:sqquoterevision","number","numDigits:0;negativeOrder:1;")&} &b Prepared For: &{/my:myFields/my:sqclientname&}"The page setup in IE listed page number and url info when using print preview and I have set them to none because my footer is in the form. Please help, this is frustrating!

View Complete Post

More Related Resource Links

Infopath 2007 print view in browser enabled form with Print button


Hi i create a  print view brower enabled form in Infopath 2007 with header and footer. In Infopath works fine. Margin was ok, header and footter to. But then i try to print this browser the margin, header and footer it changes to default setting of browser ? I try also create a print button in form with VS 2008 code, but method :

this.print(); not working.

It is possible to print the "print view" in browser as the same like in Infopath 2007? Does anyone have the code how to create a print button in C# on browser enabled form?

Issue in Infopath 2007 browser form - cascading dropdown using owssvr.dll filter view


Referring the below link, I created a cascading dropdown. The parent dropdown has sharepoint list as datasource and the child dropdown has xml datasource that points to owssvr.dll filter view. The cascading drop down works fine in preview but throws error after publishing as admin approved form - "form cannot run the specified query" exception when trying to execute xml datasource i.e., when a value is selected in parent dropdown. The security is 'Full Trust". In the event viewer the error message states "401 unauthorised" for the user a/c. the xml data source is an approved udcx file and in central admin, have enabled cross domain for infopath service. I have tried different solution provided in tech forums but issue still exists. Not sure whether Im missing something. Can someone guide me in fixing this issue?

Link Reffered:



InfoPath Print View in web based InfoPath forms not printing


Hi All,

I am using InfoPath 2007 web based forms along with SharePoint 2007. I have set print views in all forms with proper formatting. But when I try to print a form, print view is not printed instead current view of infopath is printed. This behavior is happening in InfoPath Web based forms however in InfoPath client based forms I am successfully able to print a form with print view.

Can any body help me how to solve this problem ? 

Q: How to print out background color in InfoPath 2007 browser form under MOSS form service?


Hi InfoPath experts,

I am trying to print out a custom InfoPath 2007 browser form using "Print View" function offered by MOSS Form Service. It seems like the all background color formats has been stripped out when printed out. Interestingly, only font colors are remain the same in printed-out.
Is there a way to fix this issue? I know you can change the settings: http://office.microsoft.com/en-gb/infopath-help/print-background-colors-and-pictures-HP001095710.aspx , but it only applies for InfoPath Client Form, not browser-based Form!

Any help are appreciated!

Infopath browser form - Digital Signature resized in print view



I have an Infopath browser based form that I have a digital sig on.  When the user signs it (Valid Signature - Signed by) the font size is small and is acceptable for use in the form.  Howvever, when I go to "Print View" it resizes to a larger font.  I do not want this as I am trying to fit the form to one page.  I altered the font in the signing section in the Print View in Infopath to no avail.  Looking at the Manifest file, I cannot locate the code where it determines the font size.  Anyone have any ideas?


Deploying InfoPath 2007 form to WSS 3.0 as browser enabled


Please Help! I've created an Infopath form and wanted to deploy the form as browser enabled to WSS 3.0? What are the different options I can do this? If i cannot use a form then i would like to  create a custom list with all the form fields but the user should be able to enter information in the list and he should see only the information related to him. I don't want to give access of the whole list to each and every user. Only the administrator should be able to see the whole list. The form was actually a user access request form.

Any help and suggestions is appreciated.


Cannot view website designed in MOSS 2007 using FireFox browser


Our website www.cradleofhumankind.co.za cannot be viewed properly by those using FireFox browser. it appears that not all the content on the site is downloaded. What can be done about this. The website was designed using MOSS 2007.

Please advise of possible solutions.

Print option in InfoPath 2007 through Code

Hi All,

I am using the Info path 2007 web enabled. My requirements is to provide the Print option.

The Print option from standard tool bar i removed.

I need to print the current view form by using C# code.

I seached in net , i got help for Info Path 2003.I need help for Info path 2007 like PrintOut() in 2003.

Please help or suggest me to solve the requirements.

Provision an InfoPath form template in a content type, with "view in browser" option

Hi all.
I've to provision an InfoPath form template in SharePoint 2010 within a content type, and my form must be open in a browser.
The provision of the .xsn file and of the content type goes well, but my form always open in the client and not in the browser. Instead, if i publish my form from InfoPath 2010 using the "Publish" option and i select to publish my form within a content type, everything goes well. I can see the form in the browser.

Here is my code.


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 <Module Name="OpeningJeans" Url="_cts/MY CONTENT TYPE" RootWebOnly="TRUE">
  <File Path="InfopathModules\MyForm.xsn" Url="MyForm.xsn" />


<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<!-- Parent ContentType: Form (0x010101) -->
 <ContentType ID="0x0101

InfoPath 2007 browser form problem in SPS2010



i've one issue with an InfoPath browser form in SharePoint 2010 struggling with it for 2 days now.

I have an InfoPath 2007 browser form with PeoplePicker controls in it and custom code for XMLChangedEventHandler assigned to the PeoplePicker.

Below this Control i have a repeating table with a simple rule: "If the DisplayName is empty, don't show this section."
So if somebody picks up a user, normally the section should be enabled and visible to the user.

But for some reason this is not happening, but when i save the form and reopen it again, then the section is visible.
Opening the Form in Preview (F5) Filler Mode the section gets also enabled correctly. After uploading via Central Admin meaning in the browser not.

I also tried in the Browser tab setting the "Always" postback option to all relevant fields but still not working.

I also put code into the ChangedEvent Handler, when somebody adds a user with the PeoplePicker, then it puts a comment to a field for testing purposes.
This is also not happening by runtime, instead when i reopen the Form, then i can see the comment.

I increased also the Number of Postbacks in Forms Services in the Central Administration without success.
Can anybody help or had the same problem???

infopath 2007 submit error - in browser


If I load the form in the InfoPath Desktop Client, the form submits just fine.

However, if i load via the web browser i get a "An error occurred while the form was being submitted."

how do i get more info on this error?
   There is nothing in the event viewer.

Email Active View vs. Email Attachment in InfoPath 2007


I'm developing an InfoPath 2007 form that is based on an existing InfoPath 2003 form.  When the form is submitted, the customer wants the email message to display the active view of the form and wants the form attached as well.  However, she wants the attached form to display some different fields than the view (don't ask me why).

My question is, is this possible?  I am not aware that you can separate what is in the active view and what is in the attachment (wouldn't the attachment have to be what is showing in the active view anyway?)  She swears the 2003 version of the form achieved this functionality.  I've tried a couple things (hiding/unhiding fields based on rules, switching views), but the view and the attachment always com out the same.  If anyone has any insight, it would be greatly appreciated.  Thanks.

Users who do not have permissions to access InfoPath 2007 web based form can view the form if someon


I have a SharePoint Form Library with an InfoPath form published to the form as the default template. The form library has several forms in it that have line item permissions. This is supposed to restrict who can view the form. If the user who has had their permissions removed navigates to the form through SharePoint the form does not display (this is expected behavior). However if the user is provided a link to the URL for the form then the can view the InfoPath form.

Here is an example of the link: http://moss.companyname.com/test/_layouts/FormServer.aspx?XmlLocation=/test/InfoPath%20Test/system2009-10-23T12_23_13.xml&Source=http%3A%2F%2Fmoss%2Ecompanyname%2Ecom%2Ftest%2FInfoPath%2520Test%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1

In addition I tried to put the forms into a folder and restirct the permissions on the folder, but the restricted users can still view the form.

When I removed the users permission to the form library then they got an error message.

I also tested this with a SharePoint list item and restricted permissions and this did not allow the user to view the item.


Infopath browser view ignores change event handler

I have several radio buttons. On change, XmlChangedEventHandler  will perform some actions.  It works fine on InfoPath .  But it doesn't work on web browser.  After I click a radio button, nothing changes until I click on an irrrelevant button, all the changes all of a sudden show up.

Contact Selector in infopath (view Email also) sharepoint/infopath 2007


hi ,

first i want to know what is the benifit of contact Selector.

what is the best method to configure this.

and i want to view the Email(WorkEmail) with DisplayName,AccountId,AccountType.



Thanks and Regards Er.Pradipta Nayak

Unable to get AD profile information using InfoPath form in Sharepoint 2007 browser mode


I have followed the threads on this but haven't been able to resolve the issue with any of the suggestions provided.  I need to get the user's first and last name from their profile.  I created an InfoPath form using the "Get current user without writing code" blog directions I ran across here, using the standard userprofileservice.asmx service.  Everything works fine so long as I don't use the SharePoint browser option.  Then I get the error:

An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.

Log ID:5566

I have attacked this from every angle I can think of:

IE, Design checker - OK, SSP account, my account have AD read access, no problems getting to the site collection, as stated before, runs fine if I don't use the browser option

Converted the connection to a udcx stored in the same site as the form library - tried both converted and unconverted connection - same problem, removed the connection altogether, everything works fine (but, of course, no profile info), works under InfoPath using either connection

Set form with Domain trust

Published it to a form library, also tried admin approved with full trust and signed - same problem

Ran locally on SharePoint server and remotely - same problem


InfoPath - How to show multiline text box in print view with entire text i.e. text exceeds more than

I have created an Infopath form with a multiline text box, at times, there is more information entered into the text box, cause a user to scroll. 
That feature is ok but when a user prints the form, only the information displayed on the screen is printed, and not the entire contents of the text box.  How can I print the entire contents of the text box?
also i dont want to create an another view as we have around 100 from and each can be change time to time causing print view need to be changed.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend