DeliverCommunication function (for printed output)

The DeliverCommunication function in print delivery performs these actions in the following order:

  1. Moves the input print communication to the Busy status and sets its start time.
  2. Creates a process record for the input print communication in the run-time database.
  3. Creates job records in the run-time dataset for all documents of the print communication.
  4. Moves the input print communication to the Finished status and sets its finish time.

Parameters

The process does not have any input parameters. It searches the run-time database for a print communication record in the Waiting status. If multiple records are available, they are picked up one by one, but the order is not determined.

Result

If a print communication is processed successfully, DeliverCommunication returns true. Otherwise, it returns false.

If an error is encountered, DeliverCommunication moves the input print communication to the Error status and sets the error time and error message.

It is safe to call DeliverCommunication from different processes simultaneously, even if they process print communications from the same run-time database.