bar top left
bar top right
left curve
right curve
Welcome, Guest
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Fax module direct printing
#105103
Fax module direct printing 10 Months, 3 Weeks ago Karma: 0
Hello,

I've made some patch to include direct printing of faxs capability to the fax module.

First you need to install cups to your server. ( yum install cups )

And define a printer via the cups web interface yourserver:631

Name you printer ex myprinter

From the file attach replace :

faxrcvd-elastix.php in /var/spool/hylafax/etc

faxlist directory from /var/www/html/modules/faxlist

faxnew directory from /var/www/html/modules/faxnew

fax.db from /var/www/db, or only add a row printer in the fax.db

In the Elastix web interface add a new fax and in printer input field put the name of your printer ( myprinter )

And that all, when you send a fax it is print automatically.
File Attachment:
File Name: fax-20120629.rar
File Size: 100927
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tpm
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#105105
Re:Fax module direct printing 10 Months, 3 Weeks ago Karma: 0
Hoops,

You need to replace the faxrcvd-elastix.php from the file attach in /var/spool/hylafax/bin

Sorry
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tpm
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#105882
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
Hi tpm,

tested your module with elastix ver. 2.3.
Tried creating new fax from the "new virtual fax" tab and got blank page after clicking on the save button. Virtual fax is created but without printer config. Also, tried editing the newly created fax and wanted to enter the printer name in the printer field but with the same result (blank page; printer field empty).
Ofcourse, copied your modified files to respective directories.


got these errors in /var/log/httpd/ssl_error_log:
Code:

[Wed Jul 11 23:27:02 2012] [error] [client 10.0.2.8] PHP Fatal error:  Call to undefined method paloFax::restartFax() in /var/www/html/modules/faxnew/index.php on line 145, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:31:53 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:31:53 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:31:53 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:31:53 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:31:53 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew
[Wed Jul 11 23:40:29 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5
[Wed Jul 11 23:40:29 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5
[Wed Jul 11 23:40:29 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5
[Wed Jul 11 23:40:29 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5
[Wed Jul 11 23:40:29 2012] [error] [client 10.0.2.8] PHP Notice:  Undefined index:  printer in /var/www/html/modules/faxlist/index.php on line 87, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5
[Wed Jul 11 23:40:40 2012] [error] [client 10.0.2.8] PHP Fatal error:  Call to undefined method paloFax::restartFax() in /var/www/html/modules/faxnew/index.php on line 170, referer: https://10.0.2.102/index.php?menu=faxnew&action=view&id=5

Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
yogsi
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#105920
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
Hi Yogsi,

It seems that when i made my zip file i forgot 2 files the firt was in the first reply and the second was not.

The file i forgot is paloSantoFax.class.php in /var/www/html/libs.

This is why you have all this error and a blank page when you save.

i join the file to this post .

Sorry .

Could you reply if it is ok. May be it can help other people.

Thanks to test.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tpm
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#105921
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
The zip file with all the files.
File Attachment:
File Name: fax_20120629.rar
File Size: 108777
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tpm
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#105987
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
Tried it, works ok, no more errors.
Haven't yet tested the fax printing part but will do that soon
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
yogsi
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#106223
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
Hi tpm,

seems that there are no fax documents displayed in "Fax viewer" tab. I tried sending and receiving faxes, but there are no in or out documents displayed.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
yogsi
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#106250
Re:Fax module direct printing 10 Months, 1 Week ago Karma: 0
Hi Yogsi,

For me there is no problem, faxs are list in FAX Viewer as pdf files.

Did you get the module working, receiving faxes and printing them ?

My machine is Elastix 2.2 with the module and all working fine .
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tpm
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#106902
Re:Fax module direct printing 9 Months, 3 Weeks ago Karma: 0
seems it was only a permission issue.

ended up using avantfax because of the web interface. anyways, thanks for your help
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
yogsi
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#109339
Re:Fax module direct printing 8 Months, 1 Week ago Karma: 0
try this on 2.0 and it is not working, it completly broke hylafax when i change to odl files, now fax is not working...
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
Tola
Junior Boarder
Posts: 77
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: Bob, jgutierrez

elastix

Protected by Spam Fighter