harneet

hi i am using faxcomex.dll i am able to fax txt and pdf and doc files but i m not able to fax image files.

If i try i get a message operation failed

Can anybody help me out




Re: Visual C# General How to fax an image file in c#

OptimusPrime

I think more info is needed but, why don't you add the image to a new doc file, then send that file






Re: Visual C# General How to fax an image file in c#

Figo Fei - MSFT

Hi,

Try the first hit in the search.

Thanks






Re: Visual C# General How to fax an image file in c#

harneet

I know know that we cannot send image files using FAXCOMEXLIB.DLL !!

the way out is we have to use winfax.dll its windows api!!

But i m not able to use it to send fax!!!

can anbody help me out with the code!!for sending fax using win32.dll!!






Re: Visual C# General How to fax an image file in c#

Azi

hi,I send fax with FAXCOMLIB.DLL, Chek with this component.

I want to send doc and pdf with fax,and now i can to send txt only,would you to help me about tihs

Thanks,






Re: Visual C# General How to fax an image file in c#

Narayanc1

Hi,

I am using FAXCOMLIB.DLL to send a fax from my application.

FAXSERVER FS=NEW FAXSERVER();
FS.CONNECT();
.
.
FAXDOC FD=NEW FAXDOC();
.
.
AND BY GIVING FAX NUMBER ,AND ALL OTHER DETAILS.
I AM USING THIS COMMAND
INT I=FD.SEND();

I INSTALLED MODEM IN MY SYSTEM..

BUT I HAVE NOT CONNECTED ANY TELEPHONE LINE OR FAXLINE TO MODEM.

'i' VALUE RETURNING SOME 15,17,19 LIKE THAT.bUT I AM NOT GETTING ANY EXCEPTION.

eVEN THOUGH IF I CONNECTED ANY FAX LINE ALSO MY DOCUMENT DOES'NT REACH THE DESTINATION NUMBER.BUT THERE IS NO EXCEPTION.


CAN ANY ONE SOLVE THIS PROBLEM

THANKS&REGARDS
NARAYANA






Re: Visual C# General How to fax an image file in c#

MarcLev

I have the same problem with faxcomex and faxserver. I can send files like doc and pdf, but cannot send tif. The problem with doc and pdf is the opening of word or acrobat while sending. It's not professional. I would like to send multipage tiff document. I have tried many types of compression to create my tiff file, and change it to monochrome, but nothing works. I got the Operation Failed on Send method. My document is not too big at all. But I have discovered something interesting... if I take a old fax sent in the fax console, a doc converted to tif by fax itself, that tif file works. It's like the tif I have created was not "standard" for fax server. Some help please.





Re: Visual C# General How to fax an image file in c#

Myrik

There are a number of dll files available to allow you to create a pdf from an image without having to open another tool. You can create the pdf in your app path and then delete it after faxing the file.




Re: Visual C# General How to fax an image file in c#

MarcLev

The problem with PDF is the same as for DOC, the application Acrobat will open while sending document to fax server.

I would to avoid that. The TIFF won't do that. That's why I would prefer multipage TIFF.





Re: Visual C# General How to fax an image file in c#

MarcLev

I finally found what's wrong... the TIFF pass only if ALL the following properties will be set correctly:

1. resolution must be 196x196
2. dimension must be 1728x2255
3. pixel must be 1bppIndexed (monochrome)
4. compression must be CCITT Group 4 FAX