Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Printing emails from outlook.office365.com is failing.

  • 8 replies
  • 1 has this problem
  • 1 view
  • Last reply by gad2

more options

Any email that is over one page has the text shrunk so small it can not be read. If you print in IE or Chrome this is not an issue.

Any email that is over one page has the text shrunk so small it can not be read. If you print in IE or Chrome this is not an issue.
Attached screenshots

Chosen solution

In the bug tracking system (1565682), someone mentioned a workaround:

"Since Firefox V 68.0.1 we now successfully print our mail using the "NEW Outlook trial/beta"."

Visually, you'll see this difference:

Note: in order to get the correct part of the overlay to print, you have to use the print link provided in the page, just using Ctrl+p doesn't work.

Read this answer in context 👍 1

All Replies (8)

more options

Try resetting the ZOOM in Firefox for that domain, while you are viewing one of those pages.

https://support.mozilla.org/en-US/kb/font-size-and-zoom-increase-size-of-web-pages

more options

It is not a Zoom issue. I have already followed the troubleshooting guide from Mozilla. This issue is present on every PC I have tested. Both Windows 7 and Windows 10. The issue apparently is related to outlook online. The Zoom settings are normal and I have reset the printer settings back to default in about:config. Based on my investigation, it looks like Firefox is unable to separate pages in the email thread and tries to shrink-to-fit the entire email. Thanks

more options

It is also worth noting that it only happens on long email threads that are being printed. A single email prints just fine

more options

Hi gad2, this is a nightmare!

So the first problem is that some element do not "wrap" and therefore Firefox has to shrink them down to fit entire lines within the margins. There are hundreds of style rules in the document that specify

white-space: nowrap

and those probably are not helping. We can override all the white-space rules in one go using this (it simply tells Firefox to do what it normally does with white-space):

@media print {
  /* Override "nowrap"  when printing */
  * {
    white-space: unset !important;
  }
}

You can use an extension like Stylus (https://addons.mozilla.org/firefox/addon/styl-us/) to apply rules like that to sites automatically.

Now this doesn't solve all our problems because the content cuts off. There are certain style rules that Firefox treats as creating unbreakable blocks. Instead of being split over multiple pages, the content just runs off the bottom of the page. Frustrating. I have an add-on that lets you inject style changes into pages to improve the page breaking behavior, but it doesn't cover the white-space problem.

https://addons.mozilla.org/firefox/addon/printable-the-print-doctor/

(This is giving me a headache.)

I think if you have a chance to complain to Microsoft about this, it might be useful.

Modified by jscher2000 - Support Volunteer

more options

I will apply this coming week and post results. Thanks!

more options

The message header area is also a disaster. This helps somewhat:

@media print {
    /* Override "nowrap"  when printing */
    body, div, p, span {
        white-space: normal !important;
    }
    pre {
        white-space: pre-wrap !important;
    }
    /* Widen subject line */
    div.showOnPrint > div:nth-of-type(1) {
        width: 100% !important;
    }
    /* Fix text color and alignment of headers */
    div.showOnPrint > div:nth-of-type(3) > div:nth-of-type(1) span {
        color: #000 !important;
        display: inline !important;
    }
    div.showOnPrint > div:nth-of-type(3) > div:nth-of-type(1) div {
        min-width: 75% !important;
        float: none !important;
        padding: 0px !important;
        margin: 0px !important;
        border: none !important;
    }
}

I saved it here: https://userstyles.org/styles/173921/clean-up-office365-owa-message-printout

more options

Chosen Solution

In the bug tracking system (1565682), someone mentioned a workaround:

"Since Firefox V 68.0.1 we now successfully print our mail using the "NEW Outlook trial/beta"."

Visually, you'll see this difference:

Note: in order to get the correct part of the overlay to print, you have to use the print link provided in the page, just using Ctrl+p doesn't work.

more options

Thanks so much for your assistance.