aspose file tools
The moose likes Java in General and the fly likes how to send fax and we must send pdf files fhrough fax Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to send fax and we must send pdf files fhrough fax" Watch "how to send fax and we must send pdf files fhrough fax" New topic
Author

how to send fax and we must send pdf files fhrough fax

srikanth pidikiti
Greenhorn

Joined: Apr 14, 2006
Posts: 12
i am already using rfax for sending fax but i am unable to send attachment to that if any body know plz suggest me for doing this.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

You posted no fewer than seven threads here at JavaRanch asking about this; I just deleted a number of the overt duplicates. You could have used that time more wisely reading the RFax documentation -- for example, the question from their FAQ entitled How can I FAX PDF files?


[Jess in Action][AskingGoodQuestions]
srikanth pidikiti
Greenhorn

Joined: Apr 14, 2006
Posts: 12
sir i am using Rfax1.1 while sending pdf file it is not getting output but it is sending empty fax i am using this code for doing that.


try {
AcrobatFaxProducer pdf=new AcrobatFaxProducer();
pdf.setPDFFile("c:\\report.pdf");
FaxModem fm= new FaxModem();
pdf.pageImage=new BufferedImage(800,1290,java.awt.image.BufferedImage.TYPE_INT_RGB);

FaxModem m=new FaxModem();
m.setPortName("COM1");
m.flowControl=m.FLOWCONTROL_XONXOFF;
m.faxClass=2;
m.AtFBOR=true;
m.open(p);
if (m.sendFax("11111111")) System.out.println("Success ***");
else System.out.println("FAILED");
m.close();
}
catch ( Exception e ) { e.printStackTrace();}

if any modifaction for this suggest me plz....
thanks in advance
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to send fax and we must send pdf files fhrough fax
 
Similar Threads
serial port communication
Fax code ?
Sending fax message using java
Send fax by java
Sending Fax