Solved

Sending Faxes

Posted on 2008-10-22
9
323 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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 …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 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