- Posts: 8
- Thank you received: 0
Format PDF Invoice
- Marlon Bovell
- Topic Author
- Offline
- New Member
-
Less
More
5 years 4 days ago - 5 years 4 days ago #137620
by Marlon Bovell
Format PDF Invoice was created by Marlon Bovell
Is there a way to format the PDF so it maintains the layout I've created in the editor? Once the PDF is generated, the layout is not maintained at all. Please see the screenshot of the template vs actual PDF output. What you can't see in the template screenshot is the 50px margin at the top of the page, but see how the generated PDF has no margin on top.
Last edit: 5 years 4 days ago by Marlon Bovell.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 4 days ago #137621
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Format PDF Invoice
Hello Marlon
PDF, unfortunately, does not like HTML. It's more difficult to manage PDF layout because it does not support all html attributes and only basic css support.
So the preview of your layout in editor (basically, HTML layout) might not look like the layout you received in the PDF output
For your case, you can submit a support ticket sending us super admin account of your site and tell us how you want to change the PDF layout. We will look at it and try to find a solution for you
Tuan
PDF, unfortunately, does not like HTML. It's more difficult to manage PDF layout because it does not support all html attributes and only basic css support.
So the preview of your layout in editor (basically, HTML layout) might not look like the layout you received in the PDF output
For your case, you can submit a support ticket sending us super admin account of your site and tell us how you want to change the PDF layout. We will look at it and try to find a solution for you
Tuan
Please Log in or Create an account to join the conversation.
- Marlon Bovell
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
5 years 4 days ago #137623
by Marlon Bovell
Replied by Marlon Bovell on topic Format PDF Invoice
Hello Tuan,
That's understandable. If you can provide some guidance on which table elements and/or css can be styled, I will try to work it out. The Google machine wasn't helpful
That's understandable. If you can provide some guidance on which table elements and/or css can be styled, I will try to work it out. The Google machine wasn't helpful

Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 4 days ago #137628
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Format PDF Invoice
TCPDF (the library which we are using) does not have useful documentation for this, so the only way we can do is try to modify, check the result and then do it again and again until we get the expected result
As mentioned, in this case, you should submit a support ticket so that we can try to look at it and find a solution for you
Regards,
Tuan
As mentioned, in this case, you should submit a support ticket so that we can try to look at it and find a solution for you
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Marlon Bovell
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
5 years 4 days ago #137629
by Marlon Bovell
Replied by Marlon Bovell on topic Format PDF Invoice
OK thanks again. Before I submit a ticket I will continue to tweak my layout to try to get it working.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 years 4 days ago #137630
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Format PDF Invoice
OK Marlon. If you need help, please don't hesitate to ask us
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.