Sending a Fax
Hi!
I want to send the reports by fax. To control the fax server I have to use a special font to send for example the fax number (in this case 123456) within the report.
The following CODE is the first line from the file when I print to file using the fax printer from a FR report. This does not work.
This one is from a file printed from MS Word, this one does work.
The difference is that FR inserts whitespaces and (maybe) some strange chars which are being translated by the fax printer driver to <CR>
The fax number is a TfrxMemoView.
Any developer here which may comment or help? TIA.
I want to send the reports by fax. To control the fax server I have to use a special font to send for example the fax number (in this case 123456) within the report.
The following CODE is the first line from the file when I print to file using the fax printer from a FR report. This does not work.
<StartDocument><DIN_A4><Portrait><200*200><StartPage><StartCommand><CR><EmptyLine140> Â Â Â "<CR> Â Â Â +FAX<CR> Â Â Â Â :12<CR> Â Â Â Â Â 3456<CR> Â Â Â Â Â Â Â "<CR><EmptyLine402>
This one is from a file printed from MS Word, this one does work.
<StartDocument><DIN_A4><Portrait><200*200><StartPage><StartCommand><CR><EmptyLine222> Â Â Â Â "+FAX:123456" <CR><EmptyLine54>
The difference is that FR inserts whitespaces and (maybe) some strange chars which are being translated by the fax printer driver to <CR>
The fax number is a TfrxMemoView.
Any developer here which may comment or help? TIA.
Comments
1. Insert in reporttitle am frxMemo with following text and font "Courier New"
number
subject
2. at runtime change Font to your "special font"
3. Add "00494711111" and "example" to number and subject so you have
number 00494711111
subject example
4. print report to FaxPrinter
Don't use at designtime the "special font", it dosn't work in any environment!