pdfkit

Download PDF file using pdfkit and FastAPI

Download PDF file using pdfkit and FastAPI Question: I am going to create an API that converts an HTML page to a PDF file. I made it using pdfkit and FastAPI. However, it saves the file to my local disk. After I serve this API online, how could users download this PDF file to their …

Total answers: 2

pdfkit image not embedded using Django

pdfkit image not embedded using Django Question: I’m converting a protected webpage into pdf using Django and this solution. The solution works great except the part that the webpage contains images which do not show up in the pdf and i get an error Warning: Failed to load file:///media/images/main/logo.jpg (ignore) I’m currently using from_string method …

Total answers: 1

Why PDFKit doesn't work well with margins?

Why PDFKit doesn't work well with margins? Question: although I just don’t have the need to ask something normally (internet is just a gold mine, especially this site), this is getting me off, as I had been two days trying to get this working and I don’t find anything useful. Link for similar post would …

Total answers: 2