Acumatica: Report Design Different When Printed

左心房为你撑大大i 提交于 2019-12-11 10:22:00

问题


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:



来源:https://stackoverflow.com/questions/54804369/acumatica-report-design-different-when-printed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!