Microsoft SQL Server Reporting Services Web 服务将 html 转换为 pdf
我知道您可以开发自定义代码来通过 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,这是不可能的,当然,如果您知道所使用的参数,并且数据自创建原始数据以来没有更改,您当然可以将报告重新生成为 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.