Page 1 of 1

Split PDF Files in main.js

Posted: Thu Dec 16, 2021 4:53 pm
by congomonster
Hi,

i'm just trying out the "new" way to code with NodeJS. Is there a way to split a pdf file in Javascript? The documentation gives me a PDF Class:
http://www.enfocus.com/manuals/Develope ... class.html

And i was able to build a little flow which outputs the filename and the pagenumber of the pdf-file to the messages website. Now i was wondering how can i split them in seperate files. For example the pdf has 12 sites then i would split 1, 2, 11, 12 in a seperate file. How can i achieve that?

Re: Split PDF Files in main.js

Posted: Tue Dec 21, 2021 11:28 am
by freddyp
Have you tried https://www.enfocus.com/en/appstore/pro ... -pdf-pages?

If your use case is not covered, give more details about how the file should be split and preferably also provide a sample file.

Re: Split PDF Files in main.js

Posted: Fri Dec 24, 2021 9:37 am
by tdeschampsBluewest
Hi Congomonster,
We are actually developping and beta-testing with some of our customer an app for this purpose. Stay tuned in early january!

Re: Split PDF Files in main.js

Posted: Fri Dec 24, 2021 12:28 pm
by jan_suhr
There is an app for that
https://www.enfocus.com/en/appstore/product/uncover-pdf

It will just do what you want. It will require PDF Toolkit.