Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Twain.SetDuplexEnabled

Whether to enable duplex when next scan starts.

Component Version macOS Windows Linux Server iOS SDK
Twain 3.2 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Twain.SetDuplexEnabled"; Value )   More

Parameters

Parameter Description Example
Value The new settings. Can be 1 to enable duplex or 0 to disable. 0

Result

Returns OK.

Description

Whether to enable duplex when next scan starts.
This value is stored and next time you call Acquire the plugin will ask the scanner to enable/disable duplex. If the scanner does not support duplex, the scanner will ignore this setting and set it back to -1.

Examples

Enable duplex

MBS( "Twain.SetDuplexEnabled"; 1 )

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 8th January 2018


Twain.SetDiscardBlankPages - Twain.SetFeededEnabled