On several of my sites I have deployed some InfoPath Forms that have some custom code therein so they will save to their own libraries instead of to a form-submission library.
My problem is that when the user tries to print the forms only half of them will print. Everything shows fine in InfoPath's Print Preview mode, but then it doesn't show in Firefox's print preview.
I do not have a code-signing certificate and am afraid to re-deploy the forms again since folks are filling them in at the moment; but I still have to print them in entirety.
Is there some way to fix this? Maybe I can override some css in the master page or something?
I tried putting this in my master page's css, but I'm not sure it's the right thing, and it doesn't seem to overwrite the original(in corev4.css
) anyway:
@media print {
.ms-globallinks, .ms-siteaction, .ms-areaseparatorcorner, .ms-titlearealeft, .ms-searchform, .ms-banner, .ms-buttonheightwidth, .ms-areaseparatorright, .ms-titlearearight, .ms-rightareacell, .ms-leftareacell, .ms-areaseparatorleft {
display: auto!important;
}
[update]
So I captured the form page using Firefox's Scrapbook and removed all the script so it would not be interfering. Now it's just html and css, but I can still only print half the form! Something is still hiding half the form from printing.
[update]
So I can't use javascript to fix this because js doesn't run in the infopath form when it displays in the browser.