为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Print preview

more options

Hi,

I work at a websoftware company. A lot of our customers work with Firefox and I often get the 'complaint' that Firefox does not show a print preview when they print an invoice. For comparison, Chrome does show the print preview.

But of course Firefox has lots of add ons! Surely one of these can fix this issue. My problem is that these add-ons seem to be about print previews for web pages. In this scenario I click an invoice and then hit a Print button in my own software. The browser responds to this request with (in case of Chrome) a print preview with print settings on the left or (in case of Firefox) only with a print dialogue and no print preview. Is there an add-on that can provide me with a print preview in Firefox in this scenario?

So I'm not printing a web page, but a file. I hope my request is clear, if not, feel free to ask for info. Hope you can help :)

Best regards,

Sanne Heemskerk

Hi, I work at a websoftware company. A lot of our customers work with Firefox and I often get the 'complaint' that Firefox does not show a print preview when they print an invoice. For comparison, Chrome does show the print preview. But of course Firefox has lots of add ons! Surely one of these can fix this issue. My problem is that these add-ons seem to be about print previews for web pages. In this scenario I click an invoice and then hit a Print button in my own software. The browser responds to this request with (in case of Chrome) a print preview with print settings on the left or (in case of Firefox) only with a print dialogue and no print preview. Is there an add-on that can provide me with a print preview in Firefox in this scenario? So I'm not printing a web page, but a file. I hope my request is clear, if not, feel free to ask for info. Hope you can help :) Best regards, Sanne Heemskerk

所有回复 (3)

more options

I'm not too sure on this question, I'd presume your settings within the client were corrupted. In regards, please refer to this thread; https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox

This should help fix your settings and allow you to see what you print before hand!

more options

Using the thread you suggested I have reset my print settings. However, this did not solve my problem. Maybe I should mention that with using the Print button in the menu I can generate a print preview of the web page I am currently browsing. However, I want to get a print preview of a file that I am printing. This file is not visible right away, it is a print job that is sent to the browser. In Firefox only a print dialogue is opened in a pop-up, but I would like to see a print preview of the file as well. Is this possible?

more options

sanneheemkerk1 said

Maybe I should mention that with using the Print button in the menu I can generate a print preview of the web page I am currently browsing. However, I want to get a print preview of a file that I am printing. This file is not visible right away, it is a print job that is sent to the browser. In Firefox only a print dialogue is opened in a pop-up, but I would like to see a print preview of the file as well.

Do you mean you are using the window.print() function in your site? As far as I know, there's no way to divert that to a preview page. If you are delivering the print job in a popup window and the window doesn't allow access to the application menu button on the toolbar or the menu bar, you can add features to your window.open() call to include those, e.g.,

window.open(strUrl, '_blank', 'toolbar,menubar,scrollbars');

Note that on Windows, "menubar" only allows for the classic menu bar, the user ultimately decides whether to display that bar.