Jump to content

How to add margin in invoice pdf?


Recommended Posts

When I want to print a generated invoice there is almost no margin at the top and bottom. Most printers won't print outside the margin and that means the upper part en lower part of the invoice will not be printed.

 

How can I change that?

 

 

I am using 1.5.6.2

Edited by HavanA (see edit history)
Link to comment
Share on other sites

Before I started this topic I searched on the internet but couldn't find related topics. I guess that I used the wrong search terms because I saw this topic later: http://www.prestashop.com/forums/topic/213664-guide-modifying-prestashop-15-invoice-template/

 

I managed to add margin to the footer and now have a simple, clean layout now as you can see in the attachment. I edited the margins in /classes/pdf/pdfgenerator.php

 

 

post-741991-0-63837600-1391615818_thumb.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...