×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Need to program Data-Tab-Data-Tab-Data QR code

Need to program Data-Tab-Data-Tab-Data QR code

Need to program Data-Tab-Data-Tab-Data QR code

(OP)
We have a Symbol DS6878-SR scanner and need to program it and create bar codes so that it sends data-tab-data-tab-data all in one QR code

The text string will look something like this:
SN12345<tab>WidgetABC<tab>02/25/2017
789ABC<tab>My widget 123<tab>02/26/2017
1223333<tab>Some_widget<tab>02/27/2017

How can I do this?

RE: Need to program Data-Tab-Data-Tab-Data QR code

There seems to be a terminology problem.

Quote:

create bar codes
Your Scanner cannot Create bar codes.
It can only Read them.

Quote:

so that it sends data-tab-data-tab-data
You have to Create the QR barcode image with another tool.
Once you have that QR barcode image, the Scanner can then Read it and transmit the result.

Perhaps you can clarify if you need to find a tool to Create QR barcodes like you want.
Or if you want to program the Scanner (Reader) to work in some unique manner.

Good Luck,
JRB-Bldr





RE: Need to program Data-Tab-Data-Tab-Data QR code

(OP)
Right, I need to program the scanner with rules to interpret the barcode which we print out. I'm using the 123Scan2 tool to program the scanner.

Here's examples of the barcode data:

Barcode Example #1:
HR30*001*

Barcode Example #2:
HR30*001*1601-TMA-0016-A*A****Active*

The rule needs to send a <TAB> whenever there is a <*>. So I created this ADF rule:
1. Move To All Patterns and Replace <*> with <TAB>
2. Skip to Start
3. Send All that remains

This rule works perfectly fine when scanning the barcode into Notepad. HOWEVER, it does not work with the inventory system we are using which I think uses some kind of field level validation before it takes the next chunk of data.

So I created a new ADF rule:
1. Send up to <*>
2. Send Extended Key <Tab>
3. Move Past a <*>
4. Send up to <*>
5. Send Extended Key <Tab>
6. Move Past a <*>
7. Send up to <*>
8. Send Extended Key <Tab>
9. Move Past a <*>

This works with the inventory software fine. But there is problem -- the number of repeating 3-rules have to match or be less than the number of <*> in the barcodes or it fails. Barcode Example #1 has 2, so it fails and Barcode Example #2 has 8 so it works but only up to the 3rd <*>.

What I think I need is this. I think I need a way to program a DO...WHILE loop until it reaches the end-of-text <ETX> since the number of <*> can vary. Is this somehow possible to program into the scanner?
DO WHILE NOT <ETX>
1. Send up to <*>
2. Send Extended Key <Tab>
3. Move Past a <*>
LOOP

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close