-
Apr 10th, 2018, 04:32 AM
#1
[RESOLVED] Scanner sufix prefix to change language.
Hi.
We have a ds6878 Zerba - Motorola scanner.
We are trying to set a default language by using ascii commands.
Is this possible?
For example we have set code 5001 so the scanner can press "F1" before the scan.
Currently we have a problem because a user can press alt + shift by mistake and scan in Greek and that will be a problem.
Of course the most common idea would be to disable Greek from keyboard but some machines use other applications that need Greek characters, so we cannot disable Greek from every PC.
So is there an ascii way to somehow default to English? Probably not but just checking.
Thanks.
Edit.
We can also use these commands :https://www.sciencebuddies.org/scien...haracter-codes
From an internal program we use. If there is any chance. But we can use only 2 commands (command1 -- command2)
Edit2. I'm attaching all the commands...
Code:
ASCII Character Set for USB
Table 7-2 ASCII Character Set for USB
ASCII Value
Full ASCII
Code 39 Encode
Character
Keystroke
1000 %U CTRL 2
1001 $A CTRL A
1002 $B CTRL B
1003 $C CTRL C
1004 $D CTRL D
1005 $E CTRL E
1006 $F CTRL F
1007 $G CTRL G
1008 $H CTRL H/BACKSPACE1
1009 $I CTRL I/HORIZONTAL TAB1
1010 $J CTRL J
1011 $K CTRL K
1012 $L CTRL L
1013 $M CTRL M/ENTER1
1014 $N CTRL N
1015 $O CTRL O
1016 $P CTRL P
1017 $Q CTRL Q
1018 $R CTRL R
1019 $S CTRL S
1020 $T CTRL T
1021 $U CTRL U
1022 $V CTRL V
1023 $W CTRL W
1024 $X CTRL X
1The keystroke in bold is sent only if the “Function Key Mapping” is enabled.
Otherwise, the unbolded keystroke is sent.
7 - 20 DS6878 Product Reference Guide
1025 $Y CTRL Y
1026 $Z CTRL Z
1027 %A CTRL [/ESC1
1028 %B CTRL \
1029 %C CTRL ]
1030 %D CTRL 6
1031 %E CTRL -
1032 Space Space
1033 /A !
1034 /B “
1035 /C #
1036 /D $
1037 /E %
1038 /F &
1039 /G ‘
1040 /H (
1041 /I )
1042 /J *
1043 /K +
1044 /L ,
1045 - -
1046 . .
1047 /O /
1048 0 0
1049 1 1
1050 2 2
1051 3 3
1052 4 4
Table 7-2 ASCII Character Set for USB (Continued)
ASCII Value
Full ASCII
Code 39 Encode
Character
Keystroke
1The keystroke in bold is sent only if the “Function Key Mapping” is enabled.
Otherwise, the unbolded keystroke is sent.
USB Interface 7 - 21
1053 5 5
1054 6 6
1055 7 7
1056 8 8
1057 9 9
1058 /Z :
1059 %F ;
1060 %G <
1061 %H =
1062 %I >
1063 %J ?
1064 %V @
1065 A A
1066 B B
1067 C C
1068 D D
1069 E E
1070 F F
1071 G G
1072 H H
1073 I I
1074 J J
1075 K K
1076 L L
1077 M M
1078 N N
1079 O O
1080 P P
1081 Q Q
Table 7-2 ASCII Character Set for USB (Continued)
ASCII Value
Full ASCII
Code 39 Encode
Character
Keystroke
1The keystroke in bold is sent only if the “Function Key Mapping” is enabled.
Otherwise, the unbolded keystroke is sent.
7 - 22 DS6878 Product Reference Guide
1082 R R
1083 S S
1084 T T
1085 U U
1086 V V
1087 W W
1088 X X
1089 Y Y
1090 Z Z
1091 %K [
1092 %L \
1093 %M ]
1094 %N ^
1095 %O _
1096 %W `
1097 +A a
1098 +B b
1099 +C c
1100 +D d
1101 +E e
1102 +F f
1103 +G g
1104 +H h
1105 +I i
1106 +J j
1107 +K k
1108 +L l
1109 +M m
1110 +N n
Table 7-2 ASCII Character Set for USB (Continued)
ASCII Value
Full ASCII
Code 39 Encode
Character
Keystroke
1The keystroke in bold is sent only if the “Function Key Mapping” is enabled.
Otherwise, the unbolded keystroke is sent.
USB Interface 7 - 23
1111 +O o
1112 +P p
1113 +Q q
1114 +R r
1115 +S s
1116 +T t
1117 +U u
1118 +V v
1119 +W w
1120 +X x
1121 +Y y
1122 +Z z
1123 %P {
1124 %Q |
1125 %R }
1126 %S ~
Table 7-2 ASCII Character Set for USB (Continued)
ASCII Value
Full ASCII
Code 39 Encode
Character
Keystroke
1The keystroke in bold is sent only if the “Function Key Mapping” is enabled.
Otherwise, the unbolded keystroke is sent.
7 - 24 DS6878 Product Reference Guide
Table 7-3 USB ALT Key Character Set
ALT Keys Keystroke
2064 ALT 2
2065 ALT A
2066 ALT B
2067 ALT C
2068 ALT D
2069 ALT E
2070 ALT F
2071 ALT G
2072 ALT H
2073 ALT I
2074 ALT J
2075 ALT K
2076 ALT L
2077 ALT M
2078 ALT N
2079 ALT O
2080 ALT P
2081 ALT Q
2082 ALT R
2083 ALT S
2084 ALT T
2085 ALT U
2086 ALT V
2087 ALT W
2088 ALT X
2089 ALT Y
2090 ALT Z
USB Interface 7 - 25
Table 7-4 USB GUI Key Character Set
GUI Key Keystroke
3000 Right Control Key
3048 GUI 0
3049 GUI 1
3050 GUI 2
3051 GUI 3
3052 GUI 4
3053 GUI 5
3054 GUI 6
3055 GUI 7
3056 GUI 8
3057 GUI 9
3065 GUI A
3066 GUI B
3067 GUI C
3068 GUI D
3069 GUI E
3070 GUI F
3071 GUI G
3072 GUI H
3073 GUI I
3074 GUI J
3075 GUI K
3076 GUI L
3077 GUI M
3078 GUI N
3079 GUI O
3080 GUI P
3081 GUI Q
Note: GUI Shift Keys - The Apple™ iMac keyboard has an apple key on either side of the
space bar. Windows-based systems have a GUI key to the left of the left ALT key, and to the
right of the right ALT key.
7 - 26 DS6878 Product Reference Guide
3082 GUI R
3083 GUI S
3084 GUI T
3085 GUI U
3086 GUI V
3087 GUI W
3088 GUI X
3089 GUI Y
3090 GUI Z
Table 7-5 USB F Key Character Set
F Keys Keystroke
5001 F1
5002 F2
5003 F3
5004 F4
5005 F5
5006 F6
5007 F7
5008 F8
5009 F9
5010 F10
5011 F11
5012 F12
5013 F13
5014 F14
5015 F15
5016 F16
5017 F17
Table 7-4 USB GUI Key Character Set (Continued)
GUI Key Keystroke
Note: GUI Shift Keys - The Apple™ iMac keyboard has an apple key on either side of the
space bar. Windows-based systems have a GUI key to the left of the left ALT key, and to the
right of the right ALT key.
USB Interface 7 - 27
5018 F18
5019 F19
5020 F20
5021 F21
5022 F22
5023 F23
5024 F24
Table 7-6 USB Numeric Keypad Character Set
Numeric Keypad Keystroke
6042 *
6043 +
6044 undefined
6045 -
6046 .
6047 /
6048 0
6049 1
6050 2
6051 3
6052 4
6053 5
6054 6
6055 7
6056 8
6057 9
6058 Enter
6059 Num Lock
Table 7-5 USB F Key Character Set (Continued)
F Keys Keystroke
7 - 28 DS6878 Product Reference Guide
Table 7-7 USB Extended Keypad Character Set
Extended Keypad Keystroke
7001 Break
7002 Delete
7003 PgUp
7004 End
7005 Pg Dn
7006 Pause
7007 Scroll Lock
7008 Backspace
7009 Tab
7010 Print Screen
7011 Insert
7012 Home
7013 Enter
7014 Escape
7015 Up Arrow
7016 Down Arrow
7017 Left Arrow
7018 Right Arrow
Last edited by sapator; Apr 10th, 2018 at 05:08 AM.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 10th, 2018, 09:19 AM
#2
Re: Scanner sufix prefix to change language.
alt + shift by mistake and scan in Greek
Not sure I understand the problem. The usual way to prevent Greek (or other) unwanted characters from being scanned is to not scan bar codes that have those characters. If the scanner is being used with a keyboard wedge interface, then there is no way to affect the characters being scanned without also affecting the characters that can be entered using the keyboard.
-
Apr 10th, 2018, 10:02 AM
#3
Re: Scanner sufix prefix to change language.
Hmm.
Now I too do not understand what you're saying.
If I have a QRCODE in English and I press alt+shift (that is the Greek change combination) and scan, it will show Greek Chars.
I read of a way for the messaging toolking Qrcode Encoder to see only English by setting the ANSI version to 437 but that does not seem to have any effect on the Qrcode
(set by using the kit and doing qrcoder.encode("text",437)
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 10th, 2018, 11:12 AM
#4
Re: Scanner sufix prefix to change language.
Post the ASCII values of the data you are scanning, with and without the "Alt+Shift" switching in effect.
It sounds like you already have translation software installed that is converting your data after it is typed/scanned.
-
Apr 11th, 2018, 03:33 AM
#5
Re: Scanner sufix prefix to change language.
Hello.
The Value is english and turns to Greek when we alt+shift.
What Zebra scanner do is "typing" the scanned values.
I'm searching for a why for the scanner not to "alt+shift"
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 11th, 2018, 05:19 AM
#6
Re: Scanner sufix prefix to change language.
We had another idea.
We tried to use a default keyboard shortcut that turns to English (ctrl 6) .
Now the problem is that the damn scanner does not accept multiple commands. We need a ctrl + 6 and after that an F1 .
It will not do that.
I have searched the entire net for multiple commands on the specific scanner and I cannot find something.\
I try with a "prefix" command "prefix "command" and it does not work.
I try with "prefix" "command" "command" ...nada.
Last edited by sapator; Apr 11th, 2018 at 05:45 AM.
Reason: scan this you piece of...
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 11th, 2018, 09:28 AM
#7
Re: Scanner sufix prefix to change language.
I am still somewhat confused on what is actually happening. It sounds like you are using a custom keyboard of some sort, since the Alt commands only seem to work on data entered using the keyboard.
Nevertheless, the scanner Prefix assignment should be able to hold more than one character, since the default is <cr><lf> according to the user manual. To enter the values, you scan the proper codes from the user manual. If you have not already downloaded the manual, you should do so now and read through it.
-
Apr 11th, 2018, 09:41 AM
#8
Re: Scanner sufix prefix to change language.
No custom keyboard. But we have Greek language here that changes with alt + shift
I have the manual.
It states:
<Prefix><DATA><SUFFIX 1>
Scan Prefix
5
0
0
1 ---This is the f1 key
Scan Suffix 1
ENTER
The ctrl 06 keys is
1
0
3
0
So I scan either using:
<Prefix><DATA><SUFFIX 1>
Scan Prefix
5
0
0
1
------Here it beeps like an "OK" signal
1 ----beeps like not understanding the command
0 ----beeps like not understanding the command
3 ----beeps like not understanding the command
0 ----beeps like not understanding the command
Scan Suffix 1
ENTER
This maintains the F1 only.
The ctrl 06 keys is
1
0
3
0
So I scan either using:
<Prefix><DATA><SUFFIX 1>
Scan Prefix
5
0
0
1
Scan Prefix
1
0
3
0
Scan Suffix 1
ENTER
----Again just f1 command.
If I scan opposite (1030 and then 5001) it will understand just the ctrl 6 command. So the commands work but they cannot be combined.
How would I go and combine them if you say that it can be done?
The manual does not state anything like this.
Last edited by sapator; Apr 11th, 2018 at 09:46 AM.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 11th, 2018, 09:42 AM
#9
Re: Scanner sufix prefix to change language.
Fromthe manual:
Scan Data Transmission Format
Parameter # 235
To change the scan data format, scan one of the following eight bar codes corresponding to the desired format.
To set values for the prefix and/or suffix, see Prefix/Suffix Values on page 5-48.
NOTE If using this parameter do not use ADF rules to set the prefix/suffix.
*Data As Is
(0)
<DATA> <SUFFIX 1>
(1)
<DATA> <SUFFIX 2>
(2)
<DATA> <SUFFIX 1> <SUFFIX 2>
(3)
<PREFIX> <DATA >
(4)
Scan Data Transmission Format (continued)
<PREFIX> <DATA> <SUFFIX 1>
(5)
<PREFIX> <DATA> <SUFFIX 2>
(6)
<PREFIX> <DATA> <SUFFIX 1> <SUFFIX 2>
(7)
FN1 Substitution Values
Key Category Parameter # 103
Decimal Value Parameter # 109
The Wedge and USB Keyboard (HID) hosts support a FN1 Substitution feature. Enabling this substitutes any
FN1 character (0x1b) in an EAN128 bar code with a value. This value defaults to 7013 (Enter Key).
When using host commands to set the FN1 substitution value, set the key category parameter to 1, then set
the 3-digit keystroke value. See the ASCII Character Set table for the current host interface for the desired
value.
To select a FN1 substitution value via bar code menus:
1. Scan the bar code below.
2. Locate the keystroke desired for FN1 Substitution in the ASCII Character Set table for the current host
interface. Enter the 4-digit ASCII Value by scanning each digit in Appendix D, Numeric Bar Codes.
To correct an error or change the selection, scan Cancel.
To enable FN1 substitution for USB Keyboard (HID), scan the Enable FN1 Substitution bar code on page
5-50.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 11th, 2018, 11:43 AM
#10
Re: Scanner sufix prefix to change language.
It might be time to check with Zebra to see if you are really limited to just one character for prefix and/or suffix codes.
Alternative ideas:
Set the keyboard mode the way you want it and disable changes while the scanner is in use.
Use something like SerialMagic from SerialIO.com to add prefix/suffix characters. That software does allow multiple character prefix and suffix codes.
-
Apr 12th, 2018, 01:59 AM
#11
Re: Scanner sufix prefix to change language.
For setting the keyboards and disable changes, I must maintain some code. That is not a preferred solution.
SerialMagic need money and I don't think we could get a budget for something this small.
It's either removing Greek from keyboard or contact Zebra.
P.S. Manual is public an is here:
https://www.zebra.com/us/en/support-...ds6878-dl.html
There is an advance manual rules here: https://www.zebra.com/content/dam/ze...de-a-en-us.pdf
This is very complex I'm reading it but its very confusing.
EDIT:
FIXED!FIXED!
You need the advanced programming guide to program a rule with keys!
You need to Add a new rule, send ctrl + 6, send F1 , Send data that remains, send Enter key and save the rule.
Damn!
P.S. I tried to scan a Code Pages that only supports English (for example 437) but when switching to Greek keyboard we are getting characters back, and if unknown then we get the unknown. I would much prefer to do that instead of the ctrl + 6 fix but i do not think that it is possible. Or I am scanning a wrong codepage...
Last edited by sapator; Apr 12th, 2018 at 04:52 AM.
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Apr 12th, 2018, 10:37 AM
#12
Re: [RESOLVED] Scanner sufix prefix to change language.
Thanks for the update, and the link to the advanced programming manual for the scanner. I thought that the Symbol/Zebra scanners should have the capability needed.
Your basic issue is that your users are using the keyboard software to interfere with the scanner data. The computer does not know that the data came from the scanner rather than the keyboard, and so it allows the unwanted changes. You could change to some better users, but that probably isn't going to happen, so Prefix and Suffix codes from the scanner is the next best fix. Changing the scanner to English doesn't work because the keyboard software gets to the data after the scanner has sent it.
Last edited by jdc2000; Apr 16th, 2018 at 09:43 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|