Microsoft SQL Server Reporting Services Web 服务将 html 转换为 pdf

发布于 2024-09-28 09:27:22 字数 190 浏览 0 评论 0原文

我知道您可以开发自定义代码来通过 SQL Server Reporting Services(Web 服务 API)生成 pdf 报告。

我的问题是:你能利用相同的机制将任何 HTML 代码转换为 pdf 文件吗?

我的团队领导希望我以这种方式将 html 转换为 pdf,以尝试利用现有的报表服务参考。

非常感谢:)

I knew that you can develop customised code to generate pdf report via SQL Server Reporting Services (web services API).

My question is: can you utilize the same mechanism to convert any HTML code into pdf file?

My team lead wants me to convert html to pdf in this way to try to utilize the existing report services reference.

Much appreciated :)

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

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

发布评论

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

评论(1

等风也等你 2024-10-05 09:27:22

据我所知,这是不可能的,当然,如果您知道所使用的参数,并且数据自创建原始数据以来没有更改,您当然可以将报告重新生成为 PDF。

或者为什么不使用 HTML 到 PDF 转换器呢?有相当多种可供选择。

最后,你可以要求你的团队领导演示如何去做,毕竟这是他的工作之一,带路。

As far as I'm aware that can't be done, although of course you could regenerate the report as a PDF if you know the parameters used, and the data hasn't changed since the original was created.

Alternatively why don't you use a HTML to PDF convertor? There are quite a variety available.

Lastly you could ask your team lead to demonstrate how to do it, that's one of his jobs after all, to lead the way.

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