How to Print apex region into PDF format in Oracle APEX?

How to Print apex region into PDF format in Oracle APEX? The answer…

Preview People typically want to download region into pdf format from a Classic Report, Interactive Report, or plsql dynamic content and this plugin will not supportable for chart and graph. If you need print preview and also support graph, bar chart than please look latest updated plugin v2.0 .

Step 1. First, create a normal page including region and button, assign a specific ID to region “content”.

Preview Step 2. Define button static id to print_btn and then create dynamic action of click button and paste below jquery. Preview

    $('#print_btn').click(function() {
     var options = {};
     var pdf = new jsPDF('p', 'pt', 'a4');
     pdf.addHTML($("#content"), 15, 15, options, function() {
      pdf.save('Content.pdf');
     });
    });

Demo

You might Like:


comments powered by Disqus