Bar Code Reader?

Apr 26, 2006 at 4:30am

Bar Code Reader?

I am helping a friend with an interactive project in which he wants to select some media using a bar code reader as an interface.
I appretiate some hints about it:
How to bring the input to Max?
is the input “text” or keyboard inputs?
Do I have to use the “hi” object?
would you recomend some specific brand or model?
I have heard the “Symbol’ is good.
Thank you!

Apr 26, 2006 at 5:17am

There are dozens of them. Mostly a barcode reader is a keyboard device, and a barcode is a sequence of characters in a barcode font.

You should be able to enter characters from a barcode reader in all the same ways you can enter keyboard generated text. You just need to set it up with your system.


Apr 26, 2006 at 5:18am

typically most bar code scanners output text as though it was typed
rather quickly – at least the ones ive seen for OS X that my old
place of employment used.

im not sure if ‘key’ will read it, but it should dump text to a text
box when the trigger is pulled.. although ive never tried hooking
one up to max.

btw, hiya ;)

v a d e //

Apr 26, 2006 at 12:01pm

hi marlon,

i did something like that some time ago using a metrologic scanner.
the easiest way is to get one with a usb connection, it then works
like a keyboard and you just use the ‘key’ object to get the data and
then transform the character codes to (list of) numbers.
take this sniplet of code, it generates a list of numbers for every
incoming barcode. (it assumes that the scanner sends a return
character after each barcode.)

hope that helps,

max v2;
#N vpatcher 192 60 592 360;
#P outlet 71 230 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 71 125 29 196617 – 48;
#P button 221 125 15 0;
#P newex 71 145 60 196617 zl group 13;
#P newex 71 106 165 196617 if $i1 == 13 then out2 $i1 else $i1;
#P newex 71 47 40 196617 key;
#P newex 71 82 224 196617 if $i1 >= 48 && $i1 < = 57 || $i1 == 13 then
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P connect 2 0 5 0;
#P connect 4 0 3 0;
#P connect 5 0 3 0;
#P connect 3 0 6 0;
#P connect 2 1 4 0;
#P pop;

Apr 26, 2006 at 1:03pm

Thank you so much for the patch and info!

Apr 26, 2006 at 1:04pm

I will start trying!
Thank you!

Nov 29, 2012 at 3:00am

Will have a try of the barcode reader

Jul 22, 2013 at 7:11pm

If yes,I’d like to recommend you another barcode reader.It supports many kinds of can have a try.

Jul 24, 2013 at 7:38pm

I used this barcode reader before. Share it with you. It supports many kinds of barcode types.

Sep 4, 2013 at 12:57am

nice to see you again,except that .net barcode reader,i also found the java barcode reader share with you in case that you need it one day

Oct 17, 2013 at 2:52am

hello, MARIAH, thank you for your sharing,

I checked the link you shared, it is all about java barcode reader, and I found this:

it is about VB.NET barcode generator, so,
can you give more info about .net barcode reader or generator?
thanks in advance.


You must be logged in to reply to this topic.