elevationprint Posted November 3, 2016 Share Posted November 3, 2016 SO I have googled my eye balls out. The default size for generated PDFs is set for A4 size paper. I am US based and need to change the invoice, shipping slips, etc.. to US letter size (8.5x11)Who has the magic key to help me? Link to comment Share on other sites More sharing options...
rocky Posted November 3, 2016 Share Posted November 3, 2016 Try changing line 82 (in PrestaShop v1.6.1.8) of classes/pdf/PDFGenerator.php from: parent::__construct($orientation, 'mm', 'A4', true, 'UTF-8', $use_cache, false); to: parent::__construct($orientation, 'mm', 'usletter', true, 'UTF-8', $use_cache, false); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now