User Tools

Site Tools


thot:scanner:osx

This is an old revision of the document!


HowTo Setup Barcode Scanner

To use the Thot library with a barcode scanner, we need to configre the scanner as a serial device and then we need to start a bash script that is able to interpret the data from the scanner. In this HowTo we focus to the Metrologic Product MS9535 Voyager and the Os X Operating System. the connection use the bluetooth system, that is a default feature, both on the Metrologic Scanner and also on the Apple products.

Essentials to configure the scanner

  1. Print this file. It's a page with all the codes necessary to configure the scanner.

Pair the scanner

The first step to do is the pairing of the scanner with the computer host.

  1. Check that the scanner is completely charged
  2. Scan the first code on the page you printed before
  3. From the System Preferences open the Bluetooth panel
  4. Click the Set Up New Device button (in the low right of the windows), in the next window click on Continue.
  5. Select the Any Device button and click Continue
  6. The system will display all the devices it finds.
  7. Select the VoyagerBT voice and click on Continue
    1. The name complete of the device is VoyagerBT plus the serialnumber of the device
  8. If all is correct the computer will pair with the scanner and present the Congratulation message. Click on Quit.
  9. In case of error repeat the procedure from beginning.

Configure the scanner

In the default configuration, the scanner will add a CR (Carriage Return) code to all the barrcodes it scans and this generate a problem in the program that read the datum from the scanner. to resolve this, we need to change the default behaviour of the scanner.

  1. Pass the scanner over the 3rd barcode (the one labeled Disable CR Suffix that is printed on the configuration page printed before. The scanner will emit some beeps.

The program

  1. Download this zip file and explode it.
  2. Start the program, you will hear z 2 tone beeps from the scanner. This means that the scanner is online, ready.

The use of the program

  1. Try to scan your NBIS barcode (the code on the Camipro) or any other barcode. NOT the codes from the configuration page.
  2. The program will open Safari, pointing in the Thot Library Check Out Page. If you are in the database of thot you'll see all the books you have in use.

Thot User

  1. Configure a local account thot with no Admin privileges.
  2. Assign to this user the Autologin at startup.
  3. In the Parental control Activate the control of Safari Application.
  4. Login as thot
  5. Open the System Preferences panel and select the Dock subpanel
    1. Position the Dock on the right margin.
    2. Activate the flag Automatically Hide and show the Dock
  6. Open Safari and go to the Preferences panel (Safari→Preferences from the menu, or Command+,).
  7. In the General tab
    1. As home page insert: http://thot.epfl.ch
    2. At the bottom of the page, There's the label Open links from applications:. Select the in the current window flag.
  8. Close the preferences panel and Safari (not only the window, quit the application).
  9. copy the checkout command in the /Library/StartupItems
  10. copy the checkout script in the Desktop of the thot user.
  11. reboot the computer and check everithing.



thot/scanner/osx.1173356588.txt.gz · Last modified: 2007/03/08 12:23 by damir