Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


228 posts

Master Geek
+1 received by user: 40


Topic # 12495 20-Mar-2007 12:33
Send private message

When an email is opened in Microsoft Outlook (any version) and the print option is selected the resultant printed page delivers the content of the email plus the header information which includes the following:

User name:
Line
From:
To:
cc:
Subject:


Content

Footer information.

What I am looking for is a way I can get outlook to print the email with the content only, none of the other information.

Ultimately I process an order which is sent to me via email and I want to be able to print that order out in duplicate, process it, then use one of the copies as the order/invoice to be put in with the parcel that is being sent out. I don't want the header info on that invoice that is sent out.

The order itself arrives as an html email and is not, and never will be, an attachment.

Thanks in advance to anyone that can help.

Create new topic
I iz your trusted friend
5785 posts

Uber Geek
+1 received by user: 137

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 64403 20-Mar-2007 13:04
Send private message

Not sure if this will be the solution for your or not, but it seems like it can print customised email style. http://www.outlookprinter.com/.




Internet is my backyard...

 

«Geekzone blog: Tech 'n Chips Takeaway» «Personal blog: And then...»

 

Please read the Geekzone's FUG

 


4304 posts

Uber Geek
+1 received by user: 152

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 64404 20-Mar-2007 13:20
Send private message

Can you not just select the content and print the selection? Works perfectly for me

I iz your trusted friend
5785 posts

Uber Geek
+1 received by user: 137

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 64406 20-Mar-2007 13:38
Send private message

It may work fine in Word but Outlook has its own print style.




Internet is my backyard...

 

«Geekzone blog: Tech 'n Chips Takeaway» «Personal blog: And then...»

 

Please read the Geekzone's FUG

 


4304 posts

Uber Geek
+1 received by user: 152

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 64407 20-Mar-2007 13:41
Send private message

Nope, it still works.

Select what you need, go to print and in the print dialog select Print selected

Just did it two minutes ago. Perfect


Edit: hmm I see we actually have a different plugin that does this. I will find out what it is

I iz your trusted friend
5785 posts

Uber Geek
+1 received by user: 137

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 64412 20-Mar-2007 14:20
Send private message

Brad, how's the shoe taste like? hehe...

See on a plain Outlook, there's only Memo style or Table style for printing email. And there's no normal print dialogue for "Print Selected" as with other Office applications.




Internet is my backyard...

 

«Geekzone blog: Tech 'n Chips Takeaway» «Personal blog: And then...»

 

Please read the Geekzone's FUG

 




228 posts

Master Geek
+1 received by user: 40


  Reply # 64413 20-Mar-2007 14:22
Send private message

Thanks for the responses, I'd be interested to know what that plugin is if it does what you say, although I'd still love a work around that was more suitable for a work environment where any number of staff could print out the email. I tried the highlight and print method here with no luck.

1015 posts

Uber Geek
+1 received by user: 148

Subscriber

  Reply # 64422 20-Mar-2007 15:09
Send private message

While browsing this thread, I just noticed a Google Advert at the top of the page for "Professional Outlook Plugins" and http://www.sperrysoftware.com/Outlook/Auto-Print.asp may do what you are looking for.

Gives a whole new meaning to the word "forum" I was deciding - just post a key-word and wait for the Ad to appear in context!



228 posts

Master Geek
+1 received by user: 40


  Reply # 64431 20-Mar-2007 15:42
Send private message

Thanks for that. I had a look and at first glance thought it would do it, but having seen the screen shots of the software it appears it doesn't. There is no facility o option out the header information. Worse still, and a great way to lose custom is to not offer a trial or demo. It's buy it or nothing. I'll move on and keep looking.



228 posts

Master Geek
+1 received by user: 40


  Reply # 64485 21-Mar-2007 07:19
Send private message

I ended up by doing it this way, works great too! (you have to have Word though)



1. Start Outlook

2. Click Tools->Macro->Visual Basic Editor

3. If not already expanded, expand Modules and double-click on Module1

4. Copy and paste the script into the right-hand pane of the VB Editor

5. Click the diskette icon on the toolbar to save the changes

6. Close the VB Editor

7. Click Tools->Macro->Security

8. Set Security Level to Medium

9. Select one of the messages containing the order.

10. Run the macro by clicking Tools->Macro->Macros, select this macro, click Run.



Sub PrintMessageBodyOnly()

Dim olkMsg As Outlook.MailItem, _

wrdApp As Object, _

wrdDoc As Object, _

objFSO As Object, _

objFile As Object, _

strFilepath As String

Set objFSO = CreateObject("Scripting.FileSystemObject")

strFilepath = objFSO.GetSpecialFolder(2) & "\MsgBody.htm"

Set objFile = objFSO.CreateTextFile(strFilepath, True)

Set olkMsg = Application.ActiveExplorer.Selection(1)

objFile.Write olkMsg.HTMLBody

objFile.Close

Set wrdApp = CreateObject("Word.Application")

Set wrdDoc = wrdApp.Documents.Open(strFilepath)

wrdDoc.PrintOut

wrdDoc.Close False

Set wrdDoc = Nothing

Set wrdApp = Nothing

Set objFile = Nothing

Set objFSO = Nothing

Set olkMsg = Nothing

End Sub

As an adjunct to this I had trouble getting it to work in conjunction with a rule. The following version of the above facilitates it being included in a rule as a 'run a script' option on the action to peform.

Now, when an email arrives, based on my rule, it checks the subject for two words. When a match is found it automatically sends the message body to the printer with none of the other junk associated with it.

Absolutely perfect for what I wanted. I thought I'd post the code here just in case anyone else has a use for it.

The upated code that allows it to be included in a rule:

Sub PrintMessageBodyOnly(Item As Outlook.MailItem)
Dim wrdApp As Object, _
wrdDoc As Object, _
objFSO As Object, _
objFile As Object, _
strFilepath As String
Set objFSO = CreateObject("Scripting.FileSystemObject")
strFilepath = objFSO.GetSpecialFolder(2) & "\MsgBody.htm"
Set objFile = objFSO.CreateTextFile(strFilepath, True)
objFile.Write Item.HTMLBody
objFile.Close
Set wrdApp = CreateObject("Word.Application")
Set wrdDoc = wrdApp.Documents.Open(strFilepath)
wrdDoc.PrintOut
wrdDoc.Close False
Set wrdDoc = Nothing
Set wrdApp = Nothing
Set objFile = Nothing
Set objFSO = Nothing
End Sub

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.