Home Contents | # v4kf:eject | V4kf | Core4 Lua Event System

## SYNOPSIS

1. rdrhandle:eject()
2. rdrhandle:capture()

## DESCRIPTION

Sets up the reader for card ejection or card capture, if a card is inside the reader. The shutter opens as necessary.

Card capture is only possible with motorized readers. Insertion readers will run the eject command instead.

This command can only be used if the reader is ready.

When this state completes successfully, the reader enters the Closed state.

The command returns immediately. Actual execution of any reader operation is done within the event loop.

## SEE ALSO

v4kf:init, v4kf:insert, v4kf:lock, v4kf:reset, v4kf:state