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
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Report PDF size issue
-
- nuBuilder Team
- Posts: 508
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 11 times
- Been thanked: 18 times
Re: Report PDF size issue
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.
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
-
- Posts: 3
- Joined: Sun Dec 08, 2019 2:31 am
Re: Report PDF size issue
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?

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?
-
- nuBuilder Team
- Posts: 508
- Joined: Fri Dec 28, 2018 1:41 pm
- Location: Krakow, Poland
- Has thanked: 11 times
- Been thanked: 18 times
Re: Report PDF size issue
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
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
-
- Posts: 3
- Joined: Sun Dec 08, 2019 2:31 am