Report Builder Margins Warning

Discussion forum about all things Report Builder (all versions).
Johann
Austria
Posts: 369
Joined: 30 Mar 2017, 09:58
Location: Vienna

Report Builder Margins Warning

Post by Johann » 30 Mar 2017, 10:07

Hello to All,

I face a nasty problem with reports created with TD 2.1 but running on TD 6.3 SP2 and changed with RB coming with TD 6.3 SP2.
It does not matter how small I make the report size (the size is Custom and it is always smaller than the printing area), I get permanent a warning that: "This
report may extend beyond the printer margins. Text may be clipped, depending on printer in use. Do you wish to continue."

Pressing Ok, the text prints normal, no clipping! There seems to be a solid bug!

Any hint to avoid this behavior is very appreciated.

With best regards
Johann

User avatar
Charlie
Canada
Posts: 640
Joined: 07 Mar 2017, 18:52
Location: Fredericton, New Brunswick, Canada

Re: Report Builder Margins Warning

Post by Charlie » 30 Mar 2017, 10:32

Assuming the error happens on SalReportPrint ( hWndFrm, strTemplate, strVariables, strInputs, nCopies, nOptions, nFirstPage, nLastPage, nErr ) ...

Have you tried setting nOptions to RPT_PrintNoWarn ?

EwaldP
Austria
Posts: 351
Joined: 07 Mar 2017, 08:00
Location: Austria

Re: Report Builder Margins Warning

Post by EwaldP » 30 Mar 2017, 13:33

As Charlie described, RPT_PrintNoWarn is your solution. If you have custom page sizes (sometimes in combination with special printers) ReportBuilder has rounding problems when converting from inch (internal) to millimeter. I didn't find any solution so I also turned off the error warnings.
Ewald P. Palmetshofer
EDV-Hausleitner GmbH
4020 Linz
www.edv-hausleitner.at

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 1 guest