This Shopware6 plugin provides an alternative PDF renderer using the typeset.sh engine.
Typeset.sh is a html & css renderer written in PHP and does not require any additional php extensions or APIs.
Here is a sample pdf ouptut file.
Get access to your typeset.sh repository. See the typeset.sh documentation.
composer config repositories.typeset composer https://packages.typeset.sh
composer require typesetsh/shopware6-plugin
php bin/console plugin:refresh
php bin/console plugin:install -a -c TypesetshShopwarePlatform
This plugin is under the MIT license.
However, it requires a version of typeset.sh to work.