TirsoJRP
Member
- Joined
- Jan 8, 2015
- Messages
- 99
- Reaction score
- 32
I have been using zbar with AvantFax to route incoming fax.
It is quite easy to add, just install zbar-tools and change the barcode settings in /var/www/html/avantfax/includes/local_config.php
There's a lot of space for improvements, for now this only works with the first barcode found in the fax.
It is quite easy to add, just install zbar-tools and change the barcode settings in /var/www/html/avantfax/includes/local_config.php
Code:
// Barcode Support
define('ENABLE_BARDECODE_SUPPORT', true);
define('BARDECODE_BINARY', "/usr/bin/zbarimg");
define('BARDECODE_COMMAND', BARDECODE_BINARY." -D --raw -q %s");
There's a lot of space for improvements, for now this only works with the first barcode found in the fax.