PHPackages                             staempfli/magento2-module-pdf - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. staempfli/magento2-module-pdf

AbandonedMagento2-module[PDF &amp; Document Generation](/categories/documents)

staempfli/magento2-module-pdf
=============================

Staempfli PDF generator.

1.1(8y ago)504.5k18[4 issues](https://github.com/staempfli/magento2-module-pdf/issues)OSL-3.0PHPPHP ~5.6.0|~7.0.0|~7.1.0

Since Dec 1Pushed 5y ago13 watchersCompare

[ Source](https://github.com/staempfli/magento2-module-pdf)[ Packagist](https://packagist.org/packages/staempfli/magento2-module-pdf)[ RSS](/packages/staempfli-magento2-module-pdf/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (4)Versions (5)Used By (0)

Magento 2 PDF generator
=======================

[](#magento-2-pdf-generator)

[![Project Status: Abandoned – Initial development has started, but there has not yet been a stable, usable release; the project has been abandoned and the author(s) do not intend on continuing development.](https://camo.githubusercontent.com/14a8e7234bd98508cfd9903b34d873f772f8bad5efc410eddd157e9561fa51e6/687474703a2f2f7777772e7265706f7374617475732e6f72672f6261646765732f6c61746573742f6162616e646f6e65642e737667)](http://www.repostatus.org/#abandoned)

Magento 2 module to ease the pdf generation using [wkhtmltopdf](https://wkhtmltopdf.org/) features

Installation
------------

[](#installation)

```
composer require "staempfli/magento2-module-pdf":"~1.0"

```

Setup
-----

[](#setup)

### Install wkhtmltopdf

[](#install-wkhtmltopdf)

This module needs [wkhtmltopdf](https://wkhtmltopdf.org/) installed on your computer. You can download and install it from here:

-

NOTE: Do not install it using `apt-get` on Linux systems. See [troubleshooting](#troubleshooting) section for more info.

### Module configuration

[](#module-configuration)

`Stores > Configuration > Advanced PDF Generation`

[![Admin Configuration](docs/img/config.png)](docs/img/config.png)

Usage
-----

[](#usage)

This module can generate a PDF from any `frontControllerAction`

1. Create you Controller path with the correspinding Blocks and `.phtml` templates

    ```

    ```
2. Return pdf instance on Controller

    ```
