### Publishing to a printer properties

When scheduling report sets via URL, the publishing to a printer properties are as follows:

- jrs.printer
  Constant: jet.cs.util.APIConst.TAG_PRINTER
  Description: Specifies the printer with which to print the report set result.
- jrs.print_copies
  Constant: jet.cs.util.PrintConst.TAG_PRINT_COPIES
  Description: Specifies the number of copies to print the report set result.
- jrs.has_margins
  Constant: jet.cs.util.PrintConst.TAG_HAS_MARGINS
  Description: Specifies whether to have margins in the printed report set result.

  When jrs.has_margins is true, the following properties are available for use:

  - jrs.margins_left
    Constant: jet.cs.util.PrintConst.TAG_MARGINS_LEFT
    Description: Specifies the length of the left margin to print the report set result.
  - jrs.margins_right
    Constant: jet.cs.util.PrintConst.TAG_MARGINS_RIGHT
    Description: Specifies the length of the right margin to print the report set result.
  - jrs.margins_top
    Constant: jet.cs.util.PrintConst.TAG_MARGINS_TOP
    Description: Specifies the length of the top margin to print the report set result.
  - jrs.margins_bottom
    Constant: jet.cs.util.PrintConst.TAG_MARGINS_BOTTOM
    Description: Specifies the length of the bottom margin to print the report set result.
  - jrs.margins_unit
    Constant: jet.cs.util.PrintConst.TAG_MARGINS_UNIT
    Description: Specifies the unit to print the report set result.
    Values: There are two values:
    - jrs.margins_unit_mm
      Constant: jet.cs.util.PrintConst.MARGINS_UNIT_MM
      Description: Specifies mm as the margin unit.
    - jrs.margins_unit_inch
      Constant: jet.cs.util.PrintConst.MARGINS_UNIT_INCH
      Description: Specifies inch as the margin unit.
- jrs.print_mediatray
  Constant: jet.cs.util.PrintConst.TAG_PRINT_MEDIATRAY
  Description: Specifies the custom tray to put the printing paper.
  Example:

      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.