-->

Acumatica: Report Design Different When Printed

2019-07-25 04:28发布

问题:

I noticed that the report's designs preview and printed are different. I found it that all of the reports are the same. So I tried to create new test report and notice that background colors are not rendered on print. How too keep the design when printing?

Design:

+++

Printed:

回答1:

By default Reports are rendered in HTML mode. As is often the case with HTML, the report as seen in the browser uses a different CSS style then the one sent to the browser print dialog. I'm pretty sure the reason for this is to accommodate printer technology. Printing solid dark backgrounds uses up a lot of ink and text is more legible when it's black text over a white background.

With HTML rendering, browser view and print preview differ to accommodate printer limitations:

HTML was never meant for accurate rendering anyway so I think the CSS change is for the better but if you want exact result just switch to PDF mode which is meant to provide accurate rendering. Print preview should match very closely the PDF rendering in browser when the report is displayed in PDF mode:

It can get tiring to manually switch to PDF each time by clicking the rendering mode button so you can change the default mode in the report configuration:

It is also possible to edit your custom reports or the standard ones so they default to PDF rendering in the browser instead of the current HTML default:

To edit report you will need to install Acumatica Report Designer (it is in Acumatica ERP Windows Installer) and use the EDIT REPORT button and then use Save to Server file menu item in the report designer to save the report modifications:



回答2:

Have you checked the Background Graphics checkbox in the printing dialog of your printing preview program? It's primarily in the More Settings section. Please find below example for Google Chrome's dialog:



标签: acumatica