Difference between revisions of "Hylafax Notes"

From OpenEMR Project Wiki
Line 89: Line 89:
| width="250" | <tt style="font-size: 120%">/etc/hylafax</tt>
| width="250" | <tt style="font-size: 120%">/etc/hylafax</tt>
| width="400" | Config Files.
| width="400" | Config Files.
|-
| width="250" | <tt style="font-size: 120%">/etc/hylafax/hfaxd.conf</tt>
| width="400" |
|-
|-
| width="250" | <tt style="font-size: 120%">/etc/hylafax/hyla.conf</tt>
| width="250" | <tt style="font-size: 120%">/etc/hylafax/hyla.conf</tt>
| width="400" | Main Hylafax Config File.
| width="400" | Main Hylafax Config File.
|-
| width="250" | <tt style="font-size: 120%">/etc/hylafax/sendfax.conf</tt>
| width="400" |
|-
|-
| width="250" | <tt style="font-size: 120%">/etc/hylafax/config.tty[XXX]</tt>
| width="250" | <tt style="font-size: 120%">/etc/hylafax/config.tty[XXX]</tt>

Revision as of 14:29, 1 June 2014

General

(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

faxaddmodem

sudo faxaddmodem
  • USB modem is usually at: ttyACM0.
  • Location of Config File
/etc/hylafax/config.tty[XXX]
sudo nano config.ttyACM0




Faxstat

Show Send Queue
faxstat -s
Show Done Queue
faxstat -d


Sendfax

 sendfax -n -d [TELEPHONE NUMBER] /usr/share/doc/hylafax-server/copyright
  • Destination
-d [USER@TELEPHONE NUMBER]
User can be omitted.
  • From
-f "[NAME OF FAX SENDER]"
If not used, the from line shows the default host.
  • Suppress Cover Page.
-n


faxrm

faxrm [JOB ID]


Hylafax Directories

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



AvantFAX

  • Install AvantFAX on Ubuntu
cd ~/Downloads
wget "https://downloads.sourceforge.net/project/avantfax/avantfax-3.3.3.tgz?r=&ts=1401631264&use_mirror=softlayer-dal"
gunzip avantfax-3.3.3.tgz
nano avantfax-3.3.3/debian-prefs.txt
sudo bash avantfax-3.3.3/debian-install.sh