Personal tools

Hylafax Notes

From OpenEMR Project Wiki

Jump to: navigation, search



(All examples in this section are using Linux/Ubuntu.)

Install Hylafax

sudo apt-get install hylafax-server hylafax-client
sudo gpasswd -a [USERNAME] dialout
sudo chmod a+x /usr/sbin/pppd

Start and Stop Hylafax

sudo /etc/init.d/hylafax stop
sudo /etc/init.d/hylafax start

Hylafax Commands


sudo faxaddmodem
  • USB modem is usually at: ttyACM0.
  • Location of Config File
sudo nano config.ttyACM0


Show Send Queue
faxstat -s
-s Show Send Queue.
-d Show status of all jobs that have completed (done queue). Format defined by JobFmt string in hyla.conf.
-f Show status of document files in docq directory. Format defined by FileFmt string in hyla.conf.
-r Show Received Queue.
-i Show Hylafax info.


 sendfax -n -d [TELEPHONE NUMBER] /usr/share/doc/hylafax-server/copyright
-d [TELEPHONE NUMBER] Destination. To Telephone Number.
-d [USER@TELEPHONE NUMBER] Destination. From User, To Telephone Number.
-f "[NAME OF FAX SENDER]" From. If not used, the from line shows the default host.
-n Suppress cover page.


faxrm [JOB ID]

Hylafax Directories

/etc/hylafax Config Files.
/etc/hylafax/hyla.conf Main Hylafax Config File.
/etc/hylafax/config.tty[XXX] Fax Modem Settings.
/var/spool/hylafax Spool Folder.
/var/spool/hylafax/doneq FAX Jobs - Done.
/var/spool/hylafax/docq Documents - Image Files/PDFs of Documents Sent & Received.
/var/spool/hylafax/sendq FAX Jobs - To Be Sent.


  • Install AvantFAX on Ubuntu
cd ~/Downloads
wget ""
gunzip avantfax-3.3.3.tgz
nano avantfax-3.3.3/debian-prefs.txt
sudo bash avantfax-3.3.3/