elixir-pdf-generator icon indicating copy to clipboard operation
elixir-pdf-generator copied to clipboard

Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir.

Results 29 elixir-pdf-generator issues
Sort by recently updated
recently updated
newest added

For instance, in the context of a Phoenix application, users can now chose if they would rather install `chrome-headless-render-pdf` and `puppeteer` within the `/assets/node_modules` directory. - Having npm packages installed...

Hey there! I've created an examples directory. The first two examples are for generating a PDF from a LiveView, and an example Nix derivation for working with headless Chrome.

💁 I encountered an issue recently with this package which necessitated checking its compatibility against different versions of both Elixir _and_ Alpine Linux. I thought that you might find these...

Hello, I am having some issues rendering images in a PDF on heroku. As you can see in the screenshot below, the image is inserted locally but not when I...

Is there a way to pass in other wkhtmltopdf commands such as page-height and page-width, margin-bottom etc? If so, wonder if we should add to readme?

documentation
workaround exists

Hi, any tips for compiling on Win10? I've changed to: `{:pdf_generator, "~> 0.6.2", compile: "mingw32-make chrome"}` But get `*** No rule to make target..` when running `mix deps.compile pdf_generator` Which...

rather than deal with wkhtmltopdf and flexbox, i've moved to chrome. the docs suggest this for using chrome-headless ``` config :pdf_generator, use_chrome: true, #

Hi. I have this problem when deploy my elixir project with docker, when I'm working in localhost I don't have problems, I'm using wkhtmltopdf and {:pdf_generator, ">=0.5.7"} this is the...

Related to https://github.com/gutschilla/elixir-pdf-generator/issues/56 I'm getting this error on linux server: ``` (elixir) lib/system.ex:621: System.cmd(nil, ["/opt/app/lib/pdf_generator-0.6.0/priv/node_modules/chrome-headless-render-pdf/dist/cli/chrome-headless-render-pdf.js", "--url", "file:///tmp/0wolmM04.html", "--pdf", "/tmp/0wolmM04.pdf", "--paper-width", "8.26772", "--paper-height", "11.695", "--dpi", "300"], [stderr_to_stdout: true]) ``` In my...

enhancement

filename: "/somepath/store/pdffiles/test" # this should generate the file in /somepath/store/pdffiles/test.pdf but instead it generated as: /tmp/somepath/store/pdffiles/test.pdf Actually even this file not exist, looks like need parent folder exists to generate.