从 ASP.NET 应用程序中打印多个不同格式的文件

发布于 2024-09-06 13:38:31 字数 268 浏览 3 评论 0原文

我们有一个业务应用程序,用户可以在其中上传文档,管理员稍后可以在其中查看它们。这些管理员想要打印这些文档,最好只需勾选文件列表表单中的复选框并单击“打印按钮”即可。

我的问题是如何附加不同的文档(当然可以是不同的格式),并将它们一次性发送到打印机。 我目前正在考虑将它们转换为通用格式(例如 pdf 的 xps,甚至是老式的 PostScript)并将该文件发送出去。不过我还没有找到任何转换工具。

有人在这些问题上有过经验吗?如果有,你的结论是什么?有没有好的转换工具,或者我走错了方向?

We have a business application where users can upload documents and where admins later review them. These admins want to print these documents, preferably by just ticking checkboxes in the file list form and clicking a "print button".

My problem is how to append the different documents, which of course can be of different formats, and send them to a printer in one go.
I am currently thinking of converting them into a common format (like xps of pdf, or even good old PostScript) and send that file out. I have not yet found any conversion tools though.

Has anyone had any experience in these matters, and if so, what were your conclusions? Are there any good conversion tools out there, or am I going in the wrong direction?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

成熟的代价 2024-09-13 13:38:31

如果用户选择打印多个文档,为什么要将它们打印为一个文档,我认为最好将它们逐个打印为单独的打印件,这样如果打印输出中断或出现其他问题,可能会更容易知道根据我的经验,当您打印大型文档时,打印机更有可能出错和/或速度缓慢。

所以总而言之,我建议最好保持原样。

If the user selects to print multiple documents why do you want to print them as one document, I'd thought it would be better to print them as separate prints one after another so that if the printout breaks or something it might be easier to know which went ok and which ones got stuck etc. And in my experience it seems like it's more likely that printers will go wrong and/or slow when you're printing huge documents.

So all in all I'd suggest that it might be better to leave them as is.

吹泡泡o 2024-09-13 13:38:31

Ho1你有一个很好的观点;根据我的经验,由于某种原因,大文档更容易出错。

在研究了几种不同的方法之后,我们得出了结论:
我们已经为客户提供了将不同文件下载为 zip 存档的方法,并且我们建议客户购买可以处理 zip 存档文件的批量打印软件。

这为他们提供了他们正在寻找的东西,即(接近)一键式打印解决方案,而不会给我们带来支持“ump-teen”不同文件格式的痛苦。

Ho1 you have an excellent point; large documents are for some reason much more error prone in my experience.

Having examined a few different approaches, we have reached the conclusion:
We have already provided the customer with a means of downloading the different files as a zip archive, and we advise the customer to acquire a batch printing software that can handle zip archived files.

This gives them what they are looking for, i.e. a (close to) one-click printing solution, without giving us the grief of supporting "ump-teen" different file formats.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文