![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have a customer that wants to be able to print attachments from Outlook and
include an automatically generated date on the printed attachment. Any help would be appreciated. |
Ads |
#2
|
|||
|
|||
![]()
Would the file types of these attachments always be known? You'd only use
Outlook programming part of the way, as editing the file associated with the attachment would require the use of any available APIs that can work with that file type. For example, if it's a Word attachment, you'd use the Word Object Model to edit the file; the Microsoft Scripting Runtime Library for ASCII based files; Excel for .xls, whatever Adobe API's exist for .pdfs, etc. etc. You'd actually only use Outlook for saving the attachments locally in any case. You'd need to use the Win32 API to execute a print command for the modified files, or even maybe the API for the document type itself to print it from the associated application. Your Outlook code would also need to delete the temporarily saved attachment once it is edited and printed. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: I have a customer that wants to be able to print attachments from Outlook and include an automatically generated date on the printed attachment. Any help would be appreciated. |
#3
|
|||
|
|||
![]()
Word and Adobe Acrobat would be the two formats.
If I understand correctly, I would use Outlook Object Model to save the attachment in a location on the hard drive, then open the document using the Word Object Model and add the date stamp and save the file with the new date information. Is that correct? Since I'm new at the programming, I'm paraphrasing what I think you are saying. Am I correct? "Eric Legault [MVP - Outlook]" wrote: Would the file types of these attachments always be known? You'd only use Outlook programming part of the way, as editing the file associated with the attachment would require the use of any available APIs that can work with that file type. For example, if it's a Word attachment, you'd use the Word Object Model to edit the file; the Microsoft Scripting Runtime Library for ASCII based files; Excel for .xls, whatever Adobe API's exist for .pdfs, etc. etc. You'd actually only use Outlook for saving the attachments locally in any case. You'd need to use the Win32 API to execute a print command for the modified files, or even maybe the API for the document type itself to print it from the associated application. Your Outlook code would also need to delete the temporarily saved attachment once it is edited and printed. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: I have a customer that wants to be able to print attachments from Outlook and include an automatically generated date on the printed attachment. Any help would be appreciated. |
#4
|
|||
|
|||
![]()
Yup, you got it. I've never worked with Adobe's APIs before, so I can't help
you there. I'm sure there's an SDK on their website; hopefully it's easy to figure out. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: Word and Adobe Acrobat would be the two formats. If I understand correctly, I would use Outlook Object Model to save the attachment in a location on the hard drive, then open the document using the Word Object Model and add the date stamp and save the file with the new date information. Is that correct? Since I'm new at the programming, I'm paraphrasing what I think you are saying. Am I correct? "Eric Legault [MVP - Outlook]" wrote: Would the file types of these attachments always be known? You'd only use Outlook programming part of the way, as editing the file associated with the attachment would require the use of any available APIs that can work with that file type. For example, if it's a Word attachment, you'd use the Word Object Model to edit the file; the Microsoft Scripting Runtime Library for ASCII based files; Excel for .xls, whatever Adobe API's exist for .pdfs, etc. etc. You'd actually only use Outlook for saving the attachments locally in any case. You'd need to use the Win32 API to execute a print command for the modified files, or even maybe the API for the document type itself to print it from the associated application. Your Outlook code would also need to delete the temporarily saved attachment once it is edited and printed. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: I have a customer that wants to be able to print attachments from Outlook and include an automatically generated date on the printed attachment. Any help would be appreciated. |
#5
|
|||
|
|||
![]()
Thanks Eric,
I'll take a look at Adobe's website. "Eric Legault [MVP - Outlook]" wrote: Yup, you got it. I've never worked with Adobe's APIs before, so I can't help you there. I'm sure there's an SDK on their website; hopefully it's easy to figure out. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: Word and Adobe Acrobat would be the two formats. If I understand correctly, I would use Outlook Object Model to save the attachment in a location on the hard drive, then open the document using the Word Object Model and add the date stamp and save the file with the new date information. Is that correct? Since I'm new at the programming, I'm paraphrasing what I think you are saying. Am I correct? "Eric Legault [MVP - Outlook]" wrote: Would the file types of these attachments always be known? You'd only use Outlook programming part of the way, as editing the file associated with the attachment would require the use of any available APIs that can work with that file type. For example, if it's a Word attachment, you'd use the Word Object Model to edit the file; the Microsoft Scripting Runtime Library for ASCII based files; Excel for .xls, whatever Adobe API's exist for .pdfs, etc. etc. You'd actually only use Outlook for saving the attachments locally in any case. You'd need to use the Win32 API to execute a print command for the modified files, or even maybe the API for the document type itself to print it from the associated application. Your Outlook code would also need to delete the temporarily saved attachment once it is edited and printed. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Mcd62" wrote: I have a customer that wants to be able to print attachments from Outlook and include an automatically generated date on the printed attachment. Any help would be appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
date/time stamp | Max | Outlook Express | 3 | December 19th 06 11:04 PM |
Need a time-date stamp for MS Outlook, please | Hugo Acosta | Outlook - Calandaring | 2 | September 22nd 06 07:49 PM |
Need a time-date stamp for MS Outlook, please | Hugo Acosta | Outlook - General Queries | 1 | September 22nd 06 06:13 PM |
email date stamp | Saira | Outlook - General Queries | 2 | September 19th 06 04:18 PM |
"Date Created" section to date stamp when appointments were made | themdragons | Outlook - Calandaring | 1 | August 1st 06 02:51 PM |