Print browser view in code

G

Guer

Hello,

I have an InfoPath form that is hosted in forms service. I want the user to
print a view of one view but I don't want to show the toolbar with the Print
View button. Can I print the view by code from my own button? By code?

Thanks in advance

Regards Gunilla
 
G

Greg Collins [InfoPath MVP]

In InfoPath 2003 there is a PrintOut() function but it requries your form to be full-trust. Not sure what the IP2007 equivelant is.
 
G

Guer

Hello Greg,

thank for your answer. In IP 2007 the function is named Print but it is only
possible to use it if the form is a not-browser form. I want to print an
print view but do not want to use the build-in toolbar.

Regards Gunilla
 
G

Greg Collins [InfoPath MVP]

Just a random thought here, but can the "browser form" call the browser's print functionality using JavaScript?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top