PDFEngines.split
Splits PDFs using Gotenberg’s split route:- mode —
"pages"or"intervals" - span — Page range string (e.g.
"1-2","1,3,5") - unify — When
modeis"pages", merge the split results into one PDF - flatten — Flatten form fields and annotations in the output
Split on Chromium and LibreOffice
Chromium converters and LibreOffice also support asplit option on convert() so you can split the generated PDF in the same request:
Split type.