Home > Honeywell > Scanner > Honeywell 1900gsr 2 User Manual

Honeywell 1900gsr 2 User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Honeywell 1900gsr 2 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 178 Honeywell manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    							Xenon/Granit User Guide 171
    Insert a character multiple times
    F4Send “xx” character “nn” times in the output message, leaving the cursor in the 
    current position. Syntax = F4xxnn where xx stands for the insert character’s hex 
    value for its ASCII code, and nn is the numeric value (00-99) for the number of times 
    it should be sent. Refer to the ASCII Conversion Chart (Code Page 1252), beginning 
    on page 342 for decimal, hex and character codes.
    E9 and F4 Example: Send all but the last characters, followed by 2 tabs
    Send all characters except for the last 8 from the bar code above, followed by 2 
    tabs. 
    Command string: E908F40902
    E9 is the “Send all but the last characters” command
    08 is the number of characters at the end to ignore
    F4 is the “Insert a character multiple times” command
    09 is the hex value for a horizontal tab
    02 is the number of times the tab character is sent
    The data is output as: 1234567890AB 
    Insert a string
    BASend “ss” string of “nn” length in the output message, leaving the cursor in the 
    current position. Syntax = BAnnnns...s where nnnn stands for the length of the 
    string, and s...s stands for the string. The string is made up of hex values for the 
    characters in the string. Refer to the ASCII Conversion Chart (Code Page 1252), 
    beginning on page 342 for decimal, hex and character codes.
    B9 and BA Example: Look for the string “AB” and insert 2 asterisks (**) 
    Using the bar code above, send all characters up to but not including “AB.”  Insert 2 
    asterisks at that point, and send the rest of the data with a carriage return after.
    Command string: B900024142BA00022A2AF10D
    B9 is the “Send all characters up to a string” command
    0002 is the length of the string (2 characters)
    41 is the hex value for A
    42 is the hex value for B 
    						
    							172 Xenon/Granit User GuideBA is the “Insert a string” command
    0002 is the length of the string to be added (2 characters)
    2A is the hex value for an asterisk (*)
    2A is the hex value for an asterisk (*)
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    1234567890**ABCDEFGHIJ
    
    Insert symbology name
    B3Insert the name of the bar code’s symbology in the output message, without moving 
    the cursor. Only symbologies with a Honeywell ID are included (see Symbology 
    Charts on page 339). Refer to the ASCII Conversion Chart (Code Page 1252), 
    beginning on page 342 for decimal, hex and character codes.
    Insert bar code length
    B4Insert the bar code’s length in the output message, without moving the cursor. The 
    length is expressed as a numeric string and does not include leading zeros.
    B3 and B4 Example: Insert the symbology name and length
    Send the symbology name and length before the bar code data from the bar code 
    above. Break up these insertions with spaces. End with a carriage return. 
    Command string: B3F42001B4F42001F10D
    B3 is the “Insert symbology name” command
    F4 is the “Insert a character multiple times” command
    20 is the hex value for a space
    01 is the number of times the space character is sent
    B4 is the “Insert bar code length” command
    F4 is the “Insert a character multiple times” command
    20 is the hex value for a space
    01 is the number of times the space character is sent
    F1 is the “Send all characters” command 
    						
    							Xenon/Granit User Guide 1730D is the hex value for a CR
    The data is output as: 
    Code128 20 1234567890ABCDEFGHIJ
    
    Insert key strokes
    B5Insert a key stroke or combination of key strokes. Key strokes are dependent on your 
    keyboard (see Keyboard Key References on page 349). Any key can be inserted, 
    including arrows and functions. Syntax = 5CB5xxssnn where xx is the number of 
    keys pressed (without key modifiers), ss is the key modifier from the table below, and 
    nn is the key number from the Keyboard Key References,page 349.
    • For example, B501021F inserts an “A” on a 104 key, U.S. style keyboard. B5 = the 
    command, 01 = number of key press events (without the key modifier), 02 is the 
    key modifier for Shift Right, and 1F is the “a” key. If a lower case “a” were to be 
    inserted, B501001F would be entered.
    If there are three keystrokes, the syntax would change from B5xxssnn for one key-
    stroke to B5xxssnnssnnssnn. An example that would insert "abc" is as follows: 
    B503001F00320030F833.
    Note:Key modifiers can be added together when needed. The sum is converted to 
    hexadecimals.
    Example:Control Left+Shift Left = 17, converted to hexadecimal = 11. 
    Move Commands
    Move the cursor forward a number of characters
    F5Move the cursor ahead “nn” characters from current cursor position. 
    Syntax = F5nn  where nn is the numeric value (00-99) for the number of characters 
    the cursor should be moved ahead. 
    F5 Example: Move the cursor forward and send the data
    Key ModifiersHex
    No Key Modifier 00
    Shift Left 01
    Shift Right 02
    Alt Left 04
    Alt Right 08
    Control Left 10
    Control Right 20 
    						
    							174 Xenon/Granit User GuideMove the cursor forward 3 characters, then send the rest of the bar code data from 
    the bar code above. End with a carriage return. 
    Command string: F503F10D
    F5 is the “Move the cursor forward a number of characters” command
    03 is the number of characters to move the cursor
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    4567890ABCDEFGHIJ
    
    Move the cursor backward a number of characters
    F6Move the cursor back “nn” characters from current cursor position. 
    Syntax = F6nn  where nn is the numeric value (00-99) for the number of characters 
    the cursor should be moved back. 
    Move the cursor to the beginning
    F7Move the cursor to the first character in the input message. Syntax = F7.
    FE and F7 Example: Manipulate bar codes that begin with a 1
    Search for bar codes that begin with a 1. If a bar code matches, move the cursor 
    back to the beginning of the data and send 6 characters followed by a carriage 
    return. Using the bar code above:
    Command string: FE31F7F2060D
    FE is the “Compare characters” command
    31 is the hex value for 1
    F7 is the “Move the cursor to the beginning” command
    F2 is the “Send a number of characters” command
    06 is the number of characters to send
    0D is the hex value for a CR
    The data is output as: 
    123456
     
    						
    							Xenon/Granit User Guide 175
    Move the cursor to the end
    EAMove the cursor to the last character in the input message. Syntax = EA.
    Search Commands
    Search forward for a character
    F8Search the input message forward for “xx” character from the current cursor 
    position, leaving the cursor pointing to the “xx” character. Syntax = F8xx  where xx 
    stands for the search character’s hex value for its ASCII code. 
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes.
    F8 Example: Send bar code data that starts after a particular character
    Search for the letter “D” in bar codes and send all the data that follows, including 
    the “D.”  Using the bar code above:
    Command string: F844F10D
    F8 is the “Search forward for a character” command
    44 is the hex value for “D”
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    DEFGHIJ
    
    Search backward for a character
    F9Search the input message backward for “xx” character from the current cursor 
    position, leaving the cursor pointing to the “xx” character. Syntax = F9xx where xx 
    stands for the search character’s hex value for its ASCII code. 
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes. 
    						
    							176 Xenon/Granit User Guide
    Search forward for a string
    B0Search forward for “s” string from the current cursor position, leaving cursor 
    pointing to “s” string. Syntax = B0nnnnS where nnnn is the string length (up to 
    9999), and S consists of the ASCII hex value of each character in the match string. 
    For example, B0000454657374 will search forward for the first occurrence of the 4 
    character string “Test.”
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes.
    B0 Example: Send bar code data that starts after a string of characters
    Search for the letters “FGH” in bar codes and send all the data that follows, includ-
    ing “FGH.”  Using the bar code above:
    Command string: B00003464748F10D
    B0 is the “Search forward for a string” command
    0003 is the string length (3 characters)
    46 is the hex value for “F”
    47 is the hex value for “G”
    48 is the hex value for “H”
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    FGHIJ
    
    Search backward for a string
    B1Search backward for “s” string from the current cursor position, leaving cursor 
    pointing to “s” string. Syntax = B1nnnnS where nnnn is the string length (up to 
    9999), and S consists of the ASCII hex value of each character in the match string. 
    For example, B1000454657374 will search backward for the first occurrence of the 
    4 character string “Test.”
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes. 
    						
    							Xenon/Granit User Guide 177
    Search forward for a non-matching character
    E6Search the input message forward for the first non-“xx” character from the current 
    cursor position, leaving the cursor pointing to the non-“xx” character. Syntax = E6xx  
    where xx stands for the search character’s hex value for its ASCII code. Refer to the 
    ASCII Conversion Chart (Code Page 1252), beginning on page 342 for decimal, hex 
    and character codes.
    E6 Example: Remove zeros at the beginning of bar code data
    This example shows a bar code that has been zero filled. You may want to ignore 
    the zeros and send all the data that follows. E6 searches forward for the first char-
    acter that is not zero, then sends all the data after, followed by a carriage return. 
    Using the bar code above:
    Command string: E630F10D
    E6 is the “Search forward for a non-matching character” command
    30 is the hex value for 0
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    37692
    
    Search backward for a non-matching character
    E7Search the input message backward for the first non-“xx” character from the 
    current cursor position, leaving the cursor pointing to the non-“xx” character. 
    Syntax = E7xx  where xx stands for the search character’s hex value for its ASCII 
    code. Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 
    342 for decimal, hex and character codes.
    Miscellaneous Commands
    Suppress characters
    FBSuppress all occurrences of up to 15 different characters, starting at the current 
    cursor position, as the cursor is advanced by other commands. When the FC 
    command is encountered, the suppress function is terminated. The cursor is not 
    moved by the FB command. 
    Syntax = FBnnxxyy . .zz where nn is a count of the number of suppressed characters 
    in the list, and xxyy .. zz is the list of characters to be suppressed.  
    						
    							178 Xenon/Granit User GuideFB Example: Remove spaces in bar code data
    This example shows a bar code that has spaces in the data. You may want to 
    remove the spaces before sending the data. Using the bar code above:
    Command string: FB0120F10D
    FB is the “Suppress characters” command
    01 is the number of character types to be suppressed
    20 is the hex value for a space
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    34567890
    
    Stop suppressing characters
    FCDisables suppress filter and clear all suppressed characters. Syntax = FC.
    Replace characters
    E4Replaces up to 15 characters in the output message, without moving the cursor. 
    Replacement continues until the E5 command is encountered. Syntax = 
    E4nnxx
    1xx2yy1yy2...zz1zz2 where nn is the total count of the number of characters 
    in the list (characters to be replaced plus replacement characters); xx
    1 defines 
    characters to be replaced and xx
    2 defines replacement characters, continuing 
    through zz
    1 and zz2.
    E4 Example: Replace zeros with CRs in bar code data
    If the bar code has characters that the host application does not want included, 
    you can use the E4 command to replace those characters with something else. In 
    this example, you will replace the zeros in the bar code above with carriage returns.
    Command string: E402300DF10D
    E4 is the “Replace characters” command
    02 is the total count of characters to be replaced, plus the replacement characters 
    (0 is replaced by CR, so total characters = 2)
    30 is the hex value for 0 
    						
    							Xenon/Granit User Guide 1790D is the hex value for a CR (the character that will replace the 0)
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    The data is output as: 
    1234
    5678
    ABC
    
    Stop replacing characters
    E5Terminates character replacement. Syntax = E5.
    Compare characters
    FECompare the character in the current cursor position to the character “xx.”  If 
    characters are equal, move the cursor forward one position. Syntax = FExx  where xx 
    stands for the comparison character’s hex value for its ASCII code. 
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes.
    Compare string
    B2Compare the string in the input message to the string “s.”  If the strings are equal, 
    move the cursor forward past the end of the string. Syntax = B2nnnnS  where nnnn 
    is the string length (up to 9999), and S consists of the ASCII hex value of each 
    character in the match string. For example, B2000454657374 will compare the 
    string at the current cursor position with the 4 character string “Test.” 
    Refer to the ASCII Conversion Chart (Code Page 1252), beginning on page 342 for 
    decimal, hex and character codes.
    Check for a number
    ECCheck to make sure there is an ASCII number at the current cursor position. The 
    format is aborted if the character is not numeric. 
    EC Example: Only output the data if the bar code begins with a number
    If you want only data from bar codes that begin with a number, you can use EC to 
    check for the number.
    Command string: ECF10D
    EC is the “Check for a number” command
    F1 is the “Send all characters” command
    0D is the hex value for a CR 
    						
    							180 Xenon/Granit User GuideIf this bar code is read,    the next data format, if there is one, will 
    be used on the data. If there is no other format, the format fails and the raw data is 
    output as AB1234. 
    If this bar code is read:  the data is output as: 
    1234AB
    
    Check for non-numeric character
    EDCheck to make sure there is a non-numeric ASCII character at the current cursor 
    position. The format is aborted if the character is numeric. 
    ED Example: Only output the data if the bar code begins with a letter
    If you want only data from bar codes that begin with a letter, you can use ED to 
    check for the letter.
    Command string: EDF10D
    ED is the “Check for a non-numeric character” command
    F1 is the “Send all characters” command
    0D is the hex value for a CR
    If this bar code is read,    the next data format, if there is one, will 
    be used on this data. If there is no other format, the format fails and the raw data is 
    output as 1234AB. 
    If this bar code is read:  the data is output as: 
    AB1234
    
    Insert a delay
    EFInserts a delay of up to 49,995 milliseconds (in multiples of 5), starting from the 
    current cursor position. Syntax = EFnnnn where nnnn stands for the delay in 5ms 
    increments, up to 9999. This command can only be used with keyboard emulation.  
    						
    All Honeywell manuals Comments (0)

    Related Manuals for Honeywell 1900gsr 2 User Manual