Download Bar Chart as PDF Using JAVASCRIPT

Dear Plotly Family,

Currently I have plotly Bar chart developed using Java script. In this I want to export my plotted bar charts(It has multiple pages) as a single PDF format.

If any one having existing code with working please share me.

Thanks In Advance.