PrintDialog.SetPaperHeight
--------------------------

Sets paper height to use.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [PrintDialog](component_PrintDialog.md) | [11.3](newinversion113.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md). Use [PageSetupDialog.SetPaperHeight](PageSetupDialogSetPaperHeight.md) instead.

MBS( "PrintDialog.SetPaperHeight"; Value ) 

**MBS**( **"PrintDialog.SetPaperHeight";** /\* Sets paper height to use. \*/  
**$Value**) /\* The new value.  
Unit is in 72 dpi.  
e.g. 10 cm is 10 / 2.54 \* 72 = 283 point.e.g. 400 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new value.   Unit is in 72 dpi.   e.g. 10 cm is 10 / 2.54 \* 72 = 283 point. | 400 |

### Result

Returns OK or error.

### Description

Sets paper height to use.  
If paper width and height are both set, we pass this to the dialog for a custom paper size.  
Value is -1 if not set.  
  
Deprecated in favor of [PageSetupDialog.SetPaperHeight](PageSetupDialogSetPaperHeight.md) since FileMaker seems to ignore paper changes in the print dialog.  
### See also

- [PageSetupDialog.SetPaperHeight](PageSetupDialogSetPaperHeight.md)
- [PrintDialog.GetPaperHeight](PrintDialogGetPaperHeight.md)
- [PrintDialog.GetPaperName](PrintDialogGetPaperName.md)
- [PrintDialog.GetPaperWidth](PrintDialogGetPaperWidth.md)
- [PrintDialog.SetPaperName](PrintDialogSetPaperName.md)
- [PrintDialog.SetPaperWidth](PrintDialogSetPaperWidth.md)

This function is free to use.

Created 27th June 2021 , last changed 27th June 2021

  
[PrintDialog.SetPageNumberingOffset](PrintDialogSetPageNumberingOffset.md) - [PrintDialog.SetPaperName](PrintDialogSetPaperName.md)

[HTML Version](PrintDialogSetPaperHeight.shtml)