Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to print only the first page of an email by default ?

576 views
Skip to first unread message

northon

unread,
May 29, 2012, 5:09:01 AM5/29/12
to
Hello,
I'm looking for a way to setup a default print range to (page 1-1)

My target is to setup my about:config properties so that when I press
print button I'm not prompted with anything it just prints the first
page of an email.
So far I've set:
print.always_print_silent -> true
print.show_print_progress -> false

This way it prints the whole email... and I fail to find any info how
to make it print only the first page.

Do you have any idea how to print only the first page of an email by
default ?

Greywolf

unread,
May 29, 2012, 8:50:16 AM5/29/12
to
The only way I can think of to do what you want is to figure out how
bypass the Print dialogue and send the appropriate control code(s)
directly to the printer from Tbird. I'm sure it could be done, but it
would be complicated. You'd need to know a fair deal about control
codes, passing them between applications, and of course programming.

Good luck,
Wolf K.

g

unread,
May 29, 2012, 9:43:41 AM5/29/12
to mozilla thunderbird support

On 05/29/2012 09:09 AM, northon wrote:
<>

> Do you have any idea how to print only the first page of an email by
> default ?
-=-

first off, an email is one page.

second, printing of a "page" is not determined by thunderbird, it is
determined by the print routine that thunderbird passes the printing to.

to define a "page", one must define how many lines per vertical inch print
routine is to use, including margin at top of page. along with number of
characters to a line and margin at sides of page. all of which will vary
by the font type and size.

all of which is configured in print routine used by thunderbird.

then, consideration must be given to fact that every one who sends email,
do not use the same line wrap setting. some do not use line wrap settings
at all.

next, printing of an email can be can be initiated via three basic
processes. print email from thunderbird, save email as a text file,
or, 'drag and drop' pasting.

this does not answer your question, but it does show you that your
question is over simplified and further defining is needed.

--

peace out.

tc.hago,

g
.

*please reply "plain text" only. "html text" are deleted*

****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
The installation instructions stated to install Windows 2000 or better.
So I installed Linux.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****

signature.asc

Mike Easter

unread,
May 29, 2012, 10:23:47 AM5/29/12
to
northon wrote:

> My target is to setup my about:config properties so that when I press
> print button I'm not prompted with anything it just prints the first
> page of an email.

> Do you have any idea how to print only the first page of an email by
> default ?

I find myself trying to figure out what you are *actually* trying to do,
more lengthy explanation follows.

You are describing here how you are going about trying to do something
which you have in your mind as a target, but not spelling out the
'background' for why you have whatever you have in your mind, so it is
harder for others to see the more basic or essential fundamentals of the
problem.

Example of an imaginary background or 'back story':

- You only get one specific kind of email which you have any interest
in printing, and the rest of your email you have no interest in
printing, so you have no 'generic' need to print any email other than a
specific kind. It is easy for me to imagine that part of the scenario
because I have no interest in printing *ANY* of my email from Tb^1.

Then to continue the/my modified imaginary scenario, the one type of
mail you get which you have an interest in printing has a lot of
additional content besides that contained on the first page which
additional you have no interest in printing. In fact, you don't even
need to print all of the first page. There is something specific of
some special importance or purpose on that first page which is different
from the rest of the content so you want to print that part only, so you
have chosen to print the first page from Tb to accomplish your goal,
which might be accomplished in some other way.

--
In my experience in asking for help from other people, I find it
worthwhile to describe to the others exactly *WHAT* (and even WHY) I
want to do first, then I tell them how I'm trying to go about doing it
which doesn't work and perhaps why it doesn't work.

I often find that I should have gone about trying to do what I'm trying
to do in a different way/manner than I might have imagined. If you
leave out the part about what you are trying to do and only present your
failed method for trying to do it - something or other, it doesn't help
the helpers understand the problem as well as you could if you
enlightened them about your real target.



^1 ... and if I did get some content in an email that I desired to
print, I certainly wouldn't print it in/with Tb, but instead I would
'extract' the content by copy/paste and put it into some other
application which would allow me to manipulate the content's layout and
fonts and such more precisely.


--
Mike Easter


Lindsay Graham

unread,
May 31, 2012, 6:00:54 AM5/31/12
to Thunderbird List

On 29/5/12 23:43, g wrote:
> On 05/29/2012 09:09 AM, northon wrote:
> <>
>
>> Do you have any idea how to print only the first page of an email by
>> default ?
> -=-
>
> first off, an email is one page.
>
> second, printing of a "page" is not determined by thunderbird, it is
> determined by the print routine that thunderbird passes the printing to.
>
> to define a "page", one must define how many lines per vertical inch print
> routine is to use, including margin at top of page. along with number of
> characters to a line and margin at sides of page. all of which will vary
> by the font type and size.
>
> all of which is configured in print routine used by thunderbird.
>
> then, consideration must be given to fact that every one who sends email,
> do not use the same line wrap setting. some do not use line wrap settings
> at all.
>
> next, printing of an email can be can be initiated via three basic
> processes. print email from thunderbird, save email as a text file,
> or, 'drag and drop' pasting.
>
> this does not answer your question, but it does show you that your
> question is over simplified and further defining is needed.
>
Others may differ, but I found that an unhelpful and off-topic response,
g (do you not have a real name?). You may prefer some esoteric
definition of 'page', but the great majority would understand exactly
what Northon is looking for without any further definition.

Northon, I know this does not answer your specific question, but I
suspect you may want to print the first page to avoid earlier emails
that follow the first (ie, in situations where emails are top-posted).
I use the add-on PrintingTools -- a great little utility when you want
to print an email. It lets you, for example, print only the text that
you've selected (with headers in the format that you specify). Maybe
not quite the one-stop solution you're looking for, but I've found it
very useful indeed.

Lindsay Graham
Canberra, Australia


Ken Krupa

unread,
Jun 13, 2012, 10:24:24 AM6/13/12
to
On 5/29/2012 5:09 AM, northon wrote:
> Hello,
> ...
> Do you have any idea how to print only the first page of an email by
> default ?
I can't answer this either, but maybe this will help: I've found that if
you highlight a portion of the email, only that portion will print (same
as when doing a Reply).

Lindsay Graham

unread,
Jun 14, 2012, 12:18:53 AM6/14/12
to support-t...@lists.mozilla.org
Ken, that is what the PrintingTools add-on does (and a lot more
besides). But maybe the feature has been incorporated in later versions
of Tbird because it was such a good thing in PrintingTools. I'm still
using Tbird 3.1.20, so I don't know what's in later versions.

Lindsay Graham
Canberra, Australia

northon

unread,
Jun 22, 2012, 5:49:32 AM6/22/12
to
Hi,
Thanks a lot for all your comments.
The limitation of the first page is needed for very long emails I
receive every day. I want to keep all emails in the printed version.
But because sometimes there are dozens of pages, I would like to print
only the first page ( with title, headers, etc. ). I found nice add-
ons for autopring. But all of them print all pages of all emails.

Chris Ramsden

unread,
Jun 22, 2012, 6:40:01 AM6/22/12
to support-t...@lists.mozilla.org, andrzej...@gmail.com
northon wrote:

>
> Hi, Thanks a lot for all your comments. The limitation of the first
> page is needed for very long emails I receive every day. I want to
> keep all emails in the printed version. But because sometimes there
> are dozens of pages, I would like to print only the first page ( with
> title, headers, etc. ). I found nice add- ons for autopring. But all
> of them print all pages of all emails.
>
Did you follow any of the earlier discussion? "Page" is a null concept
in email; there is no recognition of a page break, or similar; it's just
one continuous flow of text.

Thunderbird, and its Add-ons can't know where the "first page" ends
because they know next to nothing about what you're printing on. Your
email messages will become "paginated" when printed, because paper comes
as physical objects with precise dimensions. Until you format your email
for printing, it simply doesn't have a "first page".

Surely the solution is to set your PRINTER to print just the first
"page"? The the printer's notion of a page (i.e. it runs off the end of
the sheet of paper) can be put to good use.

Maybe you can set up a second instance of your favourite printer, then
set its defaults to print only one page and direct your Thunderbird
printouts to this device.

Web pages are similar; look at the next large web page you print out.
Does your browser offer a selection of pages? Often not, since a large
web page is often logically one continuous document.

--

Chris Ramsden

northon

unread,
Jun 22, 2012, 8:00:26 AM6/22/12
to
Now it's clear for me. Thanks for your help !

On 22 Cze, 12:40, Chris Ramsden <chris.rams...@gmail.com> wrote:
> northonwrote:

Jay Garcia

unread,
Jun 22, 2012, 8:50:01 AM6/22/12
to
On 22.06.2012 04:49, northon wrote:
FWIW, I use SquirrelMail on occasion and it has a function called
"pagination" and it will break up lenghty emails into "pages" that can
be printed as such - any page on it's own. Perhaps we can find an addon
that can do "pagination", etc. I'll have a look when I get time.


--
Jay Garcia - www.ufaq.org - Netscape - Firefox - SeaMonkey - Thunderbird
Mozilla Contribute Coordinator Team - www.mozilla.org/contribute/
Mozilla Mozillian Member - www.mozillians.org
Mozilla Contributor Member - www.mozilla.org/credits/

Jay Garcia

unread,
Jun 22, 2012, 10:17:08 AM6/22/12
to
On 22.06.2012 04:49, northon wrote:

--- Original Message ---

> Hi,
> Thanks a lot for all your comments.
> The limitation of the first page is needed for very long emails I
> receive every day. I want to keep all emails in the printed version.
> But because sometimes there are dozens of pages, I would like to print
> only the first page ( with title, headers, etc. ). I found nice add-
> ons for autopring. But all of them print all pages of all emails.

I submitted a RFE bug (request for enhancement) requesting that a
feature be added to the current internal functionality to be able to
internally paginate a lengthy email.

See: https://bugzilla.mozilla.org/show_bug.cgi?id=767369

Add comments and/or vote for it.

Onno Ekker

unread,
Jun 23, 2012, 6:40:03 AM6/23/12
to
Op 22-6-2012 11:49 schreef northon het volgende:
Maybe you can use a special printer, like FinePrint, which offers the
option to only print the first page with it's FormFactory. I haven't
actually tried it, but it might be wort a shot.

See http://fineprint.com/fp/release-notes/ for more info on FinePrint.

Onno

0 new messages