We have developed an extension in our company to print e.g. via PrintNode in BC and have the following bug there. If a report has a custom layout format (e.g. for label printing) smaller than A4 in combination with the landscape setting and the printer is added via the setting Enum:: "Printer Unit"::TenthsOfAMillimeter, the preview / PDF is rendered incorrectly. This results in a very very long report that does not correspond to the specified dimensions.
If you use any other units type like HundredthsOfAMillimeter or ThousandthsOfAnInch its working, only in the unit TenthsOfAMillimeter the report renderer does something wrong.
Steps to reproduce:
Add in the SetupPrinters (Codeunit "Reporting Triggers")
event the printer in the way like above.
Create a report with any content and setup it as A6 format and in landscape
Run the report with the added printer as preview or download rendered pdf
Or: DemoApp.zip
Simply install the attached Demo App and search after "PrinterTest - TestReport" and execute it with the printer "MM A6 Printer (Tenths)". I also added some other printers in the demo app to show, thats only not working for the TenthsOfAMillimeter and only if its smaller than A4. For the A4 printer setting with the same TenthsOfAMillimeter unit setting, its working.
I tested this behavior on the latest OnPrem/Docker BC Installation for 21.5
We have developed an extension in our company to print e.g. via PrintNode in BC and have the following bug there. If a report has a custom layout format (e.g. for label printing) smaller than A4 in combination with the landscape setting and the printer is added via the setting Enum:: "Printer Unit"::TenthsOfAMillimeter, the preview / PDF is rendered incorrectly. This results in a very very long report that does not correspond to the specified dimensions.
Wrong Rendered Report.pdf
The printer is simply added to in the following way: (In this example as A6 format, but the bug also appears with other smaller formats)
If you use any other units type like HundredthsOfAMillimeter or ThousandthsOfAnInch its working, only in the unit TenthsOfAMillimeter the report renderer does something wrong.
Steps to reproduce:
Or: DemoApp.zip Simply install the attached Demo App and search after "PrinterTest - TestReport" and execute it with the printer "MM A6 Printer (Tenths)". I also added some other printers in the demo app to show, thats only not working for the TenthsOfAMillimeter and only if its smaller than A4. For the A4 printer setting with the same TenthsOfAMillimeter unit setting, its working.
I tested this behavior on the latest OnPrem/Docker BC Installation for 21.5