OS Property support center
How to create PDF different than A4 - portrait
- Loco Creations
-
Topic Author
- Offline
- New Member
-
Less
More
10 years 6 months ago #69370
by Loco Creations
How to create PDF different than A4 - portrait was created by Loco Creations
I'm migrating from another application to Joomla / OS property and i've run into an issue: my client needs to create A5 landscape sized PDF's to create flyers from the properties. I've activated TCPDF and saw some configuration options in the files under this folder: components/com_os_property/helpers/npdf/_class/
However, i could not manage to get it done.
Who will point me in the right direction?
Would it - ultimately - be possible to create a selectbox with layouts and sizes before creating the pdf?
However, i could not manage to get it done.
Who will point me in the right direction?
Would it - ultimately - be possible to create a selectbox with layouts and sizes before creating the pdf?
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13588
- Thank you received: 1778
10 years 6 months ago #69371
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic How to create PDF different than A4 - portrait
Hi Loco Creations,
If you open file: components > com_osproperty > classes > listing.php, you can find this line:
$html2pdf = new HTML2PDF('P', 'A4', 'en', true, 'UTF-8');
And you can try to change A4 by A5.
In fact, i am not sure it will work, but you can try it
Thanks
Dam
If you open file: components > com_osproperty > classes > listing.php, you can find this line:
$html2pdf = new HTML2PDF('P', 'A4', 'en', true, 'UTF-8');
And you can try to change A4 by A5.
In fact, i am not sure it will work, but you can try it
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2026 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.