efax, efax-gtk @ Debian

If you rarely need to send faxes, what is offered by efax and his graphics counter part is enough.

Installation

$sudo aptitude install -P efax efax-gtk
$update-menus

Configuration

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"
PAGE=a4
TELCVT="sed -e s/+39// -e s/+/00/" (for Italy)
INIT="-iZ -iX3E&D2S7=120 -i&C0" (modem initialization string)
SPKR="-iM1L0"

Now try to send a fax

$echo "fax try" > fax.txt
$fax send -v $FAX_NUMBER fax.txt

efax-gtk configuration

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)
DEVICE: modem
PAGE: a4
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.

More informations are availble (italian) on the appunti and it.tldp

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s