When scheduling reports via URL, the publishing to a printer properties are as follows:
When jrs.has_margins is true, the following properties are available for use:
http://localhost:8888/jrserver?jrs.cmd=jrs.submit_schedule&jrs.catalog=%2fSampleReports%2fSampleReports.cat&jrs.report=%2fSampleReports%2fBanded_Link.cls&jrs.task_class=jet.server.schedule.jrtasks.PublishRptTask&jrs.launch_type=0&jrs.to_printer=true&jrs.print_usejdk=2&jrs.printer=smartprint&jrs.print_copies=2&jrs.print_mediatray=Form-Source&jrs.has_margins=true&jrs.margins_left=8&jrs.margins_right=9&jrs.margins_top=7&jrs.margins_bottom=7&jrs.margins_unit=jrs.margins_unit_mm
Note: In this case, you must set the value for the following properties at the same time: jrs.margins_left, jrs.margins_right, jrs.margins_top, jrs.margins_bottom and jrs.margins_unit; otherwise, it can not work smoothly.