HomeClassic_Report How to Download and Print PDF Classic Report in Oracle Apex jABER IT LTDjABER IT LTD -11:14 PM 2 How to Download and Print PDF Classic Report in Oracle Apex Steps On How to Download and Print PDF Classic Report In Oracle Apex. Follow All The SQL Codes And Steps Below Correctly. In Today's Post I Will Discuss Download and Print PDF Report. 1. Create An Classic Report According To Your Needs 2. Goto Page Properties-html Header-paste The Following Code- 123456789101112131415161718192021<script type="text/javascript">function Export() { html2canvas(document.getElementById("PDF"), { onrendered: function(canvas) { var data=canvas.toDataURL(); var docDefinition= { content: [ { image: data, width: 500 } ] } ; pdfMake.createPdf(docDefinition).download("Table.pdf"); } }); } </script> 3. Goto Region Properties- Static ID=PDF 4. Goto Region Properties Header Text- Paste The Following Code- 1<input type="button" id="btnExport" value="Export" onclick="Export()" /><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.22/pdfmake.min.js"></script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.min.js"></script> Then Enjoy............. Facebook Twitter
massallah
ReplyDeleteVery Good
ReplyDelete