Difference between revisions of "Hylafax Notes"

From OpenEMR Project Wiki
Line 73: Line 73:
  sendfax -n -d [TELEPHONE NUMBER] /usr/share/doc/hylafax-server/copyright
  sendfax -n -d [TELEPHONE NUMBER] /usr/share/doc/hylafax-server/copyright
</pre>
</pre>
*Destination
:<tt style="font-size:130%;"></tt>
:User can be omitted.
*From
:<tt style="font-size:130%;"></tt>
:
*Suppress Cover Page.
:<tt style="font-size:130%;">-n</tt>


{| style="margin: 0 2em 0 2em;"
{| style="margin: 0 2em 0 2em;"
|-
|-
| width="150" | <tt style="font-size: 120%">-d [TELEPHONE NUMBER]</tt>
| width="250" | <tt style="font-size: 120%">-d [TELEPHONE NUMBER]</tt>
| width="400" | Destination.  To Telephone Number.
| width="400" | Destination.  To Telephone Number.
|-
|-
| width="150" | <tt style="font-size: 120%">-d [USER@TELEPHONE NUMBER]</tt>
| <tt style="font-size: 120%">-d [USER@TELEPHONE NUMBER]</tt>
| width="400" | Destination.  From User, To Telephone Number.
| Destination.  From User, To Telephone Number.
|-
|-
| <tt style="font-size: 120%">-f "[NAME OF FAX SENDER]"</tt>
| <tt style="font-size: 120%">-f "[NAME OF FAX SENDER]"</tt>
| From.  If not used, the from line shows the default host.
| From.  If not used, the from line shows the default host.
|-
|-
| <tt style="font-size: 120%"></tt>
| <tt style="font-size: 120%">-n</tt>
|  
| Suppress cover page.
|}
|}


<br>
<br>

Revision as of 23:37, 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
Options
-s Show Send Queue.
-d Show Done Queue.
-r Show Received Queue.



Sendfax

 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

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