Solved

Sending Faxes

Posted on 2008-10-22
9
321 Views
Last Modified: 2013-12-17
Hello everyone,

I am attempting to use MS Faxing from an application of mine, but have run into a few problems.  I have been able to send some faxes successfully using the code posted below.  My question is how can I send a fax containing multiple documents.  IE: If I want to send a 2 page rtf document followed by a jpg.  Any idea how this can be done??????  Any idea where I can find some documentation on the FaxComExLib???????

Thanks,
Kendal
FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServerClass(); 
					faxServer.Connect("DELLJFYJ361"); 
					
					FAXCOMEXLib.FaxDocument faxDoc = new FAXCOMEXLib.FaxDocumentClass();
					faxDoc.CoverPage = "c:\\testcover.txt";
					faxDoc.Body = FileName;
					faxDoc.DocumentName = DocumentName;
					faxDoc.
 
					FAXCOMEXLib.FaxRecipient faxRec = faxDoc.Recipients.Add(FaxNumber,RecipientName);
					
					faxDoc.ConnectedSubmit(faxServer);					
 
					faxServer.Disconnect();

Open in new window

0
Comment
Question by:gvector1
  • 5
  • 3
9 Comments
 
LVL 11

Expert Comment

by:William
ID: 22782225
You will need to convert the docs and or images to a tiff.
There are some utilities out there for this, however there is nothing in the framework that will give you what you need to do this.
0
 

Author Comment

by:gvector1
ID: 22785670
Is there any decent documentation out there on this library and how can I programmatically convert these documents to a single tiff image?
0
 

Author Comment

by:gvector1
ID: 22785774
Also, I ended up having to add a fax printer that refers to my fax server to my Printers and Faxes list.  Is there some way to streamline this process across over 100 machines on the network.  I am wanting to having faxing capability from my windows application that runs on over 100 machines on the network, but it would be too time consuming to require that every machine have a fax printer installed individually.  Even then, if another person logs onto a machine, then the fax printer would have to be installed for that person.  Any ideas on this?????
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 11

Expert Comment

by:William
ID: 22799305
Sorry I have been out for a while...
Where are you at on this?
0
 

Author Comment

by:gvector1
ID: 22799420
I am still stuck at my last post.  Is it required to have a faxprinter installed on every machine that will use the fax service?  If so how can I streamline this process?  Is there any decent documentation on the FaxComExLib?  Lastly, how can I go about converting multiple docs into a single tiff???
0
 
LVL 11

Accepted Solution

by:
William earned 500 total points
ID: 22799994
FaxComExLib - No real god library ..  On my fax project I gave up on this and used FaxMan - Super Easy and totally .net supported :)

As for rolling it out to 100+ users...  FaxMan has the ability to be a FaxServer and or Printer...
Price is pretty reasonable as well if I remember correctly, if you are intent on using the FaxComExLib, I do not know anyone who has deployed this with .net at the level you need. It is nothing more than a 100% COM wrapper...   It got very ugly for me when we loaded it on the server...  It will always leak mem and kill the server (2003 SRV).

I wish there was a ms solution to THIER very own software, but on a tk call with them, they strongly suggested using a 3rd party tool for .net.
0
 

Author Comment

by:gvector1
ID: 22942324
Thanks for the info BillyDvD.  Question about FaxMan:

To use it in a client server environment, I am guessing that I would write a server component to run on my faxserver, and then write my client applications to interface the server???

Or does it have a server that I can use by default from my client applications???

Thanks,
Kendal
0
 

Author Closing Comment

by:gvector1
ID: 31508975
Thanks for the info Billy.  I will look more into FaxMan, it appears to be a good solution.  
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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