printMargin

sets the margin for printed pages in pixels

number printMargin;

Example

webix.env.printMargin = 72;


Default value:

72
Details

The default value depends on the pixel per inch (ppi) ratio and is calculated as ppi * 0.75. The default ppi value is 96, so the margin value is 96*0.75=72.

Margins can also be set via the print options. The priority is given to margins set via options.

See also
Back to top