My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
AbulAsar S.

2 likes

·

2.0K reads

4 comments

Serguei Cambour
Serguei Cambour
Jan 14, 2024

Thanks a lot for sharing. A tiny error to be fixed though, I think: you mention everywhere filename: "invoice-#{date}" but the variable date has never been defined.

1
·
·1 reply
AbulAsar S.
AbulAsar S.
Author
·Jan 14, 2024

Thanks for pointing it out. I'll edit the code snippet.

·
David
David
Jan 18, 2024

Nice, chromic_pdf is great. The issue is it cant modify existing PDFs or create / work with form elements. Something like ruby's prawn would be great. Some things are possible using pdftk but nothing like the great Prawn experience to truely create PDFs. Elixir is missing a GOOD pdf gen library.

1
·
·1 reply
AbulAsar S.
AbulAsar S.
Author
·Feb 1, 2024

Agreed. I don't have experience with prawn. It seems to be a very good library. It would be awesome to have one in elixir.

·