- paper (string) - paper size. Possible values are stored in the printSizes array. The default value is “a4”. If there is no object in the printSizes array with the id: “a4”, the first one in the array will be used.
- mode (string) - page orientation. Possible values are “portrait” (default), “landscape”, “auto”
- margin (number, object) - margin for printed pages, can be of two types:
- number - to set the same margin from all sides
- object - with any of the properties: top, right, bottom, left containing number to set margins separately
- docHeader (string) - document header on the first page before the printed view (independent of the browser print header)
- docFooter (string) - document footer on the last page after the printed view (independent of the browser print header).
Related sample: Wide DataGrid