PRINT a fax from VB

  • Thread starter Thread starter nyc301
  • Start date Start date
N

nyc301

Hi everybody,



I struggle to find e solution to send a fax via VB6. I am using
the FAXCOMEXLib but it seems to work only whit an attached document. I don't
want to send an existing document but just print it on the FAX Printer. If
I do so, windows shows me the wizard. Is there any solution to set the
recipient (fax Number), print it without showing the wizard windows?



TIA

Alberto (e-mail address removed)
 
You can use FaxStartPrintJob to print a fax to fax printer DC. Specify the
fax send information in the FAX_PRINT_INFO structure. This would not display
the Fax Send Wizard.

This functionality is available only in Win32 though, and not through COM.

Please have a look a the following MSDN link about how to use it:
http://msdn.microsoft.com/library/en-us/fax/faxlegacy_1rzo.asp?frame=true

Thanks,
--
Arindam Basak
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
Arindam,

thank you for your reply. With your help I could write a good code to
send fax using Local Fax Printer but I canno connect to my Server Fax
Printer.
The code I am using is the following:
ReVal = FaxStartPrintJobA("\\MECAIT02\Fax", FaxInfo, FaxJob, FaxContext)
Is it correct or I have to spell in e different way the
\\machinename\printer?

Thanks in advance.
Alberto
 
Back
Top