Thunderbird Print Layout Sytle (From,Date font format)

User Help for Mozilla Thunderbird
Locked
tbird-user-at-home
Guest

Thunderbird Print Layout Sytle (From,Date font format)

Post by tbird-user-at-home »

I would like to change the way that my thunderbird mail messages are printed. I would like to be able to increase the size of the font for From: and Date: and Subject:, as well as make them bold. I have hunted through the forums and KnowledgeBase to no avail. There were a couple of forum posts for something similar, but there were no replies.
Guest
Guest

Post by Guest »

I too would like this capability. MS Outlook prints nicely, even if you can't change it. Is this covered under a chrome, or is it in some sort of css file? Or is it hard-coded?
User avatar
Daifne
Moderator
Posts: 123071
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post by Daifne »

Check out the settings under File>Page Setup
Guest
Guest

Post by Guest »

Thank you for responding. I have looked under File>Page Setup. That only gives you the ability to change the items printed in the header and footer (page#, page of pages, title, url, and date/time), and the page orientation (landscape/portrait, margin). It does not enable you to change the formating of message elements; Change the size, style of font for the "From:, Date:, and Subject:" elements from the message. It also does not allow you to create borders or horizontal rules between the header information and the body of the message. The default print style is very informal. I am looking to make it visually more professional.

For example:

<a href="http://www.frankowen.com/images/prntremail1.jpg">http://www.frankowen.com/images/prntremail1.jpg</a>

<a href="http://www.pocketnow.com/html/portal/reviews/0000000454/review/printedScan-email-sm.jpg">http://www.pocketnow.com/html/portal/reviews/0000000454/review/printedScan-email-sm.jpg</a>

<a href="http://muttprint.sourceforge.net/pics/sampe.png">http://muttprint.sourceforge.net/pics/sampe.png</a>

Notice how the font is different, or graphics were added? I just need to know where to start.

Thank you.
User avatar
Daifne
Moderator
Posts: 123071
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post by Daifne »

Yes, I do know what you were asking. In Thunderbird itself, that's all that's available. Your printer may offer some more options. When your printer dialog comes up, see what's available.
Guest
Guest

Post by Guest »

Thank you for responding. Unfortunately this is not a printer option either. It is coded somewhere in Thunderbird. I am sure that it is in some *.js or *.css type of file. I am just trying to find out which one so that I can make my own modification.

Thanks again.
klades
Posts: 855
Joined: May 3rd, 2004, 1:20 pm
Contact:

Post by klades »

Try to put in userContent.css file these lines:

Code: Select all

TABLE.header-part1,TABLE.header-part2{
        font-family: arial !important;
        font-size:14px !important;
        font-weight:bold !important;
        }

Arial 14px bold is of course an example, you can change it as you wish.
I don't know if you mean exactly this, anyway HTH, Paolo
tbird-user-at-home
Guest

Thanks so Much!!!

Post by tbird-user-at-home »

Thank you klades!!! That is exactly along the lines of my search. Below is my change to 'userContent.css':
<br />
<code>
TABLE.header-part1,TABLE.header-part2{
font-family: Georgia !important;
font-size:12px !important;
font-weight:bold !important;
}
TABLE.header-part2{
border-bottom: solid 3px !important;
}
</code>
<br />

Before I close this thread, can you tell me how I could add graphics? Would I do that using the 'user.js' file? I am afraid that I don't know javascript, so if you could give me a good resource to learn from, that would be great.
klades
Posts: 855
Joined: May 3rd, 2004, 1:20 pm
Contact:

Re: Thanks so Much!!!

Post by klades »

tbird-user-at-home wrote:Before I close this thread, can you tell me how I could add graphics? Would I do that using the 'user.js' file? I am afraid that I don't know javascript, so if you could give me a good resource to learn from, that would be great.

Even if has "js" extension, the user.js file doesn't contain javascript code, but the customized preferences of Thunderbird, with the same syntax of prefs.js. And I believe that there is no preference about the layout printing.
I believe also that it's impossibile, as it is, add graphics to the printing headers (I tried also using the pseudoselector "after" in userContent.css, but it doesn't work).
For not-english users it could useful a small extension written by me that change the language of the date in printing headers, as default always in english: it's called <a href="https://nic-nac-project.de/~kaosmos/index-en.html#printmydate">PrintMyDate</a> , for now it's localized just in italian, but it's very easy to translate.
Ciao, Paolo
tbird-user-at-home
Guest

Thread Closed

Post by tbird-user-at-home »

Thank you again klades.

I have been playing around with DOM Inspector. I have learned a lot, but have not found anything more relevant than what you explained earlier. Thank you for all of your help. Hopefully others find this thread helpful too.

As far as I am concerned, this thread is closed.
Mi K
Guest

Re: Thunderbird Print Layout Sytle (From,Date font format)

Post by Mi K »

Thank you klades!!! That is exactly along the lines of my search. Below is my change to 'userContent.css':
<br />
<code>
TABLE.header-part1,TABLE.header-part2{
font-family: Georgia !important;
font-size:12px !important;
font-weight:bold !important;
}
TABLE.header-part2{
border-bottom: solid 3px !important;
}
</code>
<br />

Before I close this thread, can you tell me how I could add graphics? Would I do that using the 'user.js' file? I am afraid that I don't know javascript, so if you could give me a good resource to learn from, that would be great.


Wow, that helped a lot. Still no extension to control how e-mail headers are printed in Thunderbird? I'm trying to switch to TB in my office but my boss only sees printed mails and... they do look uglier than in Outlook... :( I wold hate to have to go back to taht ap just because of "ugly e-mail prints". Anyone? Thanks in advance...
User avatar
SK.
Moderator
Posts: 20814
Joined: October 18th, 2007, 1:28 pm
Location: Third Rock From The Sun
Contact:

Re: Thunderbird Print Layout Sytle (From,Date font format)

Post by SK. »

Open a new thread instead of dredging up one more than three years old.
John 3:16 and Philippians 4:13
Locked