duanemorrow wrote on Thursday, October 05, 2006:
Can I fax from OpenEMR to a HP7310 multifunction printer/fax/scanner?
Its installed using CUPS and HPLIP. Cups has both the printer and fax installed.
duanemorrow wrote on Thursday, October 05, 2006:
Can I fax from OpenEMR to a HP7310 multifunction printer/fax/scanner?
Its installed using CUPS and HPLIP. Cups has both the printer and fax installed.
sunsetsystems wrote on Thursday, October 05, 2006:
I doubt it. OpenEMR uses HylaFAX for outgoing prescriptions by fax, and I recently added support for incoming faxes (also via HylaFAX). A fax/modem is the hardware used in both cases.
andres_paglayan wrote on Thursday, October 05, 2006:
not familiar with it,
but if you look at the config file, where the fax gets set,
you might be able to change the "send fax" comand provided that cups can work with a similar stanza.
at a given point, what the system does is issuing a command to print the fax, so, if the command you need to send the fax to hp310 can fit in that line, is probable that you can do it,
I am not very familiar with cups command line, but it might be something for you out there,
duanemorrow wrote on Thursday, October 05, 2006:
This is the command line to fax to the hp
hp-sendfax -p<printer> -f<number(s)> -n <file(s)>
so for an example
hp-sendfax -pOfficejet_7300_fax -f9794502043 -n /home/mine/test.txt
andres_paglayan wrote on Thursday, October 05, 2006:
in includes/config.php
assign the string hp-sendfax -pOfficejet_7300_fax
to the sendfax variable
in controllers/C_Prescription_class.php
almost at the end of the file, look for
$args = " -n -d $faxNum $fileName";
change it for
$args = " -f".$faxNum." -n ". $fileName;
and give it a try,
duanemorrow wrote on Friday, October 06, 2006:
That worked.
OpenEMR can fax through a HP Multifunction 7310 printer/fax using cups and hplip.