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 !
PDF Invoice Layout for VM 1.1.3
-
- Phoca Newbie
- Posts: 8
- Joined: 28 Jul 2009, 07:50
Re: PDF Invoice Layout for VM 1.1.3
Ups - I found that there is another Forum category for VM
viewforum.php?f=27&start=0
Please move this topic there...
viewforum.php?f=27&start=0
Please move this topic there...
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF Invoice Layout for VM 1.1.3
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
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
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF Invoice Layout for VM 1.1.3
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 31 Jul 2009, 21:57
Re: PDF Invoice Layout for VM 1.1.3
Hi!
Which is the use of the single php-file?
For what is delivery.pdf.php?
And for what is phoca.tcpdf.php?
Which is the use of the single php-file?
For what is delivery.pdf.php?
And for what is phoca.tcpdf.php?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF Invoice Layout for VM 1.1.3
Hi,
Jan
Bot files are working with tcpdf methods and caused rendering of pdf.For what is delivery.pdf.php?
And for what is phoca.tcpdf.php?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 31 Jul 2009, 21:57
Re: PDF Invoice Layout for VM 1.1.3
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?
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?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF Invoice Layout for VM 1.1.3
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
Jan
If you find Phoca extensions useful, please support the project