The pdf call and concatenates a list of PDF file using pdfunite.
This call may be used to concatenate PDF files created using SVG to PDF.
To use the PDF call, the account must have the pdf
flag set to true
:
Concatenates a list of PDF files to a single PDF file.
Using Backend.js, PDF files can be concatenated as follows:
const backend = new Backend('https://viereck.ch/backend'); const account = backend.account('your-account-id', '44705748... your-account-key'); const sources = [ {'#b': '7b8cf18d...'}, ... ]; account.pdf(sources, onDone, onError); function onDone(token, request) { ... } function onError(errorCode, request) { ... }
All PDF files must be uploaded beforehand, if necessary.