
Print button moved when opening PDF in Firefox 26
I use Firefox with a company made website that allows me to create FedEx shipping labels. When I create the label, it opens in a pop up window as a pdf file. In Firefox 25 and previous versions, there was a button at the top that I could click for "print." This button now is placed on the right side in a drop down menu which has other options "go to first page" "go to last page" etc. Is there any way to get this button back separate from the others? It is not a huge deal but can be a pain when I create 100's of labels a day.
I also noticed when I open the file a different way that opens it in a new tab instead of a tab, it has the button separate. The only problem is, I have no way of forcing it to open in a tab the first time I make the label, I have to go back to it after it's created which takes even longer.
Anyone know how I can get it back to how it was? Worst case scenario I will reinstall 25.0.1 or just deal with it. Thanks in advance.
Chosen solution
Or... you can use a custom style rule to prevent Firefox from shifting the print button regardless of the width of the window.
@namespace url(http://www.w3.org/1999/xhtml); div#toolbarContainer button#print { display:inline-block !important; }
This rule can be applied either by creating/editing a userContent.css file, or using the Stylish extension. (Screen shot shows the rule in Stylish, with a narrow Firefox in the background.) More detail if you want to try it.
Read this answer in context 👍 2All Replies (5)
The toolbar changes depending on the size of the window. As the width of the window is reduced, some of the controls from the bar move onto the overflow drop-down. Can you enlarge the pop-up windows? You might be able to drag the lower right corner or, if Mac works like Windows, if you double-click the title bar of a pop-up window it would be maximized.
Some sites may code their pop-ups not to be resizable. There is a way to override this if you run into that problem. (Too detailed to describe if not relevant.)
Thanks for the quick response. I made the post using my Macbook but the computer we use to create the labels is actually a Windows 7 machine.
We tried both stretching the window and maximizing it, but the buttons stay put. It looks like the pop ups for this internal site are set to not be resizable. Let me know if there is a way to fix this, our other option is to uninstall 26 and reinstall 25.0.1 which wouldn't be too big of a deal.
I also have a related issue but may require a new topic, you tell me.
When we open the label in the popup window and print it using the print button, the label prints perfectly fine. When we try to print using CTRL + P it will also print the label, but the margins are way off and not all of the label is printed onto the page (FedEx won't accept them.) This happens when printing the exact same label, one after the other. I compared the print settings using either method and they are exactly the same. This workaround for the original issue would actually be the best option since pressing CTRL + P is faster than clicking print (once again this is only important since it is done 100's of times a day which equates to a lot of wasted time.) As far as I know it has always been like this, no matter what version of Firefox.
Thanks for your help! Let me know if screen shots or any more info will help.
Chosen Solution
Or... you can use a custom style rule to prevent Firefox from shifting the print button regardless of the width of the window.
@namespace url(http://www.w3.org/1999/xhtml); div#toolbarContainer button#print { display:inline-block !important; }
This rule can be applied either by creating/editing a userContent.css file, or using the Stylish extension. (Screen shot shows the rule in Stylish, with a narrow Firefox in the background.) More detail if you want to try it.
I hadn't noticed your reply before posting.
I'm not sure why Ctrl+p gives you a different print than the button; in my case, on Windows 7, the margins come out the same. These are modestly sized, less than 0.5 inches. Could you check your margin sizes? Either:
- File menu > Page Setup
- orange Firefox button > Print menu > Page Setup
I created the userContent.css file and it works perfectly! Thank you very much.
I checked the margins as well, they are all set to 0.5. I also rechecked all the settings in the print screen which comes up after hitting CTRL P and they are the exact same as if you hit the print button while vieweing a pdf in Firefox. I can take some pictures of the labels if you want to see for yourself. Very strange.