印刷画布
我无法让 IE 打印我的画布(使用 excanvas 生成)...我正在使用最新版本的 excanvas。
http://dl.dropbox.com/u/997831/canvas.html
(注意:我已经尝试让画布元素已经在页面上,而不是使用 document.createElement 创建它)
I can't get IE to print my canvas (generated using excanvas)... I'm using the most recent version of excanvas.
http://dl.dropbox.com/u/997831/canvas.html
(Note: I already tried having the canvas element already on the page instead of creating it with document.createElement)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,这里没有好的答案。关于以下问题,问题已经开放了一年多尚未得到答复的画布打印。您可以尝试 excanvas 的 silverlight 版本好一点,但仍然遇到类似的问题。
现在正确打印的唯一方法是打印屏幕,然后打印图像。除非出现更新版本的 excanvas 或发布 IE9,否则 IE 上的本机打印将无法正常工作。
Unfortunately, there is no good answer here. There has been a ticket open for well over a year regarding the printing of excanvas that has yet to be answered. You could try the silverlight version of excanvas it's a little better but still suffers from similar problems.
The only way to get it printed properly now would be doing a print screen and then printing the image. Unless an newer version of excanvas comes out or IE9 is released, native printing on IE just isn't going to work.
我目前最好的办法是打印预渲染图像
(请参阅 Google 代码上的 wkhtmltoimage)
my best shot currently is printing pre-rendered image
(see wkhtmltoimage on google code)