Report PDF size issue

Questions related to nuBuilder Forte Reports and the Report Builder.

Report PDF size issue

Postby wbadoy » Sun Dec 08, 2019 11:10 am

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
wbadoy
 
Posts: 3
Joined: Sun Dec 08, 2019 11:01 am

Re: Report PDF size issue

Postby Janusz » Sun Dec 08, 2019 6:10 pm

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.
Janusz
 
Posts: 273
Joined: Fri Dec 28, 2018 10:11 pm
Location: Krakow, Poland

Re: Report PDF size issue

Postby wbadoy » Sun Dec 08, 2019 9:06 pm

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?
wbadoy
 
Posts: 3
Joined: Sun Dec 08, 2019 11:01 am

Re: Report PDF size issue

Postby Janusz » Mon Dec 09, 2019 1:14 am

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
Janusz
 
Posts: 273
Joined: Fri Dec 28, 2018 10:11 pm
Location: Krakow, Poland

Re: Report PDF size issue

Postby wbadoy » Tue Dec 10, 2019 3:57 pm

thank you. i will try and emulate your build for now.
wbadoy
 
Posts: 3
Joined: Sun Dec 08, 2019 11:01 am


Return to Reports