1

I have developed a programm that takes an html code and produce a pdf. I used the below code to convert the html string to pdf:

https://github.com/blink22/react-native-html-to-pdf/blob/master/android/src/main/java/android/print/PdfConverter.java

The number of pages of pdf that the programm produce is not fixed. My question is how could I add at the end of every pdf page a text?

I am looking 5 days for this but I have not find something. I could also listen to solutions completely different from my approach i.e to first generate the pdf. I have seen these :

Creating multiple pages of PDF using android.graphics.pdf

PDF multipage not create in android

Create a custom WebView

How to divide the webview content in multiple pages

Create a PDF from Webview on Android

Android - Drawing to a PDF canvas from WebView

0 Answers0