Emailing to a Fax Server
Case Study 6
Problem:
An AS/400 based user wanted to obtain fax numbers and forward his documents to the fax server.
Solution:
We can use RPM to provide a text copy of the report file, by stripping PCL codes. OctoBurst can split the report ensuring each document will be sent to the fax server based on the fax number in the document. OctoPDF will perform the emailing.
Octopdf %s /burst /b:3,10,30 /b:20,50,15 /b:4,12,30 /fixphone:v4 #fixedprms
/mailto:%v4%@faxmail.com /out:v3."\"v4.v5 /autocreate /copyonly
- The document is being burst at customer name, fax number and title
- /fixphone will normalize the phone number by removing dashes and parenthesis, trim spaces and ensure a leading 1.
- #fixedparms specifies a file residing in the \program file\jbmsystems\octopdf that hold fixed information so that we do not exceed the maximum length for a command line. You could put /mailserver, /mailpass, /mailtext and almost any other octopdf switch. In this case we are pulling account status as a variable from the file and sending it as part of the subject line dynamic substitution.
- The /copyonly switch will be bypass PDF conversion (if the fax mail gateway does not handle PDF files)v
#fixedparm
/mailserver:smtp.xyz.com /mailpass:authpass /mailsubject:"Your account status is %v5%" /mailuser:admin
Typical Applications:
- Invoices
- Purchase Orders
- Medical Billing
Products Required: OctoPDF, OctoBurst, RPM Remote Print Manager®
|