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

IKScannerDevicePanel.SetScannerDeviceName

Selects scanner by name.

Component Version macOS Windows Linux Server iOS SDK
ImageCapture 6.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "IKScannerDevicePanel.SetScannerDeviceName"; Name )   More

Parameters

Parameter Description Example
Name The name of the scanner to use. "Brother DCP-8085DN"

Result

Returns OK or error.

Description

Selects scanner by name.
Since v14.1 this function also sets the device to be the current device for all ImageCapture functions.

Examples

Select scanner by name:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetScannerDeviceName"; "Brother DCP-8085DN")]

Select scanner by ID:

Set Variable [$r; Value:MBS( "IKScannerDevicePanel.SetScannerDeviceID"; "61B0A8E1-61B0-A8E1-61B0-A8E161B0A8E1" )]

See also

Example Databases

This function is free to use.

Created 7th November 2016, last changed 25th January 2024


IKScannerDevicePanel.SetScannerDeviceID - IKScannerDevicePanel.SetTrigger