开发者

Javascript - Debugging window.print()

I am being forced to abuse HTML. I am creating an html webpage that is actually a form meant for print output. In other words, this should be a PDF. It isn't. It won't be cause the 3rd party stuff costs too much and at this point I do not have time to convert it all.

It is all HTML and I print it via js "window.print()". In the latest FF The print comes out one way. In IE 7 another. Both are wrong.

I don't seem to have any way to perform a print-preview so I am burning through trees like a forest fire. Does anyone have any tips for troubleshooting the print functionality? I mean, I may have to start explorin开发者_JAVA技巧g the damn postscript or something. I'm clueless.


Get yourself a virtual PDF printer plugin.

MacOS X has this built in. I'm sure I've seen similar for Windows systems.


have you looked into free Print to PDF solutions?


Alexey has a good option... also you can try Primo PDF (Windows) that allows you to print directly to a PDF document... this will save trees

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜