Hi. I am trying to use the module to fill pdf from template in a Lambda function on AWS.
my template is located in /tmp as /tmp/template.pdf. and I verified with fs the file is there. But When I run pdffiller-stream.fillForm( tmpFile, filldata); I am getting an error
pdftk exec error: Error: Unable to find file.
Is this something you can help?
pdftk is loaded as part of my lambda as per this blog
https://lob.com/blog/aws-lambda-pdftk
Thanks.
Colin
Hi. I am trying to use the module to fill pdf from template in a Lambda function on AWS.
my template is located in /tmp as /tmp/template.pdf. and I verified with fs the file is there. But When I run pdffiller-stream.fillForm( tmpFile, filldata); I am getting an error
pdftk exec error: Error: Unable to find file.
Is this something you can help?
pdftk is loaded as part of my lambda as per this blog
https://lob.com/blog/aws-lambda-pdftk
Thanks.
Colin