I am interested in filling in the existing PDF formats programmatically. All I really need to do is output the information from user input, and then put the appropriate text on top of the existing PDF file in the appropriate locations. I can already do this with reportlab, loading the same sheet of paper into the printer twice, but it just spoils me wrong.
I am tempted to just personally redesign each existing PDF file and draw each line and character before adding user-entered text, but I wanted to check if there was an easy way to take an existing PDF file and set this as the background for some additional text. I would prefer to use python as this is the only language I feel comfortable with.
I also understand that I could just scan the document itself and use the resulting bitmap as a background, but I would prefer the accuracy of vector graphics.
ReportLab seems to have a commercial product with this functionality , and the specific function I'm looking for is in it (copyPages) - but it seems like an overpayment for a 4-digit product for a simple simple function for non-commercial use.
python pdf pdf-generation reportlab
Shane
source share