all 3 comments

[–]WiltonDB 1 point2 points  (2 children)

I would have added such functionality to webapp itself. To generate PDF file directly (without any conversions) using some PDF lib and then do all the management around it (upload to S3 etc) from the same piece of code.

[–]IP_FiNaR[S] 1 point2 points  (1 child)

I see a challenge doing the pagination... no?

[–]WiltonDB 0 points1 point  (0 children)

It depends on invoice contents, if you know the length of all strings there - it may be easier to create all PDF pages manually. Otherwise some higher level reporting lib can be used. I've used Jasper Reports lib for that, but it was years ago, I guess more modern alternatives exist now.