X
Tap here to go to the mobile version of the site.

Support Forum

Printing emails from outlook.office365.com is failing.

Posted

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
Quote

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

More Information

the-edmeister
  • Top 25 Contributor
  • Moderator
5397 solutions 40134 answers

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

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
Was this helpful to you? 0
Quote

Question owner

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

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
Was this helpful to you?
Quote

Question owner

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

It is also worth noting that it only happens on long email threads that are being printed. A single email prints just fine
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

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.

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): <pre>@media print { /* Override "nowrap" when printing */ * { white-space: unset !important; } } </pre> 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

Was this helpful to you?
Quote

Question owner

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

I will apply this coming week and post results. Thanks!
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

Helpful Reply

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

The message header area is also a disaster. This helps somewhat: <pre>@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; } } </pre> I saved it here: https://userstyles.org/styles/173921/clean-up-office365-owa-message-printout
Was this helpful to you? 1
Quote
jscher2000
  • Top 10 Contributor
8684 solutions 70998 answers

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.

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: <img src="https://user-media-prod-cdn.itsre-sumo.mozilla.net/uploads/images/2019-07-28-15-38-10-c7b5f7.png" width="450"> 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.
Was this helpful to you? 1
Quote

Question owner

Thanks so much for your assistance.

Thanks so much for your assistance.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.