Page 1 of 1

Invoice PDF rendered wrongly

Posted: 11 Sep 2008, 11:21
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

Re: Invoice PDF rendered wrongly

Posted: 11 Sep 2008, 15:44
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

Re: Invoice PDF rendered wrongly

Posted: 11 Sep 2008, 17:10
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

Re: Invoice PDF rendered wrongly

Posted: 11 Sep 2008, 20:18
by Jan
Great to hear it, Jan

Re: Invoice PDF rendered wrongly

Posted: 30 Jun 2009, 13:35
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

Re: Invoice PDF rendered wrongly

Posted: 30 Jun 2009, 21:32
by Jan

Re: Invoice PDF rendered wrongly

Posted: 30 Jun 2009, 23:35
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

Re: Invoice PDF rendered wrongly

Posted: 02 Jul 2009, 20:40
by Jan
Ok