Support Center

how can i set the port of fax

talaat mahmoud Oct 08, 2012 10:54AM EDT

please im using faxman4 sdk how can i set the com port of may connected fax where i have tow faxes
very thanks

4 Data Techniques Responses and 3 Community Responses

Up 1 Rated Down
DTI Support  Data Techniques Employee Oct 08, 2012 10:57AM EDT

Hello,

What interface are you using ? .Net or ActiveX or DLL ?

You can tell Faxman to AutoDetect the ports and it will find and remember all the modems on that system. It will then automatically use the modems as needed.

By default Faxman will use the first available port, but you can specify a fax use only a given port using the API.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 1 Rated Down
talaat mahmoud  Data Techniques Employee Oct 08, 2012 11:12AM EDT

im using .net interface please give me code in vb.net where i can set port of fax connected to my pc

Up 3 Rated Down
DTI Support  Data Techniques Employee Oct 08, 2012 11:16AM EDT

Hi,

With the .Net interface you can tell FaxMan to detect the modems using the Modems.AutoDetect() method. That will cause FaxMan to look for the attached modems and add them to its list of available devices. You only need to call this when the modems have changed, you do NOT need to call it each time your app starts up.

If you really want to tell FaxMan which port to use when sending a fax (the port must already be configured in FaxMan) then you can set the Fax.Port property to the com port id.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 3 Rated Down
talaat  Data Techniques Employee Oct 08, 2012 11:33AM EDT

thanks for your replay
in my appliction im set general settings and i set the port of my fax and in form of seneding fax i use this port where the fax connect to it and im have two faxes connected to pc how i tell faxman that i whant send fax using connected fax2 not fax1 of two connected faxes and change it when i need this

Up 1 Rated Down
DTI Support  Data Techniques Employee Oct 08, 2012 12:02PM EDT

Hi,

Sorry I dont understand your question. Can you please be more specific ?

Thanks,
Sean

Up 4 Rated Down
talaat  Data Techniques Employee Oct 08, 2012 12:40PM EDT

sir
i have two faxes connected to pc
first fax device : Fax1
second fax device : Fax2
how i set faxman to send any fax through second fax device (Fax2) not through first fax device (Fax1)
Sorry to trouble with me

Up 2 Rated Down
DTI Support  Data Techniques Employee Oct 08, 2012 12:46PM EDT

OK now I understand. You have two options:

1) You can call AutoDetect and then after its found the modems (1 & 2 ) you can call the Modems.Remove() method to remove the 1st modem.

or

2) You can not call AutoDetect and just call Modems.AddModem() to add only the 2nd modem to the list of configured modems.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

This question is closed to new answers.

Contact Us