Fax a generated document

J

Juan

Hi everyone,

in the app I am developing, the last requirement from the customer is to fax
de document. I figure the easiest solution is to use Windows built-in fax
printer to achieve this. Is it as easy as send the document to print?
I assume I will have to use the "prinout" method.

Thanks, from Spain

Juan Magaña
 
G

Graham Mayor

Dim sCurrentPrinter As String
sCurrentPrinter = ActivePrinter
ActivePrinter = "Fax"
Application.PrintOut FileName:=""
ActivePrinter = sCurrentPrinter

Check the fax printer driver is actually called Fax !
The code switches to the fax driver prints, then switches back to whatever
printer was previously applicable.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
J

Juan

Thanks, Graham, great tip but...
I am going to have to use the FAXCOMLib library, because the fax must be
sent from a remote computer without human internvention.
If someone is interested and I am capable of what I need, I can post the
code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top