How to I move the address up to match the integrated label paper on Prestashop 1.6 (or higher)

How to I move the address up to match the integrated label paper on Prestashop 1.6 (or higher)

After you have installed the supplied invoice templates, depending on your setup you may need to adjust the top margin of the generated invoice.

To do this you should do the following:

1 Amend the file PDFGenerator.php in the folder classes/pdf.

2 Look for the following function (text)

___________________________________________________________
/**
* Write a PDF page
*/
public function writePage()
{
$this->SetHeaderMargin(5);
$this->SetFooterMargin(18);
$this->setMargins(10, 40, 10);

$this->AddPage();

$this->writeHTML($this->content, true, false, true, false, '');
}
___________________________________________________________

Replace the margins line (in bold) with:

$this->setMargins(10, 20, 10);

3 Save the file and print the invoice.

This should now be correct.