Script functions reference > Script functions in alphabetical order > A > AtJobEnd

AtJobEnd
Syntax
AtJobEnd(eventname);
eventname
Description
Triggers a specific Event at the end of a job. Typically used to produce a closing page showing the number of invoices printed so far, or the total sum of all invoices. This scripting function is not supported in Post-processor scripting.
Returns
A number indicating whether the Event was found and will be triggered at the end of the job.
1
0
Example
AtJobEnd("invoice");
OpenText StreamServe 5.6 Updated: 2013-03-01