- Basics
- About Knox
- Knox licenses
- Knox white paper
- Sign up for Samsung Knox
- Latest release notes
- General Knox FAQ
- General Knox KBAs
- Submit a support ticket
- User Acceptance Testing
- For IT admins
- Knox Admin Portal
- Knox Suite
- Knox Platform for Enterprise
- Introduction
- How-to videos
- Before you begin
- Get started with UEMs
- Introduction
- Blackberry UEM
- Citrix Endpoint Management
- FAMOC
- IBM MaaS360
- Microsoft Intune
- MobileIron Cloud
- MobileIron Core
- Samsung Knox Manage
- SOTI MobiControl
- VMware Workspace ONE UEM
- Knox Service Plugin
- Release notes
- Migrate to Android 11
- FAQs
- Troubleshoot
- KBAs
- Knox Mobile Enrollment
- Knox Configure
- Mobile
- Wearables
- Shared Device
- FAQ
- KBAs
- Knox Capture
- Introduction
- How it works
- How-to videos
- IT admins: Get started
- Getting started with Knox Capture
- Step 1: Launch Knox Capture
- Step 2: Create a scanning profile
- Step 3: Select apps and activities
- Step 4: Configure the scanner
- Step 5: Set keystroke output rules
- Step 6: Test apps in your configuration
- Step 7: Share your configuration
- Step 8: Deploy Knox Capture in Managed mode
- End users: Get started
- Features
- Release notes
- FAQ
- KBAs
- Troubleshoot
- Knox Asset Intelligence
- Knox Manage
- Introduction
- How-to videos
- Get started
- Video: Getting started with Knox Manage
- Integration with Managed Service Provider
- Access Knox Manage
- Configure basic environments
- Create user accounts
- Create groups
- Create organization
- Set up devices and profiles
- Create a new profile
- Assign profiles to groups and organizations
- Enroll devices
- Shared Android device quickstart
- Non-shared Android device enrollment quickstart
- Android Management API device enrollment quickstart
- Apple User Enrollment quickstart
- View device information
- Apply profiles to organizations
- Set up Knox Manage deployment with a Knox Suite license
- Manage Chromebooks
- Manage Android devices with the Android Management API
- Manage Shared iPads
- Configure
- Licenses
- Organization
- Users
- Sync user information
- Groups
- Devices
- Content
- Applications
- Profile
- Knox E-FOTA
- Certificates
- Advanced settings
- Monitor
- Kiosk devices
- Knox Remote Support
- Active Directory
- Microsoft Exchange
- Mobile Admin
- Appendix
- Release notes
- Features
- FAQ
- KBAs
- Knox E-FOTA
- Introduction
- How-to videos
- Get started
- Features
- EMM integration
- Appendix
- Release notes
- FAQ
- KBAs
- Troubleshoot
- Knox E-FOTA On-Premises
- Legacy Knox E-FOTA products
- Knox Guard
- Introduction
- How-to video
- Get started
- Using Knox Guard
- Dashboard
- Manage devices
- Device management
- Accept or reject devices
- Upload devices
- Delete devices
- Complete device management
- Send notifications
- Enable or disable SIM control
- Download devices as CSV
- View device log
- View device deletion log
- Start and stop blinking reminder
- Lock and unlock devices
- Update lock message
- Send relock timestamp
- Turn on/off relock reminder
- Manage policies
- Manage licenses
- Manage resellers
- Manage admins and roles
- Activity log
- Knox Deployment App
- Release notes
- FAQ
- KBAs
- Support
- Knox Guard REST API
- Samsung Care+ for Business
- For Knox Partners
- Knox Deployment Program
- Knox MSP Program
Keystroke output
Knox Capture sends scanned data to business apps as keystrokes, imitating the way a user manually enters data using a keyboard.
To review an example of setting keystroke output rules, refer to IT admins: Getting started with Knox Capture - Step 5: Set keystroke output rules.
AdvancedRestrictionPolicy.allowRemoteControl()
to True in your EMM. Enabling this policy allows keystroke output to function as expected.Overall formatting
Refer to the following settings to modify scanned data and format its output:
Setting | Description | Options | Default |
Send Enter character as | Sets the output format for all existing and appended Enters |
Key event—Sends Enter as a key event. String—Sends Enter as ASCII Line Feed 0x0A. Both String and Key event—Sends Enter as ASCII Line Feed 0x0A and key event. None—Sends no output for Enter. |
None |
Send Tab character as | Sets the output format for all existing and appended Tabs |
Key event—Sends Tab as a key event. String—Sends Tab as ASCII Horizontal Tab 0x09. Both String and Key event—Sends Tab as ASCII Horizontal Tab 0x09 and key event. None—Sends no output for Tab. |
None |
Send Carriage Return character as | Sets the output format for all Carriage Returns |
Key event—Sends Carriage Return as a key event. String—Sends Carriage Return as ASCII Carriage Return 0x0D. Both String and Key event—Sends Carriage Return as ASCII Carriage Return 0x0D and key event. None—Sends no output for Carriage Return. |
None |
Send ASCII Control characters as | Sets the output format for ASCII characters 1-31 |
Key event—Sends ASCII codes 1 through 31 as key events String—Sends ASCII codes 1 through 31 as strings. Both String and Key event—Sends ASCII control characters in both string and key event formats. None—Sends no output for ASCII control characters. |
String |
Send ASCII Printable characters as | Sets the output format for ASCII characters 32-126 |
Key event—Sends ASCII characters 32-126 as key events. This is useful when a text input field, like a password input, requires key events for validation and does not accept pasted strings. String—Sends ASCII printable characters as strings. Both String and Key event—Sends ASCII printable characters as both strings and key events. None—Sends no output for ASCII printable characters. |
String |
Key event delay |
Sets the delay in milliseconds that Knox Capture will wait before sending a key event like Tab. Key events transmit slower than string data, which can cause synchronization problems. If your barcode output is partially cut off, try increasing the key event delay to a higher value. |
[0, Int32 max value] |
0 |
Basic data formatting
Refer to the following basic data formatting information to create rules to add prefixes, suffixes, and append Tab or Enter characters to scanned barcode data before output.
NOTE - If appending a Tab or Enter key to the data output, you must also select an output option in the Send Tab as or Sent Enter as settings above.
Setting | Description | Default |
Prefix to data | Prepends a string of characters to the beginning of the scanned data. | None |
Suffix to data | Appends a string of characters to the end of the scanned data. | None |
Append Tab character | Appends a Tab (ASCII Horizontal Tab character, 0x09) to the end of the scanned barcode data to automate actions like moving to the adjacent cell in a spreadsheet. | OFF |
Append Enter character | Appends an Enter (ASCII Line Feed character, 0x0A) to the end of the scanned barcode data to automate actions like submitting a form. | OFF |
Send as Hex | Sends the data in hexadecimal format. | OFF |
Advanced data formatting
In Knox Capture, you can add one or more rules that modify data based on certain actions and criteria. These rules convert scanned data into various formats, which are then passed to business apps through keystrokes.
To create a rule and configure its actions and criteria:
- On the Knox Capture home screen, tap on the profile you want to create a rule for.
- Under Keystroke output and data formatting, tap Advanced data formatting.
- In the top right corner of the screen, tap +.
- Enter a name for the rule, then tap Done.
- Under Set criteria, configure the below settings as needed:
- Barcode type – The types of barcodes that the rule applies to.
- String length – The required length of scanned data to trigger the rule.
- String – A string that must be present for the rule to trigger.
- String position – When the cursor reaches this position in the string, the rule executes.
- Under Set actions in order, tap Add actions.
- A popup appears, prompting you to select actions you want to add. See the table below for details on each action. Tap Add when you're finished.
- Configure the actions as necessary, then tap < in the top left to return to the rules list.
- Repeat Steps 3-8 for any additional rules you want to create, then rearrange them in the order they should be executed.
Refer to the advanced data formatting actions below to move the cursor, modify, send, or delay data being sent to business apps.
Action | Description | Options | Default |
Cursor movement | Sets the cursor to move to a location in the output data. | Skip ahead by characters – Moves the cursor forward by a specific number of characters. | 1 |
Skip back by characters – Moves the cursor backwards by a specific number of characters. | 1 | ||
Skip to start – Moves the cursor to the beginning of the output data. | None | ||
Move ahead to substring – Moves the cursor forward until a specific string is found. |
None |
||
Move past substring – Moves the cursor past a specific string in the output data. | None | ||
Data modification | Sets the elements for Knox Capture to add, edit, or remove from the data. | Remove extra spaces – Deletes all but one space between words, and removes any blank space at the beginning and end of the data. | None |
Remove all spaces – Remove all spaces in the data. | None | ||
Remove leading zeros – Remove any zeroes at the beginning of the data. | None | ||
Pad with zeros to the left – Specify the desired length of the output. Knox Capture pads the left side of the string with zeros until the desired length is reached. | 1 | ||
Replace string – Replaces a specific string with a new, specified string. You must specify both strings. | None | ||
Remove characters – When sending data, removes a specific number of characters from the given positions. You must provide the start position and the number of characters to remove. | Start position: 1
Number of characters: 1 |
||
Data sending | Controls a selected amount of data to send to business apps. | Send next characters – Sends a specific number of characters from the current cursor position. | 1 |
Send remaining characters – Sends all data after the current cursor position. | None | ||
Send up to substring – Sends all data up to a specific string. | None | ||
Send pause – Pauses all actions for a specific number of milliseconds (max. 120000). | 50ms | ||
Send string – Sends a specific string when the corresponding rule is triggered. | None | ||
Send char – Sends a specific ASCII/Unicode character when the corresponding rule is triggered. | 32 |