Closed pedrocaseiro closed 4 years ago
I'm trying to add a header to my PDF but it is never getting rendered (even though the PDF is). I've tried:
PdfGenerator.generate_binary!(no_sandbox: true, shell_params: ["--header-html", "../agreement.html"]) and PdfGenerator.generate_binary!(no_sandbox: true, shell_params: ["--header-html", "#{read_file("../agreement.html")}"])
Am I doing something wrong here?
I'm trying to add a header to my PDF but it is never getting rendered (even though the PDF is). I've tried:
Am I doing something wrong here?