I want to change Invoice Pdf format.In default magento footer part is not added in pdf invoice.I want to add footer and in footer there will be logo and mailing addres.Also I am looking for update fonts with Open Sans.
I am looking for any solution but not getting exact answer.Should I go through custom module and override pdf module Or is there any solution is available in back-end?
If anyone do it please let me know.
Thanks.
Best Answer
I have tried with module
https://github.com/EaDesgin/magento2-pdf-generator2
but this module very complex and provide features if you buy it.I have not used this module and decide to make custom module:
I have created Module with below files:
Vendorname\Modulename\etc\config.xml
Vendorname\Modulename\registration.php
Vendorname\Modulename\etc\di.xml
and override file Vendorname\Modulename\Model\Order\Pdf\Invoice.php
I have also added custom fonts in path lib/internal/open-sans/ and called in invoice.php file.