| 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
|
|
|
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
|
 |
 |
|
|
subject: how to send fax and we must send pdf files fhrough fax
|
|
|