Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Report PDF size issue

Questions related to nuBuilder Forte Reports and the Report Builder.
Post Reply
wbadoy
Posts: 3
Joined: Sun Dec 08, 2019 2:31 am

Report PDF size issue

Unread post by wbadoy »

Good day,

I am a first time user of nuBuilder and i finding this to be a great development software. I am now trying to create reports and i noticed whenever i change the report properties settings for paper size, the pdf printout stays A4. I tried legal paper with portrait orientation and when i run the report, it gave me two A4 pages.

Can you enlighten me as to how is this happening?

Thank you very much for nuBuilder <3
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: Report PDF size issue

Unread post by Janusz »

Hi,
Recently I had an issue with pdf reports - long text was not wrapped on the printout.
After replacing the nuBuilder tcpdf folder by the latest tcpdf from:
https://sourceforge.net/projects/tcpdf/
that problem disappeared.
Additionally I had to copy the /tcpdf/fonts folder from original nuBuilder tcpdf folder to the downloaded version.

to summarise:
1. rename tcpdf to tcpdf.original
2. download from SourceForge the latest version unpack and copy to tcpdf folder
3. copy tcpdf.original/fonts to tcpdf/fonts

I do not know if it helps in your case - but it's a simple try.
If you like nuBuilder, please leave a review on SourceForge
wbadoy
Posts: 3
Joined: Sun Dec 08, 2019 2:31 am

Re: Report PDF size issue

Unread post by wbadoy »

Thank you but unfortunately it didnt work :( nurunpdf.php is reading the correct paper size but the render is wrong.
A letter sized paper will show in an A4 preview with cropped portions. The legal sized paper will show two A4 pages.

Maybe this is a PHP issue? I'm using php5.5.12.

Anybody, what versions are your Php, MySQL, and Apache?
Janusz
nuBuilder Team
Posts: 506
Joined: Fri Dec 28, 2018 1:41 pm
Location: Krakow, Poland
Has thanked: 8 times
Been thanked: 18 times

Re: Report PDF size issue

Unread post by Janusz »

fyi
apache2 2.4.38-3+deb10u3
PHP 7.3.12-1+0~20191128.49+debian10
mysql Ver 15.1 Distrib 10.4.10-MariaDB, for debian-linux-gnu
If you like nuBuilder, please leave a review on SourceForge
wbadoy
Posts: 3
Joined: Sun Dec 08, 2019 2:31 am

Re: Report PDF size issue

Unread post by wbadoy »

thank you. i will try and emulate your build for now.
Post Reply