I don't have a concrete project yet, but in anticipation I would like to know if it is possible to fill a pdf with data stored in mysql?
It would be a question of a form with several lines and column history not to simplify the thing... If yes, what technology/language to use?
I found several tutorials which however start from a blank pdf. I have the constraint of having to place the data in certain specific places.
Using PyMuPDF makes it easy to place text at any desired position using any desired font.
To e.g. put some text on a page starting at position (x, y) do this:
Or insert into a rectangle with automatic line breaks at word boundaries
Rectangles are defined by their top-left (50,36) and bottom-right (150, 236) coordinates. So in the above case a 100 x 200 rectangle.