Create TIFF from WORD w/ MSFAX and FAXCOMEXLib

Posted on 2005-02-28
Medium Priority
Last Modified: 2008-01-09
How can I use the fax server (MSFAX ) with FAXCOMEXLib to create a TIFF
file from a WORD document? I've had very good success with a VB fax app using
FAXCOMEXLib, and I know that I can use it with MSFAX to fax a WORD document,
but I don't want to fax it. Rather, I just want to capture the TIFF document
that is built when the WORD document is faxed. That is, I want to get the
TIFF file without actually faxing the document to someone -- essentially,
I'd like to fax it to a file. I haven't found any information on the web
about this. Do you know if this can be done?

Thanks for any help.
Question by:lennyh
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Expert Comment

ID: 13420781

If you want to buy an external component you could use the TIF printer from informatik

Look at http://www.informatik.com/ form more information


Author Comment

ID: 13421117

Thanks for your response.

I'd like to try to avoid the $125 expense.  Also, it would seem that the facility I'm seeking would be available w/ MSFAX and FAXCOMEXLib.


Author Comment

ID: 13432825
Ah Success.

I'm able to do exactly what I want using WORD automation along with MSFAX.  One of the secrets was determining that selecting for printout both the FAX driver plus the Print to File option.  Remarkably, it appears to work great.  Here's a snippet

Public Sub PrintWordDoc(docname As String)
Dim WordObj As Word.Application
Dim Doc As Word.Document
Set WordObj = New Word.Application
Set Doc = WordObj.Documents.Open(docname)
WordObj.WordBasic.FilePrintSetup Printer:="FAX", DoNotSetAsSysDefault:=1
WordObj.PrintOut Background:=False, append:=False, printtofile:=True, outputfilename:="c:\newfax.tif"
Doc.Saved = True
WordObj.Quit SaveChanges:=wdDoNotSaveChanges
Set WordObj = Nothing
End Sub

One needs to select the WORD 10.0 Object Library in References

Expert Comment

ID: 13714063

The solution I did give work perfect.. I use it myself.


Accepted Solution

ee_ai_construct earned 0 total points
ID: 13749155
Question answered by asker or dialog deemed valuable.
Closed, 250 points refunded.
ee_ai_construct (replacement part #xm34)
Community Support Admin

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 12 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question