Invoice PDF rendered wrongly

Before you ask about IDnR Addon see the VirtueMart - Invoice, Delivery Note and Receipt Addon
jbennert
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Sep 2008, 11:00

Invoice PDF rendered wrongly

Post by jbennert »

Hi Jan,

I wonder why your addon is not build into virtuemart as a standard yet. Great tool! :twisted:
At installation I struggled at the language file part. There where php-errors as of "-characters that I changed to ' so it was fine, plus a needed ,-character after last entry of language-file before adding your variables. :wink:

I installed latest tcpdf and your addon is working, only PDF files created are rendered incorrectly. The invoice form iks fine but the invoice text is not right in place. :x

How can I correct this? :cry:

Enclosed a sample.

Thank you very much for helping. :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invoice PDF rendered wrongly

Post by Jan »

Hi, it seems like the methods (coordinates for text) in

delivery.pdf.php
phoca.tcpdf.php

are not correct ? but why?

try to use tcpdf class which was in joomla package

Jan
If you find Phoca extensions useful, please support the project
jbennert
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Sep 2008, 11:00

Re: Invoice PDF rendered wrongly

Post by jbennert »

So I am back on the tcpdf class that came with joomla. As I couldn't configure this original Joomla - tcpdf correctly, I downloaded the latest version and was lucky this new one had a self-configuring tcpdf_config.php. So I copied this new config-file to the joomla original tcpdf-folder and I only had to copy some missing images from the new version too.

Now erverything is fine and invoices are rendered correctly.

Thank you for your quick answer, I will now take the next step and get email invoice working.

Regards,
Jan Bennert
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invoice PDF rendered wrongly

Post by Jan »

Great to hear it, Jan
If you find Phoca extensions useful, please support the project
xcitan
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 30 Jun 2009, 13:31

Re: Invoice PDF rendered wrongly

Post by xcitan »

Hi there,

i got exactly the same Problem.
Where can i get the class i need. Could you please post me a download link?

Would be great if you could help me out.

Regards
Christian
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invoice PDF rendered wrongly

Post by Jan »

If you find Phoca extensions useful, please support the project
xcitan
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 30 Jun 2009, 13:31

Re: Invoice PDF rendered wrongly

Post by xcitan »

Thanks a lot guys.
I also took the standard joomla tcpdf and copied the images and the fonts of the newer version.
Now everything works fine!

Thank you so much for your help!

Christian
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Invoice PDF rendered wrongly

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply