Personal tools
You are here: Home / OSCAR Users / EMR and Case Management Resources / Hardware Additions / SET UP for MAGTEK part 21040140 USB magnetic stripe keyboard/HID reader for reading of OHIP cards / SET UP for MAGTEK part 21040140 USB magnetic stripe keyboard/HID reader for reading of OHIP cards
 

SET UP for MAGTEK part 21040140 USB magnetic stripe keyboard/HID reader for reading of OHIP cards

setup directions

Plain Text icon Notes to SET UP for MAGTEK card reader.txt — Plain Text, 1 kB (1923 bytes)

File contents

Notes to  SET UP for MAGTEK  part  21040140  USB magnetic stripe keyboard/HID reader for reading of OHIP cards

Use WIndows DEMO program to send parameters to card reader found at:
http://www.magtek.com/support/software/demo_programs/usb_swipe_insert.asp

You can use this program in a Windows machine or use Boot Camp in your Intel iMac. I have not found a native Mac OSX program , although it may a trivial task to write one using the HID Manager API of OSX http://developer.apple.com/samplecode/Games/idxHumanInterfaceDeviceForceFeedback-date.html#doclist

also, the technical manual of this card reader is found at:
http://www.magtek.com/docs/99875191.pdf

OHIP (Ontario Health Number) cards contain two tracks.  Track 1 and Track 2.  Track 1 is the only useful track that contains the patient name, date of birth, sex, OHIP number, version code, issue date and expiry date.  Track 2 just contains the OHIP number.

Change the card reader to keyboard emulation mode, not USB HID mode
INTERFACE_TYPE PROPERTY

Bytes to send:
01 10 01

You must enable the card reader to read track 1 only.   This is important, since old red and white OHIP cards only contain Track 1 and Track 2, whereas newer green cards contain Tracks 1,2 and 3.  If you don't disable Tracks 2 and 3, you will have trouble reading older OHIP cards, resulting in read errors. This is done by modifying the  TRACK_ID_ENBLE PROPERTY

Bytes to send:
01 03 82

polling  interval  command -  default is 10 (0A hex)  -- change to higher number if reception of keystrokes is dropped .  T

BYTES to send:
  01 02 0A

then reset the card reader by unplugging it and re-plugging it or send it the reset command "02"

I believe all the USB Magtek card reader versions  (ie Keyboard version vs HID , number of tracks etc.)contain the same hardware  . Only the firmware parameters are changed (and can be easily modified)

Dr. Ian PUN

Document Actions

 

Download button

DOWNLOAD OSCAR FOR TESTING

 

eForms button

DOWNLOAD SHARED E-FORMS


 Customize button

FIND PLUG-INS AND TWEAKS
FOR YOUR OSCAR EMR

 

Subscribe Button

SUBSCRIBE TO DISCUSSION LIST 
(SEE ALL LISTS)

  

Help button

ACCESS THE ONLINE MANUALS
(PAID SUPPORT)