Solved

Add Print button to Sharepoint NewForm

Posted on 2010-08-31
3
1,593 Views
Last Modified: 2015-12-08
We need a NewForm.aspx to be printable - preferably by adding a Print button to the form.  I dont see a Form Action for printing - any suggestions on how to accomplish this?

Thanks for your time.
0
Comment
Question by:TEEDA
3 Comments
 
LVL 21

Accepted Solution

by:
chapmanjw earned 500 total points
ID: 33569467
You could edit the NewForm.aspx page (in SharePoint Designer) and add a JavaScript print button.  This button would simply execute window.print(), here are some samples of using the JS function: http://www.javascriptkit.com/howto/newtech2.shtml
0
 
LVL 4

Author Closing Comment

by:TEEDA
ID: 33569505
That is perfect!  Many thanks for your time.
0
 

Expert Comment

by:viswanathuppu
ID: 41361104
Hi TEEDA,

I have tried this solution window.print(); on button click in javascript. The problem is it is printing the form with content in Chrome, and in IE it is printing blank page with header and footer.

The form is designed in infopath.

Please give me your thoughts on this.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question