Word wrap & Can grow causing report pages not same in preview and printed

Stimulsoft Reports.JS discussion
Post Reply
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Word wrap & Can grow causing report pages not same in preview and printed

Post by stvhui »

Hello to you,
I'm using Stimulsoft Reports.JS version 2018.2.3
The problem is :
First, Stimulsoft Report (.mrt) databand field (example address) set to "no word wrap" and "no can grow" the report preview show total pages 5 then when printed to printer also printed 5 pages.
But...when setting the field to "word wrap" and "can grow" the report preview show total pages becomes 7 pages but when printed to printer becomes 14 pages.
The result of printed page is :
First page is fully printed (30 rows), second page printed (3 rows), third page printed (30 rows), forth page printed (4 rows), fifth page printed (30 rows), sixth page only 3 rows
etc...
Seems when setting the field setting to "word wrap" and "can grow" the report engine have bug in calculating paper page height + page margin. I'm using Mozilla Firefox browser.
Please advice and thanks in advance.

Regards,
Steven
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by stvhui »

Hello,

I send you stimulsoft's sample report simplelist2.mrt (how to attached sample reports?)
or you can reproduces the issue :
Open simplelist.mrt using report designer then at databand resize company column to smaller (a half width than before). also resize for column address. then save the report file.
After that preview the report using report viewer (the report seems shown well and the word-wrap and can-grow seems working, total report 3 pages), then choose menu Print, Print with preview (till this stage still seems well, total report 3 pages). then from browser (I'm using Mozilla Firefox latest version) Menu File Print Preview then you will shown the problems, total report pages becomes 6. How to fix it?
Another problem is background color is missing.
Please advice & thanks in advance.
Regards,
Steven
Attachments
SimpleList2.mrt
(11.82 KiB) Downloaded 143 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue.

Thank you.
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by stvhui »

Hello,

Please help and how to solve it.

Thanks & Regards,
Steven
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please try to check the last release version.

Thank you.
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by stvhui »

Hello..
I'd tried the latest version 2019.3.4
But the problem not solved, please tried the sample I tattached at previous (simplelist2.mrt)

Thanks & Regards,
Steven
Attachments
Screenshot_1585.png
Screenshot_1585.png (62.1 KiB) Viewed 3085 times
Screenshot_1584.png
Screenshot_1584.png (106.56 KiB) Viewed 3085 times
Screenshot_1583.png
Screenshot_1583.png (136.97 KiB) Viewed 3085 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by Lech Kulikowski »

Hello,

Please remove Header/Footers option in the browser printer settings.

Thank you.
stvhui
Posts: 51
Joined: Wed Apr 22, 2009 3:12 am

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by stvhui »

Hello...
I'd trie as your instruction to remove the header and footer from browser.
The Header and Footer set it blank, but not solved the problems.
Have you tried the report that I sent to you??
If you had tried then you will know the problems.

Regards,
Steven
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Word wrap & Can grow causing report pages not same in preview and printed

Post by HighAley »

Hello.

The browser adds the margins before printing.
We can't see and change it.
Please, check the print settings and set the margins to minimum values.

Than you.
Post Reply