Runs the command.
id
The 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
The command name.
arguments
The command arguments.
userData
The user data.