A printer SEP that has been configured to use the printer exit module will call it as follows:
- When the batch printer SEP is started. The printer exit module can do any initial processing that might be needed.
- Repeatedly for each spool output file that would have been directed to the printer. Information about the spool output file is passed to the printer exit module instead. The exit module can copy the file, read and manipulate each line, print it, or do anything else that would be appropriate - for instance drive an external printing system.
- When the batch printer SEP is terminated. The printer exit module can do any final processing that might be needed.