Specifying parameters for a job
To specify a version of a document to run or print, use SubmitJob and identify the version number, separating it from the file name with a semicolon (;). Use the version number, not the optional version name:
<InputFileName>Forecast.rptdesign;12</InputFileName>
Because SubmitJob supports only persistent reports, you must specify the output file name in the request, including the file type:
<RequestedOutputFile>
<Name>Forecast.rptdocument</Name>
</RequestedOutputFile>
To indicate whether to run a report or run and print the report, set the Operation element to either RunReport or RunAndPrintReport:
<Operation>RunReport</Operation>
To run the job using the most recent version of a report, set RunLatestVersion to True and identify the input file using InputFileName. BIRT iHub ignores RunLatestVersion if you use InputFileId.
For a print job, you can specify settings for the printer using PrinterOptions. These printer settings include such details as the printer name, page size and orientation, scaling, number of copies to print, and pages to print.