Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Perhaps run a microservice in docker that handles pdf generation natively, instead of using library upon library
mt3o212871dUse docker and create microservice in real language, that has native bindings to poppler (or other real library). This is the only real solution for you if you can't "just install" what you need.
wasn't something big,
seriously do you even Node?
None of those statements go together.
So, I have an excel file as input and I have to extract data from it and fill (existing) PDF form for each record, generating n PDF forms for n records in the excel file.
I was learning and practicing Node properly and I thought that it should be possible to do this with node. I guess I was wrong and should have done more research on proper ways to do this (?). @C0D4
PDF Forms are using FDF / XDFDF.
Otherwise - pdftk can write a form with data to a PDF file.
Most libraries I remember don't fill the form directly, instead they either extract it and replace the existing form or they simply place text commands at the formular fields positions.
First one requires a library that can handle extraction and replacement of the FDF/XFDF Part, last one is simpler - but might fail (if the receiving part simply extracts the FDF/XFDF stream there is no information ;)).
Maybe that helps pinpointing which specific library you want to use.
In PHP, it's usually FPDF (Seti / commercial) or TCPDF (Open Source).
IntrusionCM66770d@COD4 Oh yes.
PDF - fucking bazillion standards, always a surprise to open a file and not knowing if it's pandoras box or usable.
Poppler is like the derpiest name you can give to a piece of software. I fucking lost it at “what the hecc is a poppler”!
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job