[Xprint] Re: Monospaced font in Thunderbird/Mozilla mail
Jay Smith
jay at JaySmith.com
Mon Sep 20 00:22:12 EDT 2004
THANK YOU!
I have now done this and tested.... and it works!
The funny thing is that I thought I would combine it with the CSS content
at http://www.jw-stumpel.nl/stestu.html (Section 9 - printing) but then I
realized that this was YOU and that you apparently had since updated that
page with this new information.
Anyway, I used your entire CSS "@media print" chunk and everything works.
Previously I had used your information to move aside the xprint font
directory to solve the missing header problem.
I am running Mozilla 1.7.2 on linux Red Hat 8.
An important note for your web page: on Mozilla 1.7.2 as it installs on Red
Hat 8, there is no userContent-example.css file in the chrome directory.
One must make the file from scratch.
I really, really, really appreciate the work you have put into this. If
you further update any of this information, I would very much like to be on
your notification list -- if you have one. It seems like you are the only
person on the planet that understands that there is a problem here!
Now only one problem remains (for me) and I cannot *any* attention on the
mozilla mail newsgroup about it: When printing emails (and in the print
preview), the "To:" message header is missing. The "To:" header is, of
course, present on screen when viewing the message, but it disappears when
printing (Subject, From, and Date are present). Oh, also, when forwarding
a message, the Date is missing from the Forward header chunk. Argh! Any
ideas of resources on these? As I said, repeated attempts on the newsgroup
got nothing.
Jay
Jan Willem Stumpel said the following on 09/19/2004 06:09 AM:
> It seems that the file userContent.css can also be used to
> obtain monospaced printout of mail messages from Mozilla and
> derivatives, making the print preview agree with the actual printout.
>
> Inside the @media print selector you just add
>
> .moz-text-plain {
> font-family: 'Courier New',courier,monospace !important;
> }
>
> Other hints relating to the appearance of mail (which is the
> printed appearance if the @media print selector is used) can
> possibly be found in
>
> http://lxr.mozilla.org/mozilla1.7/source/themes/modern/messenger/
>
> So far, I tested only .moz-text-plain (which is mentioned in the
> messageBody.css file). It works within userContent.css, provided
> the !important directive is used.
>
> Regards, Jan
>
--
Jay Smith
e-mail: Jay at JaySmith.com mailto:Jay at JaySmith.com
website: http://www.JaySmith.com
Jay Smith & Associates
P.O. Box 650
Snow Camp, NC 27349 USA
Phone: Int+US+336-376-9991
Toll-Free Phone in US & Canada:
1-800-447-8267
Fax: Int+US+336-376-6750
More information about the Xprint
mailing list