The print window settings dialog box will not come up
When attempting to print a website, I need to select the option to print as laid out on the screen as described in this how-to: https://support.mozilla.org/en-US/kb/how-print-websites#w_print-window-settings.
However, I have attempted to get this dialog box to come up on 4 different machines that all have Firefox 32 installed and updated. The operating systems of the 4 machines were 2 Windows 7 64bit, 1 Fedora 20 64bit, and Windows 8.1 64bit.
It appears that using the print button launches the print preview screen. Pressing CTRL+P does not open this page either. Is this something I need to change in about:config? I already reset all the printing settings and reset firefox on these machine to see if that was the issue.
Please let me know how to correct this behavior.
Svi odgovori (5)
Is it possible Firefox 32 isn't detecting the presence of frames in the page? Could you post a link to the page where you don't get the frame-related options?
It isn't an issue of not detected frames. The dialog box does not come up. The primary reason for asking this was to get Office 365 emails to print properly. They only print the header and footer, and the solution is to set Firefox to print as displayed. I just can't seem to find a way to get that print setting dialog box to come up.
I can't speak to Linux, but Ctrl+p should work on Windows systems. In theory, a web page could intercept Ctrl+p so that it doesn't reach Firefox's UI, but that seems unlikely on Office 365.
Doesn't the site have a printable view that doesn't use frames at all? Usually email sites have either a printer icon or menu item to launch a more easily printed version of the message in a separate window. Maybe the site is trying to do that when you press Ctrl+p but the popup blocker is preventing it?
On Windows 7 and Windows 8.1 systems, it does not come up. I did try disabling the pop-up blocker, but it just won't load the dialog box. It is driving me a bit crazy. And Office 365 does put the email out to a new window, but it still has frames :(. Microsoft's support forum advised setting IE and other browsers to print as displayed. The issue is I can't seem to figure out how to get that dialog box to come up. I have tried disabling the native dialog box in about:config, but didn't have any success with that either
Does the pop-up window allow you to open the web console (Windows: Ctrl+Shift+k)? If so, try pasting this after the caret (>>) and press Enter:
window.print();
That should display the print dialog unless it is blocked.
Obviously not practical to do that every time!
Related thought: might be able to inject a Greasemonkey userscript into the page to pop up the print dialog, but need to craft it so it doesn't run 4 times (once for the frameset and once for each of the frames).