Hello,
My Name is Alejandra (Sorry for my english, I hope make me understand). Please I need know how to solved the next:
I've tried to make a custome pdf, I mean, TCPDF create a simple pdf, but I need make it more professional, more "corporative".
I need put a logo, and if is possible a head with a custome style.
I search in any places (here, in the forum an other sites) but I can't find documentation about this.
And, I try find the php file (the principal file or php that create a pdf), in the directory to try change it but can't find it.
I only find this folders /libraries/cetcpdf/tcpdf but I don't know much about php, please healp me.
Can you take a look to the proyect, and download pdf file from here: http://bit.ly/2WgcYe3
My Name is Alejandra (Sorry for my english, I hope make me understand). Please I need know how to solved the next:
I've tried to make a custome pdf, I mean, TCPDF create a simple pdf, but I need make it more professional, more "corporative".
I need put a logo, and if is possible a head with a custome style.
I search in any places (here, in the forum an other sites) but I can't find documentation about this.
And, I try find the php file (the principal file or php that create a pdf), in the directory to try change it but can't find it.
I only find this folders /libraries/cetcpdf/tcpdf but I don't know much about php, please healp me.
Can you take a look to the proyect, and download pdf file from here: http://bit.ly/2WgcYe3
The TCPDF action can only do very basic CSS.
https://stackoverflow.com/questions/11395171/why-does-tcpdf-ignore-my-inline-css
You should be able to add your image in very easily, set its size and position manually.
Also the files you're looking for are those ones you found.
https://stackoverflow.com/questions/11395171/why-does-tcpdf-ignore-my-inline-css
You should be able to add your image in very easily, set its size and position manually.
Also the files you're looking for are those ones you found.
Hi,
I know that TCPDF accept basic CSS, but look this documentation about this topic https://tcpdf.org/examples/example_003/ here mentionet how change header and footer, but I don't know where find the file to change it. they mentioned this $image_file = K_PATH_IMAGES.'logo_example.jpg';
I supossed that K_PAHT_IMAGES it must be a directory or folder?, but really I don't understand how or where put or save the image to make a call, and I Neither be which .php file change ...

I'm sorry but is that I don't know much about php, the only that I know is that, is possible make the change that I need, just I don't know how do it.
I know that TCPDF accept basic CSS, but look this documentation about this topic https://tcpdf.org/examples/example_003/ here mentionet how change header and footer, but I don't know where find the file to change it. they mentioned this $image_file = K_PATH_IMAGES.'logo_example.jpg';
I supossed that K_PAHT_IMAGES it must be a directory or folder?, but really I don't understand how or where put or save the image to make a call, and I Neither be which .php file change ...

I'm sorry but is that I don't know much about php, the only that I know is that, is possible make the change that I need, just I don't know how do it.
Don't make any changes to any of the PHP files.
Put html in the TCPDF action, not PHP. So standard IMG tags and such
Put html in the TCPDF action, not PHP. So standard IMG tags and such
Hi bkgraf,
I see from Max's email that the latest release allows you to turn off the Header and Footer. You can then build your TCPDF content in a PHP action and include the result in the TCPDF action. I think that should work OK.
Bob
I see from Max's email that the latest release allows you to turn off the Header and Footer. You can then build your TCPDF content in a PHP action and include the result in the TCPDF action. I think that should work OK.
Bob
Except they don't know how to use PHP. Just using HTML in the action is probably the better option.
This topic is locked and no more replies can be posted.
