4 ms·
I can just emit PS and use ps2pdf. PS is just text, so any language can do that. There's already an API - it's called Unix pipes!
by doodku 13y ago
I can just emit PS and use ps2pdf. PS is just text, so any language can do that. There's already an API - it's called Unix pipes!
- trez 13y agonever heard of that ;) Indeed, manual processing is an option if you are ok to add some code any time a user want a new PDF design. That's not a really scalable process if your number of PDFs is increasing. It's also not a viable option for less technical users
- doodku 13y agoI'm sure it's computationally equivalent to what you're doing - it's a function from some input data and some template to a PDF file - so I don't follow your thesis that it would be less scalable (for some definition of scalable that you don't give). You could even use some tech like Handlebars to do it with Node.js, so using your existing stack.
- trez 13y agoBy scalable I mean accessible to a large number of user because that won't require too specific skills. My assumption is CSS is a more common skills than linux commands