Copy link to clipboard
Copied
I am working on a project to convert HTML to PDF using Adobe PDF Services API. One problem I am facing is that I can't customise header/footer such that they appear on each page of the PDF. Typically, I would've used CSS page margin boxes(@top-left, @top-right etc) and they seem to work just fine on PDF Reactor but not with this API. I have also tried using CSS position : fixed but then the header and footer overlap with the content on the page. So the questions I have are :
1) Do the Adobe Doc Cloud APIs (particularly PDF Services API) support CSS Page Margin Boxes?
2) What alternative should I use to customise my header/footers (eg. Inserting image in the header footer or make header/footer for a brand)
3) Additionally, is there a way to watermark the PDF using the API.
1) The HTML to PDF Services to support CSS paged media. The trick is to rely exclusively on CSS. Do not set the margins or page size/orientation using the CreatePDFFromHtmlOptions object.
2) I haven't found a good solution for this. We kind of have to wait for paged media level 3 to get out of draft.
3) Not at this time.
Copy link to clipboard
Copied
1) The HTML to PDF Services to support CSS paged media. The trick is to rely exclusively on CSS. Do not set the margins or page size/orientation using the CreatePDFFromHtmlOptions object.
2) I haven't found a good solution for this. We kind of have to wait for paged media level 3 to get out of draft.
3) Not at this time.