Skip to main content
Question

How to export multi pages PDF (JavaScript)


Yevhenii Kravchenko

Hi! I’d like to ask how to implement multi-page PDF export in JavaScript.

I'm building a custom plugin to integrate with a DAM portal. I’ve already implemented PDF export for a single selected slide, and that works fine. However, I’m struggling to figure out how to implement functionality similar to Figma’s native PDF export — specifically the option where each selected frame (slide) is exported as a separate page in a single PDF.

I can’t rely on third-party plugins and want to build this logic myself. I’d really appreciate any ideas or pointers on how to structure the code so that each slide is added as a separate page in the resulting PDF.

Thanks in advance!

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings