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
  • 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month9 days, 3 hours left to enroll

621 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