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.




256 posts

Ultimate Geek
+1 received by user: 43


# 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
5833 posts

Uber Geek
+1 received by user: 147

Mod Emeritus
Trusted
Lifetime subscriber

  # 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

 


4317 posts

Uber Geek
+1 received by user: 156

Mod Emeritus
Trusted
Lifetime subscriber

  # 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
5833 posts

Uber Geek
+1 received by user: 147

Mod Emeritus
Trusted
Lifetime subscriber

  # 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

 


4317 posts

Uber Geek
+1 received by user: 156

Mod Emeritus
Trusted
Lifetime subscriber

  # 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
5833 posts

Uber Geek
+1 received by user: 147

Mod Emeritus
Trusted
Lifetime subscriber

  # 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

 




256 posts

Ultimate Geek
+1 received by user: 43


  # 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.

1141 posts

Uber Geek
+1 received by user: 207

Subscriber

  # 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!

 
 
 
 




256 posts

Ultimate Geek
+1 received by user: 43


  # 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.



256 posts

Ultimate Geek
+1 received by user: 43


  # 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 and LinkedIn »



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 »

Xero announces new smarter tools, push into the North American market
Posted 19-Jun-2019 17:20


New report by Unisys shows New Zealanders want action by social platform companies and police to monitor social media sites
Posted 19-Jun-2019 17:09


ASB adds Google Pay option to contactless payments
Posted 19-Jun-2019 17:05


New Zealand PC Market declines on the back of high channel inventory, IDC reports
Posted 18-Jun-2019 17:35


Air New Zealand uses drones to inspect aircraft
Posted 17-Jun-2019 15:39


TCL Electronics launches its first-ever 8K TV
Posted 17-Jun-2019 15:18


E-scooter share scheme launches in Wellington
Posted 17-Jun-2019 12:34


Anyone can broadcast with Kordia Pop Up TV
Posted 13-Jun-2019 10:51


Volvo and Uber present production vehicle ready for self-driving
Posted 13-Jun-2019 10:47


100,000 customers connected to fibre broadband network through Enable
Posted 13-Jun-2019 10:35


5G uptake even faster than expected
Posted 12-Jun-2019 10:01


Xbox showcases 60 anticipated games
Posted 10-Jun-2019 20:24


Trend Micro Turns Public Hotspots into Secure Networks with WiFi Protection for Mobile Devices
Posted 5-Jun-2019 13:24


Bold UK spinoff for beauty software company Flossie
Posted 2-Jun-2019 14:10


Amazon Introduces Echo Show 5
Posted 1-Jun-2019 15:32



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.