Function keys cannot be used for a scan handler.
You can use a key macro to swap the function key with a non-typical special character.
Here we need to use the F7 key in a scan handler. We will prepend any symbology with an exclamation point that we will use a key macro to swap for the F7 key.
Any symbology, any length, prepend, !
Swaps the exclamation point with the F7 key
Now the F7 key is prepended to any barcode that is scanned.