---
title: printMargins
card_id: 79600
---

# printMargins

`set [the] printMargins to [ph:rectangle]`

The `printMargins` property returns or sets the value of the default margin spacing used by the `print` command.

The default value is `0,0,0,0`. 

## Examples

```
set the printMargins to 10,10,10,10
```

## Related Topics

* [print](/HyperTalkReference/commands/print)
* [printTextAlign](/HyperTalkReference/properties/printTextAlign)
* [printTextFont](/HyperTalkReference/properties/printTextFont)
* [printTextHeight](/HyperTalkReference/properties/printTextHeight)
* [printTextSize](/HyperTalkReference/properties/printTextSize)
* [printTextStyle](/HyperTalkReference/properties/printTextStyle)
* [reset](/HyperTalkReference/commands/reset)
