4.5.4 MFP faxing with T.37
Preface
T.37 is an ITU standard which deals with sending fax messages using email. It is also referred to as "iFax", "Internet Fax", or "Store-forward-fax".
A T.37-compliant fax machine will receive emails which have the document attached (using the MIME format) as a TIFF-F image.
The two step process to deliver T.37 faxes from OSCAR involves
- converting the OSCAR provided pdf to TIFF with ghostscript
- MIME encoding the tiff file and sending it to the T.37 compliant MFP
Document Version History
- v1.0 – initial public release to oscarmanual.org – Dec 29, 2015
- v1.1 – added debugging hints – Dec 30, 2015
development of this approach has greatly benefited from the work of Darius on whose work this document is based
copyright ©2015 by Peter Hutten-Czapski MD under the Creative Commons Attribution-Share Alike 3.0 Unported License
Contents
|
Prerequisites
It is assumed that
- You have installed Oscar and configured it for faxing
- You have a T.37 compliant multifunction printer (MFP)
- You have a basic level of Linux knowledge
- You can open a Linux terminal
- You can cut and paste EXACTLY the following instructions
NOTE: Firefox will copy with Control+C while a Linux terminal requires Shift+Control+V for past
Installing Server Packages
Sendemail is a command-line outgoing e-mail SMTP client written in PERL. It is used for sending e-mails from the command line.
Ghostscript is a pdf generating and manipulating program. In this case we are using it to form TIFF-F files.
Install Sendemail and Ghostscript by typing or pasting the following into the command line.
sudo apt-get install sendemail ghostscript
Now a cron job
You may then run the gateway.cron as a cron job with a user that can read and delete the files in the temp folder (by example the tomcat6 user)
thanks to Darius who developed this technique and Kevin Boyle who suggested it
Debugging
The above cron job has not been tested in production beyond a proof in concept.
Configuring the MFP is beyond the scope of the tutorial and is device specific. The T.37 functionality may be turned off by default, and you may need to set and specify the MPF's IP and port for SMTP.
You do not need to debug on the OSCAR server. The software that OSCAR often uses to generate pdf's (wkhtmltopdf) and those software described for the OSCAR server cron job (ghostscript, sendemail) are all available as programs that run on Windows(TM) and other operating systems.
Document Actions