Project
Custom PDF generation
A custom PDF wrapper extending a third-party library, used to generate configurable mailing-label sheets for order fulfilment.
Overview
Extends a third-party PDF library with a custom wrapper class for branded, paginated documents, then builds on that to generate mailing-label sheets sized and laid out to match a specific printable label product.
Key features
- A custom PDF wrapper class adding branded headers and footers (including a logo image), automatic page numbering and document metadata to every generated PDF.
- Mailing-label sheets for order fulfilment: label grid geometry (rows, columns, margins, padding) calculated from config to match a specific printable label-sheet product.
- Address text wrapped to fit within each label automatically.
- Automatic pagination onto additional sheets when there are more labels than fit on one page.
Stack
- PHP
- PDF generation