Scanner.scanTerminator()

Overview

Sets the scan terminator in the Velocity Client. This changes the scan terminator for the current Web session.

To configure a scan terminator for the entire session, use the Velocity Console. For more information, see Scanner tab in the Velocity User Guide.

Format

Scanner.scanTerminator(terminator);

Parameter Description Type Required
terminator Valid values:
“AutoTab” - Sends a tab after a scan.
“AutoEnter” - Sends an enter after a scan.
“AutoEnterAndTab” - Sends an enter and then a tab after a scan.
“AutoTabAndEnter” - Sends a tab and then an enter after a scan.
“NoAuto” - does not send a tab or an enter after a scan.
String Required

Example

Copy
/* Sets the scan terminator string to AutoTab.
 */
 
 Scanner.scanTerminator("AutoTab");