Page 1 of 1
PDF Invoice Layout for VM 1.1.3
Posted: 28 Jul 2009, 07:52
by lostmail
Are there any pre formatted layouts for the PDF invoice print for VM 1.1.3 ?
How can i avoid the lines for the boxes ?
Logo is too large in PDF.
Thanks !
Re: PDF Invoice Layout for VM 1.1.3
Posted: 28 Jul 2009, 10:45
by lostmail
Ups - I found that there is another Forum category for VM
viewforum.php?f=27&start=0
Please move this topic there...
Re: PDF Invoice Layout for VM 1.1.3
Posted: 28 Jul 2009, 13:09
by Jan
Hi, moved.
There were two pre formatted layouts (which you can see as example, but they are obsolete and cannot be used, as the whole script was updated
)
So you can change the formatting in these files:
- administrator\components\com_virtuemart\pdf\delivery.pdf.php
- administrator\components\com_virtuemart\pdf\phoca.tcpdf.php
Jan
Re: PDF Invoice Layout for VM 1.1.3
Posted: 29 Jul 2009, 00:27
by Jan
Hi, I don't know the solution as I didn't test it, but you should add new page in tcpdf and set for this new page the conditions. But as I wrote I don't know how to add e.g. last page with conditions, try to see tcpdf forum -
http://tcpdf.org
Jan
Re: PDF Invoice Layout for VM 1.1.3
Posted: 01 Aug 2009, 00:15
by libertybn
Hi!
Which is the use of the single php-file?
For what is delivery.pdf.php?
And for what is phoca.tcpdf.php?
Re: PDF Invoice Layout for VM 1.1.3
Posted: 01 Aug 2009, 19:16
by Jan
Hi,
For what is delivery.pdf.php?
And for what is phoca.tcpdf.php?
Bot files are working with tcpdf methods and caused rendering of pdf.
Jan
Re: PDF Invoice Layout for VM 1.1.3
Posted: 06 Aug 2009, 14:59
by libertybn
Hi!
I don´t really have a clue how this tcpdf is working, so please help.
I just need one thing.
The pdf-routine doesn´accept .png files from the logo.
But because I don´t have white background on the page I need the logo to be transparent.
Where should I put in the
files delivery.pdf.php or phoca.tcpdf.php the acceptance for png images?
Re: PDF Invoice Layout for VM 1.1.3
Posted: 06 Aug 2009, 15:10
by Jan
Hi, the PNG is not supported there, as this addon uses standard tcpdf which is in Joomla! the support of PNG doesn't work there
Jan