|
Not something I have tried to spend time on, but are going to be looking into it in the near future. If I make any findings I will post it on here. Good luck.
Leon v Wyk
|
|
|
|
|
Hi Ashok,
Could you please e-mail your program of sending lacks of fax at the same time to my yahoo id at.
mast428@yahoo.com.
Thanks.
|
|
|
|
|
Could you please email me your code to wade@cranswick.co.za. Thank you
|
|
|
|
|
could you please send the code to my email thunder_emperor_29@yahoo.com
thanks..
|
|
|
|
|
Ya. I am having a problem with this app. I type in the required data and then when I click send it tells me this in a pop up box?
The data is invalid.
Can some one clearify this extremelly specific error mesage?
|
|
|
|
|
i m having the same problem when i try to send a '.csv' file type. this app successfully works for me when i send .doc, .bmp or .pdf. Pls help if any one has any idea why it isnt working for .csv file type.
Danyal
-- modified at 4:02 Thursday 4th May, 2006
|
|
|
|
|
Little late, but this could help somebody else.
Associate .csv file type with notepad. Not all applications are capable of "communicating" with Faxing service. I know only about MS Office applications, Adobe reader and notepad
Hope it helps
LAcike
|
|
|
|
|
Would it be possible to amend the code so it can read in Postscript files. With this you could set up a phantom printer that prints postscript files to a directory and then a windows service , based on this code could automate the fax process.
That would also solve the problem printing pdfs.
Nick James
Nick James Homepage
|
|
|
|
|
Not sure, don't know to much about post scripting, but I see where you are heading. Good thining!
Leon v Wyk
|
|
|
|
|
Hi there,
I have tried your application several times but unfortunately I have not been successful in sending a fax and instead I get one of the following error messages:
a) Cannot find the specified file path.
b) Invalid Data
I'd greatly appreciate any help. Thanks in advance.
|
|
|
|
|
Hi
I am also facing a problem. I am trying to run this same code in a windows service. however the moemnt it comes on the send() part it fails. I mean it does nothing. the same code in a console applicaiton or a win form application runs perfectly fine. But the same function fails on a Windows Service!
Any suggestions???
|
|
|
|
|
Tanks Leon.
i use this method for Faxing.
it work well
when faxing a doc or... popup a software and open it and ten close the software.
how can i hide the software popup from the user view
(pop up in backGround).
tank's rashidi
|
|
|
|
|
Not sure what you mean but have a look at the previous postings, maybe you have the same question as the pdf doc.
Leon v Wyk
|
|
|
|
|
Hi Leon,
I have doenloaded the source that you created. My one concern is that the Acrobat reader pops up prior to sending the fax document to the print service. I am sure this is because the print service needs to convert the data to fax bytes (tif).
Do you know of a way to supress this dialog or to run the conversion in the background?
I need to use this in an NT service that will poll a file system location for dropped PDF documents?
Regards
Jaco de Villiers
|
|
|
|
|
I have not used .pdf docs for this yet, but have a look at getting thumbnails from a pdf doc, I know I saw an article somewhere how to do that. Then you can use a bmp to send the fax. Otherwise try open the pdf doc with Proccess and make it hidden just before you send the fax, that might suppress the extra pdf doc from opening another window.
Leon v Wyk
|
|
|
|
|
Thanks Leon. I fetch the handle of the acrobat viewer and then kill the process using System.Diagnostic.Process. I will post the code here if I find a more elegant way of extracting the byte[] in tiff(bmp) format.
JDevil
|
|
|
|
|
Hi JDevil,
I'm trying to implement the same solution for preventing Acrobat Reader from popping up whenever a PDF should be faxed. But if the AcroReader process is killed to soon faxing fails (because Acrobat didn't have enough time to 'print' the PDF), and otherwise Acrobat pops up for a few seconds.
How did you solve this exactly?
Thanks in advance,
Sebastian
|
|
|
|
|
Hi Sebastian,
Unfortunately there is not elegant way, or I have not managed to get it, for using this programmatically. I ended up using a simple sleep on the thread. With some guess work and some testing you can determine the time the thread must sleep according to the PDF file’s size. This is not a brilliant solution but worked in our implementation.
Regards
|
|
|
|
|
OK, that's the way I did it too.
Thank you for your quick answer,
regards
Sebastian
|
|
|
|
|
Hi,
I don't know how to send a PDF file (image based or image/text (from OCR result)).
Can you provide me some way to solve my problem ?
Thanks a lot.
Guillaume MEYER
|
|
|
|
|
Sorry...
The send() method opens automatically the PDF file and print it to the Fax printer...
CU
Guillaume MEYER
|
|
|
|
|
Hello Leon,
Can we have important code snippets from the source and the demo listed in the article, with explanations? That would make it a very interesting read, I am sure.
Thanks,
Smitha
Every problem has a gift for you in its hands.
-- Richard Bach
|
|
|
|
|
Have a look at the Code after you have downloaded it! Its really simple. This was my first article and I was not sure where to post the code snippets on the online wizard, sorry.
Leon v Wyk
|
|
|
|
|
Hello,
could you please give me some more information where you get the DLL file from and so on. I was also searching for a fax solution in C#. And so far the best with code example is yours.
Cheers,
Basti
|
|
|
|
|
All you need to do is add a reference to the "faxcom 1.0 Libary" that is under your Com components. You might have to install the Fax service under Add Remove Programs. Thats all! No other dll's are required, it ships with XP Home and Pro.
Leon v Wyk
|
|
|
|