A collection of Home Assistant add-ons for printer-related tasks.
Converts PDF files to PWG Raster (image/pwg-raster) on demand. Used by the IPPx Printer integration for printing PDFs on printers that do not support PDF natively.
PWG-Raster is the document format required by IPP Everywhere printers. It allows printing multi-page PDFs as a single job, which is not possible with other formats like JPEG.
-
In Home Assistant: Settings → Add-ons → Add-on Store.
-
Top right: ⋮ → Repositories.
-
Add the URL of this repository:
https://github.com/binaery82/printer-addons -
Click Add.
-
The add-ons from this repository now appear in the store.
| Option | Type | Default | Range | Description |
|---|---|---|---|---|
dpi |
integer | 300 |
72–4800 |
Resolution for the PWG Raster output. Higher values produce sharper prints but larger files. |
Notes on DPI:
300is the standard for most printers and produces good quality.600improves text sharpness for small fonts.1200or higher is rarely needed and produces very large files.- The printer scales the raster to its own resolution if it differs.
The PWG Raster Converter is designed to work with the IPPx Printer Home Assistant integration. When printing a PDF on a printer that does not support PDF natively, the integration automatically routes the PDF through this add-on.
If the add-on is not installed or not running, the integration returns a clear error message and the PDF is not printed.
printer-addons/
├── repository.yaml # Identifies this repository to Home Assistant
├── README.md
├── LICENSE
└── pwg-converter/ # The add-on
├── config.yaml # Add-on metadata
├── Dockerfile # Container definition
├── run.sh # Start script
├── server.py # HTTP server + PDF → PWG conversion
└── translations/
├── en.yaml # English translations
└── de.yaml # German translations
- Create a new folder in the repository root.
- Add a
config.yaml,Dockerfile, andrun.sh. - Optionally add a
translations/folder. - Restart the add-on store or reload the repository in Home Assistant.
The add-on is then available in the store.
- Copy the add-on folder to the
addonsdirectory of your Home Assistant installation. - In Home Assistant: Settings → Add-ons → Add-on Store.
- Top right: ⋮ → Check for updates.
- The add-on appears under Local add-ons.
The config.yaml lists supported architectures under arch. For distribution via GitHub, use a CI/CD workflow (e.g., GitHub Actions) to build and publish multi-architecture images to a container registry.
Please open an issue in the issue tracker if you find a bug or want to request a feature.
See LICENSE.
- Ghostscript – used by the PWG Raster Converter for PDF rendering.
- Home Assistant – for the add-on framework.
- The Home Assistant community – for documentation and examples.