Acumatica:打印时的报表设计有所不同 [英] Acumatica: Report Design Different When Printed

查看:79
本文介绍了Acumatica:打印时的报表设计有所不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到报告的设计预览和打印是不同的. 我发现所有报告都是相同的. 因此,我尝试创建新的测试报告,并注意到背景颜色未在打印时呈现. 打印时如何保留设计?

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?

设计: +++

打印:

推荐答案

默认情况下,报告以HTML模式呈现.与HTML一样,在浏览器中看到的报告使用与发送到浏览器打印对话框的CSS样式不同的CSS样式.我很确定这样做的原因是为了适应打印机技术.在纯白色背景上打印会消耗大量墨水,而在白色背景上为黑色文本时,文本会更清晰易读.

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.

使用HTML渲染时,浏览器视图和打印预览会有所不同,以适应打印机的限制:

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

无论如何,HTML从来都不是用于精确渲染的,所以我认为CSS的改变是更好的选择,但是如果您想要精确的结果,只需切换到PDF模式即可提供精确的渲染.当报告以PDF模式显示时,打印预览应与浏览器中的PDF呈现非常匹配:

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:

通过单击呈现模式"按钮,每次手动切换到PDF都会很累,因此您可以在报告配置中更改默认模式:

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:

还可以编辑自定义报告或标准报告,以便它们在浏览器中默认为PDF呈现,而不是当前的HTML默认:

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:

要编辑报告,您将需要安装Acumatica Report Designer(在Acumatica ERP Windows Installer中),并使用EDIT REPORT按钮,然后使用报告设计器中的Save to Server file菜单项来保存报告修改:

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:

这篇关于Acumatica:打印时的报表设计有所不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆