Applies a command to the image and pages in specified by the scanning session id.
id
Scanning session ID
firstPageNumber
First page to process
lastPageNumber
Last page to process. Pass -1 to process pages inclusively starting with firstPageNumber to the last page
commandName
Name of the command to run
arguments
Arguments passed to the command to be run
userData
User data object