Magento – Magento 2 : How to edit invoice PDF

invoicemagento2pdf

My language is Hebrew and when I print pdf of invoice, package slip(maybe other pdf's) the letters are flipped(last is first…),how can I fix this ?

And if I need to edit a core file, how do I do it properly?

thanks.

Best Answer

You can override this file and do your change which you want in PDF

vendor/magento/module-sales/Model/Order/Pdf/AbstractPdf.php