Copy link to clipboard
Hoping someone can help with some advice and guidance please, or point us in the right direction as to whom to ask please.
The use case is for a book that is created in an HTML canvas (can be up to 200 pages) and then printed to a pdf file.
The book is a multipage HTML document created in an HTML 5 canvas we need to print to a pdf - the book can be up to 200 pages. We use hard page breaks, using break-after tag, to control page flow.
We need to be able to control the pdf generation parameters used (such as image resolution, dynamic page size (for different sized books), default font, pdf as flattened, pdf as compressed (we have been provided with an Adobe pdf options file, attached in link below, that we need to accommodate).
At times, we need to be able to print only a specific range of the HTML canvas (such as font cover of a cover canvas that includes all cover elements)
The current, urgent, use case is a backend event driven process (server side). We are on AWS, and so would trigger this via eventbridgeon confirmation of the payment and order. We are open to self hosting or using a cloud service.
Later, we also need to client side to render a book preview in the user browser without using our own resources and bandwidth.
We are on AWS, the app is React front end and node backend, but we are tech agnostic on pdf library to use so long as it is exposed as a service.
Have something to add?