Hi there,
is it possible to create first page of PDF different to following pages? The first page of PDF should be printed to a pre-build letterhead. So on the first page there should be a space of about 10 cm to the top. On the following pages the space to the top should only have the standard 2cm.
Greetings and thanks for hint
Multipage PDF
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multipage PDF
Hi, for now there is no such option, so I think, this must be directly modified in the code, but hard to give some advices, no idea if this could be possible with TCPDF class
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 08 Jul 2018, 16:46
Re: Multipage PDF
Oh ok, no good news here :-(
I don't know anything about TCPDF. You write "for now" there is no such option... Does it mean you try to add such an option in future versions? Would be very great.
Thanks for replying anyway!!!!
I don't know anything about TCPDF. You write "for now" there is no such option... Does it mean you try to add such an option in future versions? Would be very great.
Thanks for replying anyway!!!!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multipage PDF
Hi, I can take a look at it but I think, there is no such feature in TCPDF class (this class produces the PDF output), so for now really no idea if this even can be done.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 08 Jul 2018, 16:46
Re: Multipage PDF
for my project, it would be helpful if there was an option for adding a space, which only take effect when pdf is created. don't know if this is possible, or where i could add a div or empty table ignored from frontend, but included from phocapdf. is there any css class or something like that?
edit: since I don't know anything abpout TCPDF, I'm wondering if there are any "hidden" css-declarations used to create the pdf. If I could simply get TCPDF to add a space infront of the first text...
edit: since I don't know anything abpout TCPDF, I'm wondering if there are any "hidden" css-declarations used to create the pdf. If I could simply get TCPDF to add a space infront of the first text...
-
- Phoca Member
- Posts: 10
- Joined: 08 Jul 2018, 16:46
Re: Multipage PDF
And one more try. Found this by google:
https://stackoverflow.com/questions/951 ... e-document
don't know if this can help... sounds good, but since I don't know how tcpdf works, I don't know where I can use this solutions...
It's all greek to me -.- hope you can do anything with it. This really overtax my basic knowledgement of html, css or php...
https://stackoverflow.com/questions/951 ... e-document
don't know if this can help... sounds good, but since I don't know how tcpdf works, I don't know where I can use this solutions...
It's all greek to me -.- hope you can do anything with it. This really overtax my basic knowledgement of html, css or php...
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Multipage PDF
Hi, it is a little bit complicated as it seems. You can set with help of TCPDF different features even specific pages, but this is valid for manual adding items to the page not for transforming HTML to PDF which is used in Joomla! - there is no adding each sentence to PDF but whole HTML output is transformed to PDF (and inside this transformation there is no feature to somehow produce another type of page, etc.)
Jan
Jan
If you find Phoca extensions useful, please support the project