Solved

Add Print button to Sharepoint NewForm

Posted on 2010-08-31
3
1,605 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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