efax, efax-gtk @ Debian
If you rarely need to send faxes, what is offered by efax and his graphics counter part is enough.
$sudo aptitude install -P efax efax-gtk
These are configuration for the Italian country. Edit the /etc/efax.rc file
and edit the following lines as following
DEV=modem (or your device without /dev/)
FROM="+39 02 123456" (own fax number)
NAME="Name and Surname"
TELCVT="sed -e s/+39// -e s/+/00/" (for Italy)
INIT="-iZ -iX3E&D2S7=120 -i&C0" (modem initialization string)
Now try to send a fax
$echo "fax try" > fax.txt
$fax send -v $FAX_NUMBER fax.txt
For this application I preferred to set some paramters in the /etc/efax-gtkrc file and the each user can custom the behaviours via the graphical interface.
Edit the /etc/efax-gtkrc file and use these lines
NAME: Name and Surname (I've used the computer name)
NUMBER: +39 02 1234 5678 (fax number)
INIT: Z X3E&D2S7=120 &C0 M1L0
Once the parameters are setted it should be possible to send fax with the graphical interface. Just select the file to send (only accept postscript file), input the phone number and use the send fax button.
If you need to customize your settings, you can do it with the File->Settings menu.
It’s possible to get off the switchboard. If for example the “key to exit” is 0, and the number to dial is 02123456 then the number to pass to efax will be 0,02123456.