- 1 Setup
- 2 Hints and tips
- 3 Apps for hylafax
- 4 See also
# pacman -S hylafax
It could be that you need a MTA installed like postfix
- After installation please run
faxsetupas root. Answer the questions and modify to your needs.
faxaddmodemas root. It asks you for the device, leave out the
/devprefix; only enter eg. modem, ttyS0 or such things.
- Answer the other questions, important ones could be the ringtones, max pages, permissions on files or your the name that should be shown.
- With systemd, you need to set up the daemon. In
/usr/lib/systemd/system, there is a file named faxgetty@.service. Assuming your modem is on ttyS0,
cp /usr/lib/systemd/system/faxgetty@.service /usr/lib/systemd/faxgetty@ttyS0.service systemctl enable faxgetty@ttyS0.service systemctl start faxgetty@ttyS0.service
- You will probably need to start 3 daemons at boot; faxgetty@ttyS0, hfaxd, and faxq. See Daemons#Starting_on_boot. To start manually, see Daemons#Starting_manually.
Your received faxes will be saved in
/var/spool/hylafax/rcvq/ and deleted after 30 days. Your sent faxes will be saved in
Hints and tips
Hylafax defaults are made for North America settings. Pagesize of send faxes can be adjusted in /usr/lib/fax/pagesizes for A4 default setup please change the file to that:
---snip Japanese Legal JP-LEG 12141 17196 11200 15300 900 400 # #default NA-LET 10200 13200 9240 12400 472 345 default A4 9920 14030 9240 13200 472 345 ---snap
No dialtone error or if you are a laptop user
If you need a special number to get the Dialtone add this to:
ModemDialCmd line, and change
For laptop users it might be helpfull to deactivate the dialtone check
ModemDialCmd line, and change
Automatic fax printing
Add this to /var/spool/hylafax/bin/faxrcvd at the end
/usr/bin/tiff2ps -a -h 11.1082 -w 7.8543 $FILE | /usr/bin/lpr -P <yourprintername>
This setup is for A4 pagesize, adjust -h and -w to your needs if you need an other size.
Disabling MTA actions
Normally hylafax uses a MTA to receive faxes, if you do not need that change, your
Enable automatic printing of notifications
If you want notifications to be printed out and not mailed, change your
alwaysand at the end of that file
- Comment this line :
) || 2>&1 $SENDMAIL -f$FROMADDR -oi -t
- Add this as next line:
) || 2>&1 lpr -P <yourprinter> -p
Remember to add your changed file to pacmans NoUpgrade list else your changes might get lost on update.
faxstat (shows you the status of hylafax) faxstat -s (shows you the send status) faxstat -r (shows received faxes) faxalter -a now <jobid> (forces send retry now) faxrm <jobid> (deletes fax from sendqueue)
For more options please read the manpages of each program
Apps for hylafax
- kfax is a nice app to view the received tiff files.
- KDE has a printer to send your document to fax, change it to use the hylafax backend.
- WFHC is a nice hylafax client for windows. Get it here: http://www.uli-eckhardt.de/whfc/
- SuSEfax is also a nice client for windows. Get it here: ftp://ftp.suse.com/pub/suse/discontinued/i386/SuSEFax_WIN32
faxq - HylaFAX queue manager process.