George:
You really have to look at the fax software availalbe and determine which
allow you some level of automation to accomplsh what you are trying to do.
There's one common path, which is to use WinFax Pro, which is automateable
either through DDE or a COM object. (You just have to avoid using version
10.02, which was buggy and didn't allow automation.)
The second, low cost but not as easily used or effective solution is to use
the built in fax server program of Windows 2000 or Windows Xp. Each expose
a COM object that you can use for automation, in Win2K its called Faxcom 1.0
in the references list (Fax Service Client API for Windows 2000 in MSDN ) in
Xp its called the Microsoft Fax Service Extended Com Type Library in the
references list (Fax Service Extended COM api in MSDN). The drawback to
using this service, is that you have to output your report to an
intermediate file (e.g. a snapshot or pdf file) in order to fax it; secondly
when the item is faxed it leaves the server for the intermediate file type
running and doesn't shut it down. (All possible to be worked around). In
any event there are loads of vb examples for using both in the MSDN library
and you can come up with common code that works with both services for
platform independence. However, you can't support any Win9.x or NT clients
with this route either.
If you are interested in an inexpensive an easy to use interface to the
Winfax integration, then you might take a look at our Winfax Integration
Library for Access on our web.
HTH
--
Steve Arbaugh
ACG Soft
http://ourworld.compuserve.com/homepages/attac-cg
George said:
I would like to automate faxing reports using vb & the xp fax printer from
within Access, has anyone had a go at this. Would prefer not to use MAPI
method but print to fax driver and set fax number etc using VB