Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   before print my mail ;show me a "save a tree" message (http://www.outlookbanter.com/outlook-vba/73169-before-print-my-mail-show.html)

Kayıhan June 6th 08 08:01 AM

before print my mail ;show me a "save a tree" message
 
i want to hook my outlook printing jobs,
Before print my mail,i want my outlook ,show me a dialog box,whether i wanna
save a tree or not,,,
how can i program something like that
Thanks in advance

Michael Bauer [MVP - Outlook] June 6th 08 02:12 PM

before print my mail ;show me a "save a tree" message
 


What 'tree' do you talk about?

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 6 Jun 2008 00:01:01 -0700 schrieb Kayıhan:

i want to hook my outlook printing jobs,
Before print my mail,i want my outlook ,show me a dialog box,whether i

wanna
save a tree or not,,,
how can i program something like that
Thanks in advance


Sue Mosher [MVP-Outlook] June 6th 08 03:14 PM

before print my mail ;show me a "save a tree" message
 
Outlook provides no way to do that, at least not directly. It exposes no events for printing and has no programmatic method for printing data from a view, only the PrintOut event for individual items.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Kayıhan" wrote in message ...
i want to hook my outlook printing jobs,
Before print my mail,i want my outlook ,show me a dialog box,whether i wanna
save a tree or not,,,
how can i program something like that
Thanks in advance


Kayıhan June 9th 08 07:03 AM

before print my mail ;show me a "save a tree" message
 

i mean ,If it is not really necessary,dont print; thus ,save paper ,save
tree, save nature, welcome happy peaceful green world;lets dance... HOLOLA
HOLLA..
like that..







"Michael Bauer [MVP - Outlook]" wrote:



What 'tree' do you talk about?

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 6 Jun 2008 00:01:01 -0700 schrieb Kayıhan:

i want to hook my outlook printing jobs,
Before print my mail,i want my outlook ,show me a dialog box,whether i

wanna
save a tree or not,,,
how can i program something like that
Thanks in advance



Michael Bauer [MVP - Outlook] June 9th 08 09:08 PM

before print my mail ;show me a "save a tree" message
 

You might see if this helps. On the page is a sample for how to receive an
event when a user clicks on a toolbar button. The ID for the Print button is
4:
http://www.outlookcode.com/d/tips/commandbarfun.htm

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en



Am Sun, 8 Jun 2008 23:03:00 -0700 schrieb Kayıhan:

i mean ,If it is not really necessary,dont print; thus ,save paper ,save
tree, save nature, welcome happy peaceful green world;lets dance... HOLOLA
HOLLA..
like that..







"Michael Bauer [MVP - Outlook]" wrote:



What 'tree' do you talk about?

--
Best regards
Michael Bauer - MVP Outlook

: VBOffice Reporter for Data Analysis & Reporting
: Outlook Categories? Category Manager Is Your Tool:
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 6 Jun 2008 00:01:01 -0700 schrieb Kayıhan:

i want to hook my outlook printing jobs,
Before print my mail,i want my outlook ,show me a dialog box,whether i

wanna
save a tree or not,,,
how can i program something like that
Thanks in advance



RobCowell June 25th 08 01:45 PM

before print my mail ;show me a "save a tree" message
 
On 6 Jun, 15:14, "Sue Mosher [MVP-Outlook]"
wrote:
Outlookprovides no way to do that, at least not directly. It exposes no events for printing and has no programmaticmethodfor printing data from a view, only thePrintOutevent for individual items.


RANT

....and its on of the biggest intentional oversights I've seen in the
Outlook programming model. The net is full of frustrated developer
questions about how to get better control over printing form Outlook.
Would it really hurt the office team to expand upon this to let us
print to a non-default printer, at the very least?

As for the decision to switch to Word's (horrendous) HTML rendering
engine, don't get me started.....

/RANT


All times are GMT +1. The time now is 11:37 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com