HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Sending Fax from PHP



Dear Friends,
        I am trying to send fax message(PDF file) thru a PHP file in Linux. As you know the normal command is :
            sendfax -n -d <<FaxNo>> <<FaxedPage>>.
            I am able to send the fax using linux console. But the i am not able to do it
           using PHP using the script "exec(sendfax -n -d <<FaxNo>> <<FaxedPage>>) ".
         
            I am getting the error "facsimile job 57 to 501 failed" with a mail as below :
 
Date: Thu, 1 Aug 2002 20:10:59 +0530
From: Facsimile Agent <fax@dac2.amrita.edu>
To: nobody@dac2.amrita.edu
Subject: facsimile job 57 to 501 failed

Your facsimile job to 501 was not sent because document conversion
to facsimile failed.  The output from the converter program was:


[Job time limit exceeded]


Check any PostScript documents for non-standard fonts and invalid constructs.

    ---- Unsent job status ----

   Destination: 501
         JobID: 57
       GroupID: 57
        Sender: Nobody
      Mailaddr: nobody@dac2.amrita.edu
Submitted From: localhost.localdomain
    Page Width: 209 (mm)
   Page Length: 296 (mm)
    Resolution: 196 (lpi)
        Status:
[Job time limit exceeded]

       Dialogs: 0 (exchanges with remote device)
         Dials: 0 (consecutive failed calls to destination)
         Calls: 0 (total phone calls placed)
         Pages: 0 (pages transmitted)
      TotPages: 0 (total pages to transmit)
      Attempts: 0 (attempts to send current page)
        Dirnum: 0 (directory of next page to send)
Please kindly help me
With Regards
Santhanam



Project hosted by iFAX Solutions