next up previous contents index
次へ: sane_read 上へ: Operations 戻る: sane_get_parameters   目次   索引

sane_start

This function initiates aquisition of an image from the device represented by handle h.

SANE_Status sane_start (SANE_Handle h);
This function may fail with one of the following status codes.
SANE_STATUS_CANCELLED:
The operation was cancelled through a call to sane_cancel.
SANE_STATUS_DEVICE_BUSY:
The device is busy. The operation should be retried later.
SANE_STATUS_JAMMED:
The document feeder is jammed.
SANE_STATUS_NO_DOCS:
The document feeder is out of documents.
SANE_STATUS_COVER_OPEN:
The scanner cover is open.
SANE_STATUS_IO_ERROR:
An error occurred while communicating with the device.
SANE_STATUS_NO_MEM:
An insufficent amount of memory is available.
SANE_STATUS_INVAL:
The scan cannot be started with the current set of options. The frontend should reload the option descriptors, as if SANE_INFO_RELOAD_OPTIONS had been returned from a call to sane_control_option(), since the device's capabilities may have changed.



平成15年5月17日