1.23 xestiascan_scan_setscannervalue

xestiascan_scan_setscannervalue gets a value based on a specific name from the selected scanner.

Parameters:

xestiascan_scan_setscannervalue(name, value);


Usage:

xestiascan_scan_setscannervalue(SANE_NAME_SCAN_RESOLUTION, “50”);


name
Gets the value associated with the name. The names used are macros as used by the SANE API.

value
Sets the selected name with the given value.

Any errors that did occur whilst setting the value can be checked using $Sane::STATUS. A null/empty value indicates that the operation completed successfully while a value indicates that the operation was not completed successfully.