| Command group | Flag affected | Reversible | Execute on client | Platform(s) |
| Reports and Printing | YES | NO | NO | All |
An Omnis print job allows you to print more than one Omnis report as a single printer or PDF document.
This command terminates a print job initiated with Begin print job and sends it to the printer or PDF report destination (see the Send to PDF option for the Begin print job command.
End print job clears the flag and returns an error if a job has not been started. It sets the flag if it succeeds: in this case, the document starts to print.
Once a print job is started, any attempt to set the report destination fails, that is, you cannot select a new destination until you have issued an End print job.
Issuing End print job immediately after Begin print job may result in an empty document being printed.
Omnis automatically issues End print job at shutdown; it does not do this at any other time.
# Create a print job and send 2 reports to the printer
Begin print job
Set report namerMyReport
Print report
Set report namerMyReport2
Print reportEnd print job