Printing

Printing on the AS/400 can be a little tougher than on other platforms, so this module was created to provide a standard interface for almost RPG level of control over the output:

Usage:

Let's say you save the above in a module called myPrinter.

Then you would have this in your application code: