// On CSS file, list all that you don't want to print @media print { #print-navbar { display: none; } #print-sidenav { display: none; } #print-invoice-heading { display: none; } #print-invoice-print-button { display: none; } #print-invoice-submit-button { display: none; } } // This should be called on the print button <script> $(document).ready(function() { $('.print-window').click(function() { window.print(); }); }); </script>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter