Free Support Forum - aspose.cloud

HTML to PDF using elixir and aspose


#1

Hi, We are looking for aspose to covert phoenix html template( with tables, svg, paragraphs beautified with css) into pdf. Pdf should have header and footer in each page like current date, page 1 of 50 etc. We are not able to use given SDKs as our current stack is elixir. Can we use aspose with this stack and how. If you can please provide some example.


#2

@dkaushik

It can be achieved using couple of Aspose.PDF Cloud APIs. First convert HTML to PDF and then add PageNumber and Date as a text stamp in the resultant PDF.

I am afraid we do not have a SDK for Elixir at the moment. We are looking into your requirement and will update you soon.


#3

We have logged a new feature request PDFCLOUD-991 for the support of Aspose.PDF Cloud SDK for Elixir. We will notify you as soon as it is resolved. Meanwhile, you can use Aspose.PDF Cloud REST API via some HTTP Client.


#4

It can be achieved using couple of Aspose.PDF Cloud APIs. First convert HTML to PDF and then add PageNumber and Date as a text stamp in the resultant PDF.

Is there a quicker way to add a generic header/footer to all the pages of the pdf? Since the solution that you provided is only meant for a specific page, so, if a pdf contains around 50 pages, we’ll have to hit the api 50 times which is really time consuming process and not at all feasible.

We have logged a new feature request PDFCLOUD-991 for the support of Aspose.PDF Cloud SDK for Elixir. We will notify you as soon as it is resolved. Meanwhile, you can use Aspose.PDF Cloud REST API via some HTTP Client.

Regarding this, when you are ready with the sdk for elixir, will it have this same functionality to add the header/footer page wise or you’ll provide us with an option to add a generic header/footer to the whole pdf?


#5

@pgarcha

Thanks for your feedback. I am afraid currently the subjected feature is not available. We have logged a feature request PDFCLOUD-1015 in our issue tracking system. We will notify you as soon as it is implemented.


#6

@pgarcha

I am afraid we cannot share any ETA at the moment, as the issue is still pending for investigation in the queue. As soon as the issue analysis is completed, then we will be in a good position to share any ETA with you. Furthermore, if PDFCLOUD-1015 is resolved before the release of Aspose.PDF Cloud SDK for Elixir, then the feature will be included in it.