|
LAUNCHER 400 Office
Replace the printed output by a Word document
Currently, to print a document to the spool, an AS/400 program moves the data to the printer format fields, and it prints each lines in the page.
The printed data is calculated by the program, or read from the database, or is just a fixed text, like a column heading for example.
Launcher 400 Office Functionalities
- Load a Word template, already containing the formats and fixed data
- Move the Word cursor in the document, using bookmarks
- Insert text, breaks, and format attributes at the cursor location
- Fill in tables
|
| |
We can consider that the Word cursor is like the printer head. It moves over the page.
You need the source code of the printing program.
The printer program on the AS/400 handles the process logic. It reads and calculates the data.This logic has not to be changed.
The current data movement to the printer format fields will be replaced by LAUNCHER API calls, to move the data directly to the Word document.
The program prints some fixed data (Titles, Headers, Lines, …). These data will be directly inserted in the Word template, and some part of source code will be removed.
The page breaks, headers, footers, are also handled by the program. This part of source code will also be removed, because Word will take care of it.
The logic of the program is not changed.
A programmer can do the changes without knowing the details of the program.
- The formats are integrated in the template.
- All the Word formats are usable.
- The document interchanging is easier to implement.
- Graphic Charter is easier to integrate.
- PDF, e-mail, storage…
|
| |
And all of these for a very weak development charge.
Next Example >> |