My University group is presently building a leave system. I am tasked with the print functionality of the application to print a leave form. My present code is below in the View. The problem I have is that it works, but is basically screen grabs the page and shows the print button when the page is printed. How do I print selected items? I don't want the button the show, and would the company logo to reflect if possible. thanks
<p>
<input type="button" value="Print Document" onclick="window.print()" class="btn btn-primary" />
</p>