Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
kim (Guest)
kim (Guest)
Hi
 
I would like to customise the pdf packing slip. The adress is hard to see, and will not fit in my documents envelope without some serious origami, so;
 
Can I change the paper orientation, and change the font size and strength. Also, some control over line spacing would be good. If you give me some guidance on the code and the relevant file name, I will have a go.
 
It would in the future be a wonderful thing to have this ability to customise the print options in the admin.
 
Cheers
Kim
 
Anjula
Anjula
Hello,
 
Please, open the files 'user_invoice_pdf.php' and 'admin/admin_invoice_pdf.php' and check the lines where
the font size is set, namely:
$pdf->setfont("helvetica", "", 8);
 
With regards,
ViArt Support Team
 
battleaxe
battleaxe
Thanks for that
 
I cant find the orientation part. I want to change the output to landscape, and it is difficult to find the right part of the code.
 
regards
Kim
 
Anjula
Anjula
Hello,
 
Please, open your admin_invoice_pdf.php or admin_packing_pdf.php and find the following lines:
 
$pdf->begin_page(595, 842);
$height_position = 800;
 
Then change the code to the following:
 
$pdf->begin_page(842, 595);
$height_position = 555;
 
With regards,
ViArt Support Team