Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.