Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
If you're OK with paying ~£0.05 per PDF you can just use Adobe's PDF API where you supply a word document with {{ name }} like variables in it and a JSON file and you get back a PDF with it all filled in. This way you just change the styling and layout with a word editor.
Generating PDF invoices using Lago
11–20 of 56 posts
Re: Generating PDF invoices using Lago
#12Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
Re: Generating PDF invoices using Lago
#13Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
I wrote some C# code a couple of years ago to generate PDF invoices. Has been running fine since then generating tens of thousands of PDFs. It was pretty straight forward back then, only annoying thing were page breaks when there were a lot of line items, but apart from that I would not consider it a "pain". What issue have you had? What do you mean by "custom"?
Re: Generating PDF invoices using Lago
#14Open source backend when?
Re: Generating PDF invoices using Lago
#15Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
I just use headless chromium to "print" a generated HTML page as a PDF, works great.
Re: Generating PDF invoices using Lago
#16Open source backend when?
Re: Generating PDF invoices using Lago
#17Open source backend when?
Re: Generating PDF invoices using Lago
#18Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
If you're OK with paying ~£0.05 per PDF you can just use Adobe's PDF API where you supply a word document with {{ name }} like variables in it and a JSON file and you get back a PDF with it all filled in. This way you just change the styling and layout with a word editor.
Re: Generating PDF invoices using Lago
#19Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
I just use headless chromium to "print" a generated HTML page as a PDF, works great.
Re: Generating PDF invoices using Lago
#20Generating a custom PDF is just such a pain. You don't know it before you tried to do it. I've seen Anvil (a YC co) is building a product dedicated to this challenge, check it out!
I just use headless chromium to "print" a generated HTML page as a PDF, works great.
shot-scraper pdf myfile.html -o output.pdf