Hi I,am new to serial port programming and i've been assigned a job which has to be implemented using java . I need to communicate with the Fax modem and send fax to different numbers . I came across javax.comm a few days back but could not find any good resources for serial port programming an javax.comm. Can somebody guide me please. This is urgent. Thanks in advance
Howdy Well, of what I know, you sure can dial a number thru the modem and enable the handshake for FAX, but how would you convert the doc to a faxable doc? PS format, tiff image format and some others are faxable. The point is also in finding the conversion for the docs. Dialing to the modem, and setting the modem for different classes of FAX and shaking hands with modem is quite easy once you know the AT COmmands for the modem. AT Command handbooks are free to download from the Web. Lupo
Gautham I,am new to serial port programming . As you said handshaking with the fax can be done but the real prob occurs when a doc file has to be send . Ok , now what i,am able to do uptill now is that i,am able to communicate with the modem , send the ATD command and read the response accordingly. When trying to send fax through my modem do i need to send some sort of fax AT commands ? . What next am i suppose to do ? Thanks in advnace
I,am really confused as to when am i suppose to send the text stream to my serial port . I've been able to send a few AT commands . Now i really don't know what next am i suppose to do. I have the complete list of AT and the FAX AT commnds for class 2.0 but i don;t know how to Manipulate them . Please help . This is very urgent . Thanks in advance
Originally posted by gautham kasinath: you will have to set your modem for the specific class of FAX modem. And then start the transfer of bytes. Lupo
I've foundthe fax class 2.0 , 1 commands and kind of understood them but the prob remains that in what sequence do i need to send those comomands and when should i start transmitting the data to the fax from my modem . Thanks in advance
A good manual for your Modem would be useful. Or you can look up on the net, like how I did for the seq. of commands. Anyway I will be on a lookout for the seq. so will let you know as soon as I strike it. Lupo
Raghav, Try the search function (up near the moosehead on almost any page) select Java In General (Advanced). You will get linked to a lot of helpful information and links (and some not so helpful). [ December 12, 2002: Message edited by: Norm Miller ]
Hi I've once again started this project . I,am sending the ATD command to the modem and dialing he fax number and at the same time i,am also sending the AT+FCLASS=1 command . When i receive the ok response , i send the AT+FTM command. Now at this point am i suppose to send the data with the command or wait for some response ? kindly help Thanks in advance