Twain.SetPaper
--------------

Requests to use a certain paper.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Twain](component_Twain.md) | [5.1](newinversion51.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "Twain.SetPaper"; Paper ) 

**MBS**( **"Twain.SetPaper";** /\* Requests to use a certain paper. \*/  
**$Paper**) /\* The paper ID to request.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Paper | The paper ID to request. | 1 |

### Result

Returns OK or error.

### Description

Requests to use a certain paper.  
This is what the plugin will ask the scanner to provide. If scanner doesn't support it (or driver), we ignore the request.  
  
Possible paper values:  
| Auto | 0 |
|---|--:|
| A4 Letter | 1 |
| B5 Letter | 2 |
| US Letter | 3 |
| US Legal | 4 |
| A5 | 5 |
| B4 | 6 |
| B6 | 7 |
| US Ledger | 9 |
| US Executive | 10 |
| A3 | 11 |
| B3 | 12 |
| A6 | 13 |
| C4 | 14 |
| C5 | 15 |
| C6 | 16 |
| 4A0 | 17 |
| 2A0 | 18 |
| A0 | 19 |
| A1 | 20 |
| A2 | 21 |
| A4 | 1 |
| A7 | 22 |
| A8 | 23 |
| A9 | 24 |
| A10 | 25 |
| ISO B0 | 26 |
| ISO B1 | 27 |
| ISO B2 | 28 |
| ISO B3 | 12 |
| ISO B4 | 6 |
| ISO B5 | 29 |
| ISO B6 | 7 |
| ISO B7 | 30 |
| ISO B8 | 31 |
| ISO B9 | 32 |
| ISO B10 | 33 |
| JIS B0 | 34 |
| JIS B1 | 35 |
| JIS B2 | 36 |
| JIS B3 | 37 |
| JIS B4 | 38 |
| JIS B5 | 2 |
| JIS B6 | 39 |
| JIS B7 | 40 |
| JIS B8 | 41 |
| JIS B9 | 42 |
| JIS B10 | 43 |
| C0 | 44 |
| C1 | 45 |
| C2 | 46 |
| C3 | 47 |
| C7 | 48 |
| C8 | 49 |
| C9 | 50 |
| C10 | 51 |
| US Statement | 52 |
| Business card | 53 |

### See also

- [Twain.GetPaper](TwainGetPaper.md)
- [Twain.SetGamma](TwainSetGamma.md)
- [Twain.SetPaperSize](TwainSetPaperSize.md)

### Blog Entries

- [MBS FileMaker Plugin 5.1 for OS X/Windows](https://www.mbsplugins.de/archive/2015-05-19/MBS_FileMaker_Plugin_51_for_OS/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.1pr9](https://www.mbsplugins.de/archive/2015-05-16/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 15th May 2015 , last changed 15th May 2015

  
[Twain.SetOrientation](TwainSetOrientation.md) - [Twain.SetPaperSize](TwainSetPaperSize.md)

[HTML Version](TwainSetPaper.shtml)