A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , ,

Print an Outlook mail to file





 
 
Thread Tools Display Modes
  #1  
Old September 27th 06, 05:59 PM posted to microsoft.public.outlook.program_vba
Tobias Schröer
external usenet poster
 
Posts: 4
Default Print an Outlook mail to file

Hi,

is there a possibility to print a mail from Outlook 2003 directly to file?
I' m trying to generate a pdf document from the mail via the FreePdf XP
printer (see: http://www.freepdfxp.de). In Word I can name a target file
which to print into, but with Outlook I am lost.

Any suggestions?

Tobi
Ads
  #2  
Old September 28th 06, 07:22 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,264
Default Print an Outlook mail to file

Am Wed, 27 Sep 2006 17:59:57 +0200 schrieb Tobias Schröer:

Tobi, I don´t know FreePdf, I assume that you first need to save the e-mail
as a file and then pass that to FreePdf. You can save the e-mail by calling
its Save method, depending on the e-mails´s format you can save it as RTF,
TXT or HTML (and MSG, which is probably useless for FreePdf).

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


Hi,

is there a possibility to print a mail from Outlook 2003 directly to file?
I' m trying to generate a pdf document from the mail via the FreePdf XP
printer (see: http://www.freepdfxp.de). In Word I can name a target file
which to print into, but with Outlook I am lost.

Any suggestions?

Tobi

  #3  
Old September 28th 06, 09:40 AM posted to microsoft.public.outlook.program_vba
Michael Bednarek
external usenet poster
 
Posts: 14
Default Print an Outlook mail to file

On Wed, 27 Sep 2006 17:59:57 +0200, Tobias Schröer wrote in
microsoft.public.outlook.program_vba:

is there a possibility to print a mail from Outlook 2003 directly to file?
I' m trying to generate a pdf document from the mail via the FreePdf XP
printer (see: http://www.freepdfxp.de). In Word I can name a target file
which to print into, but with Outlook I am lost.

Any suggestions?


itmMailItem.PrintOut will print the current item to the current default
printer. However, Outlook doesn't provide any method to change the
current printer, although it could probably done with API calls. I
believe there are commercial Outlook add-ons which can do it.

The recommended method is to save the item, say as HTML, and then use
Microsoft Word via VBA to print it.

FreePDF also maintains a discussion list at
http://www.cvmx.de/g-news/thread.php?group=life.d.software.freepdf
which is also available as a newsgroup (life.d.software.freepdf) via
news://news.cvmx.de or news://news.life.de.

Good luck.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
  #4  
Old September 28th 06, 10:49 AM posted to microsoft.public.outlook.program_vba
Tobias Schröer
external usenet poster
 
Posts: 4
Default Print an Outlook mail to file

Hi,

first of all: thanks for your replies.

Michael Bednarek schrieb:
On Wed, 27 Sep 2006 17:59:57 +0200, Tobias Schröer wrote in
microsoft.public.outlook.program_vba:


is there a possibility to print a mail from Outlook 2003 directly to file?
I' m trying to generate a pdf document from the mail via the FreePdf XP
printer (see: http://www.freepdfxp.de). In Word I can name a target file
which to print into, but with Outlook I am lost.

Any suggestions?



itmMailItem.PrintOut will print the current item to the current default
printer. However, Outlook doesn't provide any method to change the
current printer, although it could probably done with API calls. I
believe there are commercial Outlook add-ons which can do it.


I've found something like that, too. But there were some problems
mentioned concering Outlook and changeing of the default printer.
Unfortunately I've lost the URL


The recommended method is to save the item, say as HTML, and then use
Microsoft Word via VBA to print it.


That is what I have done. Save as HTML and print via Word.
I just would have been nice to do it all in Outlook.


FreePDF also maintains a discussion list at
http://www.cvmx.de/g-news/thread.php?group=life.d.software.freepdf
which is also available as a newsgroup (life.d.software.freepdf) via
news://news.cvmx.de or news://news.life.de.

Good luck.


Tobi
  #5  
Old September 29th 06, 05:15 AM posted to microsoft.public.outlook.program_vba
Michael Bednarek
external usenet poster
 
Posts: 14
Default Print an Outlook mail to file

On Thu, 28 Sep 2006 10:49:31 +0200, Tobias Schröer wrote in
microsoft.public.outlook.program_vba:

first of all: thanks for your replies.

Michael Bednarek schrieb:
On Wed, 27 Sep 2006 17:59:57 +0200, Tobias Schröer wrote in
microsoft.public.outlook.program_vba:

is there a possibility to print a mail from Outlook 2003 directly to file?
I' m trying to generate a pdf document from the mail via the FreePdf XP
printer (see: http://www.freepdfxp.de). In Word I can name a target file
which to print into, but with Outlook I am lost.

Any suggestions?

[snip]

I've been thinking further on this subject: Outlook's limited printer
support (and the comparatively few complaints about it) indicates that
printing e-mail messages is not considered a useful activity, and I
agree with that (remember "paper-less office"?) Even Printing to PDF
doesn't make sense to me. What is it supposed to achieve?

PS: The above is not meant as snide or a put-down but as a genuine
attempt to discover the background for the requirement to print
e-mail messages to PDF.

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
  #6  
Old September 29th 06, 09:25 AM posted to microsoft.public.outlook.program_vba
Tobias Schröer
external usenet poster
 
Posts: 4
Default Print an Outlook mail to file

Michael Bednarek schrieb:
On Thu, 28 Sep 2006 10:49:31 +0200, Tobias Schröer wrote in
microsoft.public.outlook.program_vba:

[snip]
I've been thinking further on this subject: Outlook's limited printer
support (and the comparatively few complaints about it) indicates that
printing e-mail messages is not considered a useful activity, and I
agree with that (remember "paper-less office"?) Even Printing to PDF
doesn't make sense to me. What is it supposed to achieve?

PS: The above is not meant as snide or a put-down but as a genuine
attempt to discover the background for the requirement to print
e-mail messages to PDF.


That didn't came to my mind

The PDF printing of the e-mails is a customer's requirement. The mails
should be archived to a CMS in pdf format. As the customer is from the
public government sector, and they are a little stingy on that matter.
And the customer rules

Tobi
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I print a .prn file created by Outlook? dickiedoo Outlook - Using Contacts 1 September 20th 06 02:11 PM
how do i create outlprnt file to print contacts iamunable Outlook - Using Forms 1 August 28th 06 07:23 PM
How to print Selected Text of an E-mail msg in outlook 2003 ? Luqman Outlook - General Queries 2 May 24th 06 03:31 PM
How do I enable File and Print Sharing to allow Outlook Install Frank328 Outlook - Installation 0 January 18th 06 01:08 AM
Didn't Print current e-mail page in Outlook Express Boman Outlook - General Queries 1 January 17th 06 02:48 PM


All times are GMT +1. The time now is 03:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Bad Credit Mortgages - MPAA - Debt Consolidation - Credit Card - Credit Card